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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...