DNS debug log file.

Doria 1,246 Reputation points
2020-08-19T15:59:40.577+00:00

Hi everyone!

Is there a way to standardize the DNS service log records? Date as 'MM/DD/YYYY' format and time as 24h format? This would make it much easier when inserting the records into a database.

18862-untitled.png

Thanks.

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anonymous
    2020-08-19T16:12:39.613+00:00

    Maybe you can export it to CSV prior to import.
    https://gallery.technet.microsoft.com/scriptcenter/Read-DNS-debug-log-and-532a8504

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Gloria Gu 3,966 Reputation points
    2020-08-20T07:33:54.277+00:00

    Hi,

    In regards to your issue, here're my suggestions:

    Converting the log file into CSV format would make it much easier to analyze. You can refer to the following link to use Powershell script to transform. Or you can download an application to transform a log file into CSV.
    https://gallery.technet.microsoft.com/scriptcenter/Get-DNSDebugLog-Easy-ef048bdf

    -------If my answer is helpful to you, please remember to mark them as answer. Thank you!------

    Regards
    Gloria

    0 comments No comments

  2. Doria 1,246 Reputation points
    2020-08-20T14:25:01.483+00:00

    Thanks all!

    I will try this.

    Regards.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.