I reviewed the custom decoders and rules you created for the sample logs. In your match condition, the segment “SSH user (.+) (.+) of (.+)” does not match the actual logs, as the logs do not contain the word “of”.
Your sample used for building the decoder was: SSH user manager (IP: 10.x.x.x) connected to the server successfully.
Based on this, I recreated the decoder in a more organized and readable way. It correctly captures values from all three logs you shared. I also used the | operator to match multiple possible patterns.
You can safely replace your existing decoder with these updated ones.
Custom decoder creation path: /var/ossec/etc/decoders/I have also updated the custom rules to produce the expected output. You can replace your existing rules with these improved versions.
Custom rule creation path: /var/ossec/etc/rules--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/f9c4c2f1-5192-4299-968e-0185bdf13d7en%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/cf18c595-f958-4a2f-80b9-e4538f0279b0n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/8520aa6f-f86b-492e-b1a0-916c687071b8n%40googlegroups.com.