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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...