Hi,
What I need to do is create an alert for every new line in the bash_history file (no matter what the command is). Might sound weird but this is the way it has to work.
I tried some things with regex but couldn't get it to work.
The group config looks like this:
<localfile>
<location>~/.bash_history</location>
<log_format>syslog</log_format>
</localfile>
Wasn''t too sure what to use for the log_format so please let me know if there's a better option. Hopefuly someone can tell me how to create the alert/decoder.
Thanks!