Getting Data In

Pipe delineated sourcetype Stanza

michael_kushma
Path Finder

I want to know if its possible in props.conf to create one stanza for multiple sourcetypes that doesn't use regex.

I want all of my linux logs to check the hostname vs a lookup table that has a plethora of data in it. I need it to check multiple sourcetypes and I don't want to have to copy and paste the stanza over and over.

It seems like it should be simple:

[sourcetype1|sourcetype2|sourcetype3]
LOOKUP-test = lookup_test host OUTPUT ip
0 Karma

woodcock
Esteemed Legend

You can use wildcards like this:

[(?:::){0}sourctype*]
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...