Getting Data In

What does splunk do with overlapping index definitions?

msarro
Builder

Greetings. Suppose I create an indexes.conf file to be distributed to all of my indexers which contains a HOT and COLD volume definition. Then I distribute several apps to the indexer, which each contain their own indexes.conf file defining additional indexes, and referring to the HOT and COLD volumes.

What happens if two of those applications contain the same indexes.conf index stanza? For instance, if indexes.conf A contains [MyIndex], and then indexes.conf B also contains [MyIndex]. Will splunk just take the first definition (not an issue here, they're both defined the same), or will it cause an error on the indexer??

Tags (1)
0 Karma

linu1988
Champion

It overlooks the existing definition if the index is defined in system folder. If the indexes.conf is defined in the app folders, it depends on the precedence of the app[http://docs.splunk.com/Documentation/Splunk/latest/admin/Wheretofindtheconfigurationfiles -> How app directory names affect precedence ]. I have tested myself, splunk works fine. It only creates a new folders with same index names. But i am not sure about the old data if it's searchable or not.

there is a good explanation of it, slightly related to the question

http://splunk-base.splunk.com/answers/50881/indexesconf-location

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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