Marcelo,
Thanks for the reply. I followed that specific post before posting myself. Yes, I can see the ESX logs are successfully making it into the alerts.json file but still nothing in the dashboard or security events.
[wazuh-user@wazuh-server ~]$ sudo grep '<REDACTED> ' /var/ossec/logs/archives/archives.json
{"timestamp":"2023-05-11T13:36:11.504+0000","agent":{"id":"000","name":"wazuh-server"},"manager":{"name":"wazuh-server"},"id":"1683812171.287664022","full_log":"May 11 09:36:10 <REDACTED> vpxd[3732] Event [6736048] [1-1] [2023-05-11T13:36:10.500955Z] [vim.event.EventEx] [info] [] [ICI-Datacenter] [6736047] [Hot migrating <REDACTED> from <REDACTED> , NBLVOLB in ICI-Datacenter to <REDACTED>, NBLVOLB in ICI-Datacenter with encryption]","predecoder":{"program_name":"vpxd","timestamp":"May 11 09:36:10","hostname":"<REDACTED> "},"decoder":{},"location":"/var/log/messages"}
{"timestamp":"2023-05-11T13:36:11.504+0000","agent":{"id":"000","name":"wazuh-server"},"manager":{"name":"wazuh-server"},"id":"1683812171.287664022","full_log":"May 11 09:36:11 <REDACTED> vpxd[3732] Event [6736049] [1-1] [2023-05-11T13:36:11.079607Z] [vim.event.VmEmigratingEvent] [info] [] [ICI-Datacenter] [6736047] [Migrating <REDACTED> off host <REDACTED> in ICI-Datacenter]","predecoder":{"program_name":"vpxd","timestamp":"May 11 09:36:11","hostname":"<REDACTED> "},"decoder":{},"location":"/var/log/messages"}
{"timestamp":"2023-05-11T13:37:27.597+0000","agent":{"id":"000","name":"wazuh-server"},"manager":{"name":"wazuh-server"},"id":"1683812247.314484853","full_log":"May 11 09:37:25 <REDACTED> vpxd[3732] Event [6736060] [1-1] [2023-05-11T13:37:25.966797Z] [vim.event.DrsVmMigratedEvent] [info] [] [ICI-Datacenter] [6736047] [DRS migrated <REDACTED> from <REDACTED> to <REDACTED> in cluster ICI-Cluster in ICI-Datacenter]","predecoder":{"program_name":"vpxd","timestamp":"May 11 09:37:25","hostname":"<REDACTED> "},"decoder":{},"location":"/var/log/messages"}
One thing I noticed is that it shows a predecoder but the entry for decoder is blank. I also am not seeing any rule parsing for these events like I do for sudo events:
{"timestamp":"2023-05-11T13:53:45.004+0000","rule":{"level":3,"description":"Successful sudo to ROOT executed.","id":"5402","mitre":{"id":["T1548.003"],"tactic":["Privilege Escalation","Defense Evasion"],"technique":["Sudo and Sudo Caching"]},"firedtimes":3,"mail":false,"groups":["syslog","sudo"],"pci_dss":["10.2.5","10.2.2"],"gpg13":["7.6","7.8","7.13"],"gdpr":["IV_32.2"],"hipaa":["164.312.b"],"nist_800_53":["AU.14","AC.7","AC.6"],"tsc":["CC6.8","CC7.2","CC7.3"]},"agent":{"id":"000","name":"wazuh-server"},"manager":{"name":"wazuh-server"},"id":"1683813225.403469439","full_log":"May 11 13:53:43 wazuh-server sudo: wazuh-user : TTY=pts/0 ; PWD=/home/wazuh-user ; USER=root ; COMMAND=/bin/grep 172.16.1.170 /var/ossec/logs/archives/archives.json","predecoder":{"program_name":"sudo","timestamp":"May 11 13:53:43","hostname":"wazuh-server"},"decoder":{"parent":"sudo","name":"sudo","ftscomment":"First time user executed the sudo command"},"data":{"srcuser":"wazuh-user","dstuser":"root","tty":"pts/0","pwd":"/home/wazuh-user","command":"/bin/grep 172.16.1.170 /var/ossec/logs/archives/archives.json"},"location":"/var/log/secure"}