Hi again Atlas,
Everything looks fine so far, if you check the log with our wazuh-logtest tool, you will realize that such a log is not currently supported by the default ruleset, as you can see here:
# /var/ossec/bin/wazuh-logtest Starting wazuh-logtest v4.3.10 Type one log per line Mar 6 21:53:45 LTA-SW2-PI-1 USER_MGR[tRpcsrv.00001]: user_mgr_util.c(1655) 440 %% HTTP Session 19 ended for user admin connected from 10.1.1.10 **Phase 1: Completed pre-decoding. full event: ' Mar 6 21:53:45 LTA-SW2-PI-1 USER_MGR[tRpcsrv.00001]: user_mgr_util.c(1655) 440 %% HTTP Session 19 ended for user admin connected from 10.1.1.10' **Phase 2: Completed decoding. No decoder matched.In order for it to be displayed on the dashboard, by default, it should rise an alert equal to or higher than “3”. This value is set on the label log_alert_level of the ossec.conf file (located in /var/ossec/etc/). To generate your own rules and decoder I strongly suggest you read the following links:
I hope that my answer helps you,
Mariano Koremblum
Hi Atlas,
It won’t work, as you can see, when you use the real log, the program_name is not obtained, so you can not use that parameter to create a decoder.
Is this program name always the same? Does the log have always the same format?
Mariano Koremblum