Hello,
We're trying to use the new microsoft.yml module in Filebeat 7.9.0 to ingest and parse Windows DHCP logs. The configuration seems pretty straightfoward, we just pointed it to the default C:\Windows\System32\dhcp\Dhcp*.log path and it's successfully picking up and ingesting logs to Elasticsearch using the filebeat-7.9.0-microsoft-dhcp-pipeline pipeline.
The problem is that we're not seeing the actual log message (event.original field) being parsed and the log.flags field says "dissect_parsing_error". There isn't much in the elasticsearch pipeline other than GeoIP and AS Number lookups, so the parsing is probably being done on the filebeat microsoft module itself. Does this module in fact support Windows DHCP log files? Are we doing something wrong here?
Here's a redacted sample document.
{
"_index" : "filebeat-****",
"_type" : "_doc",
"_id" : "X8E7rnUBMjJeomsYIKY4",
"_version" : 1,
"_seq_no" : 11126638,
"_primary_term" : 1,
"found" : true,
"_source" : {
"agent" : {
"hostname" : "****",
"name" : "****",
"id" : "c709e499-2a95-42e4-abf2-6ce37248dc81",
"type" : "filebeat",
"ephemeral_id" : "fce124aa-9f0d-4be6-8809-edb2c7661c13",
"version" : "7.9.0"
},
"log" : {
"file" : {
"path" : """C:\Windows\system32\dhcp\DhcpSrvLog-Mon.log"""
},
"offset" : 456993,
"flags" : [
"dissect_parsing_error"
]
},
"fileset" : {
"name" : "dhcp"
},
"tags" : [
"microsoft.dhcp",
"forwarded",
"beats_input_raw_event"
],
"input" : {
"type" : "log"
},
"observer" : {
"product" : "DHCP",
"vendor" : "Microsoft",
"type" : "Application"
},
"@timestamp" : "2020-11-09T18:18:30.788Z",
"ecs" : {
"version" : "1.5.0"
},
"service" : {
"type" : "microsoft"
},
"organization" : {
"name" : "****",
"id" : "****"
},
"host" : {
"hostname" : "****",
"os" : {
"name" : "Windows Server 2012 Standard"
},
"ip" : [
"10.3.1.2",
"fe80::5efe:a03:102"
],
"mac" : [
"00:0c:29:c1:37:5a",
"00:00:00:00:00:00:00:e0"
]
},
"@version" : "1",
"event" : {
"original" : "11,11/09/20,13:18:29,Renew,172.16.1.90,****.****.corp,00073BB23E92,,317371525,0,,,,0x6363702E61766179612E636F6D,ccp.avaya.com,,,",
"module" : "microsoft",
"dataset" : "microsoft.dhcp"
}
}
}
Thanks,
Kam