I've got an IDS which creates log files inside a directory. These logs all start the same ie, IDS_log_XXXXX.
I have a perl script setup which would email me when these logs would contain certain flags.
However, I need a way to append the entire content of all the IDS_log_XXXXX logs as soon as they are created, to a specific file. Lets call that file ScriptScanning.txt.
Is there a way you guys can think of, which would do the following?
I might have to make it a script that would continuously run to do the above.
So to quickly recap:
IDS creates logs files inside a directory, I need the content of those log files to be appended to a specific file (ScriptScanning.txt), my script runs against that file, it sends me emails.
EDIT: I cant configure the IDS alerts to be registered in a single log file