I have encountered a problem that I am unable to resolve on my own.
Based on the log entry below, it appears that my decoder is not functioning as expected:
09:58:07.360 INFO c.i.s.l.ActivityLogEventListener - SYNG_SYSLOG:10.10.17.123:LOGIN:SUPER22
The log indicates a successful login by the user "SUPER22". However, my decoder fails to properly parse and interpret this log entry, preventing me from effectively monitoring and responding to such events.
To address this issue, I have created a decoder named "c.i.s.l.ActivityLogEventListener" with the following code:
<decoder name="c.i.s.l.ActivityLogEventListener">
<program_name>c.i.s.l.ActivityLogEventListener</program_name>
<regex>SYNG_SYSLOG:(\d+.\d+.\d+.\d+):LOGIN:(\w+)</regex>
<order>srcip, user</order>
</decoder>
Despite implementing this decoder, it is not functioning as intended. I have verified that the log entry matches the specified regular expression pattern, but the decoder fails to capture the necessary information, such as the source IP address and the username.
I am seeking your guidance on troubleshooting this decoder code. Could you please review the provided code and let me know if there are any issues or improvements that need to be made? I am eager to understand the problem and find a solution.