We are syslogging VCenter logs and ESXi logs into wauh, but the decoders arent seeing it as vmware...it sees Hostd or Rhttpproxy.
Occasionay it will detect a message as vmkernel...but otherwise a message like this just comes up as Hostd and doesnt parse past decoder phase.
{"timestamp":"2022-10-27T21:15:48.649+0000","agent":{"id":"000","name":"sd-wazuh"},"manager":{"name":"sd-wazuh"},"id":"1666905348.1896384294","full_log":"2022-10-27T21:15:48.652Z
SD-VMHOST02.fake.name Hostd: warning hostd[2100984] [Originator@6876 sub=Default opID=esxui-afae-eab2] Rejected password for user admini...@vsphere.local from 10.252.1.2","predecoder":{"program_name":"Hostd","timestamp":"2022-10-27T21:15:48.652Z SD-VMH"},"decoder":{},"location":" [01;31m [K10.0.0.237 [m [K"}
Rule test shows:
**Phase 1: Completed pre-decoding.
full event: '{"timestamp":"2022-10-27T21:15:48.649+0000","agent":{"id":"000","name":"sd-wazuh"},"manager":{"name":"sd-wazuh"},"id":"1666905348.1896384294","full_log":"2022-10-27T21:15:48.652Z
SD-VMHOST02.fake.name Hostd: warning hostd[2100984] [Originator@6876 sub=Default opID=esxui-afae-eab2] Rejected password for user admini...@vsphere.local from 10.252.1.2","predecoder":{"program_name":"Hostd","timestamp":"2022-10-27T21:15:48.652Z SD-VMH"},"decoder":{},"location":"[01;31m[K10.0.0.237[m[K"}'
**Phase 2: Completed decoding.
name: 'json'
agent.id: '000'
agent.name: 'sd-wazuh'
full_log: '2022-10-27T21:15:48.652Z
SD-VMHOST02.fake.name Hostd: warning hostd[2100984] [Originator@6876 sub=Default opID=esxui-afae-eab2] Rejected password for user admini...@vsphere.local from 10.252.1.2'
id: '1666905348.1896384294'
location: '[01;31m[K10.0.0.237[m[K'
manager.name: 'sd-wazuh'
predecoder.program_name: 'Hostd'
predecoder.timestamp: '2022-10-27T21:15:48.652Z SD-VMH'
timestamp: '2022-10-27T21:15:48.649+0000'