Getting Data In

Splunk for Windows and OSSEC

ceichhorn
Engager

Okay, so here is my situation: I am running a Splunk for Window Enterprise Server along with a separate OSSEC server built on the OpenSUSE distribution. I am trying to send alerts and errors from OSSEC HIDS to my Windows Splunk instance. Inside OSSEC, I have syslog_output enabled and set to the correct IP with the splunk chosen. The two servers can see each other (at least, via ping). What else is necessary to get these alerts sent to splunk? Thanks in advance for any help.

Tags (4)
0 Karma
1 Solution

treinke
Builder

Make sure on Splunk that in the Data Inputs, you setup Splunk to receive the Syslog from OSSEC. Typically this would be in UDP section of Data Inputs and adding port 514. Also on your Windows machine you also allow UDP:514 through the firewall if you have it on.

There are no answer without questions

View solution in original post

treinke
Builder

Make sure on Splunk that in the Data Inputs, you setup Splunk to receive the Syslog from OSSEC. Typically this would be in UDP section of Data Inputs and adding port 514. Also on your Windows machine you also allow UDP:514 through the firewall if you have it on.

There are no answer without questions

ceichhorn
Engager

Thanks very much Anthony Reinke, this resolved my problem. Logs are now recognized from OSSEC.

0 Karma

treinke
Builder

It has been a while since I used OSSEC but I remember that the OSSEC server pushed the data to Splunk.

Here is an article that was stuck in my notes bookmark on setting up OSSEC and Splunk. A few years old but might put you the right direction.

http://www.ossec.net/?p=402

There are no answer without questions
0 Karma

ceichhorn
Engager

Thanks Anthony. Yes, I have 514 open and ready, and other hosts/agents are passing logs through it already. I have tried to add OSSEC as a data input, but (not surprisingly) Splunk is unable to pull the wmi configuration as OSSEC is a Linux box.

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...