1

When OSSEC is installed and started, it starts analyzing configured logs starting the date it was installed. Is there a way to have it scan and analyze the full logs?

2

I'm not certain it will automatically, as its core purpose is real-time alerting and active response.

In saying that, you can run manual log analysis on any log file. The instructions at http://ossec-docs.readthedocs.org/en/latest/programs/ossec-logtest.html give guidance on configuring log analysis. You just need to provide the name of the file to be monitored. For example:

# cat /var/log/access.log | /var/ossec/bin/ossec-logtest -a

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.