Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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 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
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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