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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...