Getting Data In

Multiple Source types from one host

godzilla74
New Member

Hi All,

New to Splunk> and trying to wrap my head around things... I have a host (it's a Linux Firewall/IDS) that is transmitting all syslog data to my Splunk server. I'm really only concerned about the iptables drops and snort alerts.

I've entered the following in inputs.conf:

[udp://192.168.1.1:514]
sourcetype = snort

[udp://192.168.2.1:514]
sourcetype = snort

*not sure if this is correct...

In my reading of the Splunk docs, it seems that I now need to do something with props.conf so that I can parse the incoming syslog data for snort and iptables logs.

Am I right or totally off? Any help would be great!

Thanks!
Justin

0 Karma

lukejadamec
Super Champion

If your logs are getting indexed and the fields are properly parsed with that config then you have done good so far.

If you want to now drop all but the iptables, drops, and alerts, then you will need to configure props.conf and transforms.conf to save only those events you want to keep. If you decide to drop data at index time then understand that the data will be lost, and will need to be reindexed if you find you need it in Splunk assuming it is also getting stored elsewhere.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...