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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...