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...

View solution in original post

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
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.