Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

OSSECalertsToELSA

doug edited this page Aug 27, 2019 · 3 revisions

Please note! This wiki is no longer maintained. Our documentation has moved to https://securityonion.net/docs/. Please update your bookmarks. You can find the latest version of this page at: https://securityonion.net/docs/OSSECalertsToELSA.

Previously, when a user ran Setup and enabled ELSA, they would be able to log into ELSA and view OSSEC archive logs (the raw logs received by OSSEC) but they wouldn't be able to view OSSEC alerts (created based on OSSEC's analysis of the incoming logs as configured by the OSSEC ruleset). I've pushed a new Setup package that will configure OSSEC to send alerts to local syslog if the user enables ELSA.

If you've already run Setup and would like to configure OSSEC to send alerts to ELSA, you can manually run the following commands:

sudo sed -i 's|  <rules>|  <syslog_output>\
      <server>127.0.0.1</server>\
  </syslog_output>\
\
  <rules>|g' /var/ossec/etc/ossec.conf

sudo /var/ossec/bin/ossec-control enable client-syslog

sudo service ossec-hids-server restart
Clone this wiki locally