pC_jsonwindowsdnsquery.md
June 14, 2023 ยท View on GitHub
Parser Content
{
Name = json-windows-dns-query
Vendor = Microsoft
Product = Windows
Lms = Direct
DataType = "dns-query"
IsHVF = true
TimeFormat = "MM/dd/yyyy HH:mm:ss a"
Conditions = [ """@timestamp":""", """"log_type":"win_dns"""" ]
Fields = [
"""hostname":"({host}[^"]{1,2000})""",
"""message":"({time}\d{1,100}\/\d{1,100}\/\d\d\d\d \d{1,100}:\d{1,100}:\d{1,100} (am|AM|pm|PM)) ({thread_id}\S+)\s{1,100}(\S+\s{1,100}){2}({protocol}\S+)\s{1,100}({activity}\S+)\s{1,100}(::1|({src_ip}\S+))\s{1,100}({query_id}\S+)\s{1,100}\S+ \[\S+\s{1,100}(|({query_flags}.+?))\s{1,100}({dns_response_code}\S+)\]\s{1,100}({query_type}\S+)\s{1,100}({query}[^,]{1,2000})(\\n)?""""
]
}