Getting Data In

Is it possible to do a sequential double override of index and sourcetype coming from 1 source?

Log_wrangler
Builder

Previous related question:
What adverse results can occur if using an override index and override sourcetype at the same time?

I have been unable to get a double override to work. At this point just wanted to see if anyone else has done this or if its impossible.

Thank you

0 Karma
1 Solution

mdsnmss
SplunkTrust
SplunkTrust

How are you setting the sourcetype and index now? How is the data getting ingested (monitor, scripted, etc.)? Depending on how it is set there can be a precedence issue but it should be possible. This thread may help: https://answers.splunk.com/answers/6623/conditional-index-and-sourcetype-name-inputs-conf-by-file-na...

View solution in original post

0 Karma

mdsnmss
SplunkTrust
SplunkTrust

How are you setting the sourcetype and index now? How is the data getting ingested (monitor, scripted, etc.)? Depending on how it is set there can be a precedence issue but it should be possible. This thread may help: https://answers.splunk.com/answers/6623/conditional-index-and-sourcetype-name-inputs-conf-by-file-na...

0 Karma

mdsnmss
SplunkTrust
SplunkTrust

How are you setting the sourcetype and index now? How is the data getting ingested (monitor, scripted, etc.)? Depending on how it is set there can be a precedence issue but it should be possible. This thread may help: https://answers.splunk.com/answers/6623/conditional-index-and-sourcetype-name-inputs-conf-by-file-na...

0 Karma

Log_wrangler
Builder

Thank you for your reply. I believe the issue was due to an older version I was using. Please convert to answer and I will accept.

0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...