Deployment Architecture

Is it possible to disable the main index?

ronak1308
New Member

When I try to disable main index in Splunk Enterprise it gives me the following error:

In handler 'indexes': cannot disable idx=main, is internal
0 Karma
1 Solution

woodcock
Esteemed Legend

Just remove main from Indexes searched by default and Available search indexes from the User role.

View solution in original post

0 Karma

inventsekar
SplunkTrust
SplunkTrust

For the learning purposes, may we know why you would like disable the main index, please.

0 Karma

ronak1308
New Member

I want to disable main index because my one application's data is being indexed in main index and other application's data in other index, so in order to test that we are getting same fields from both the applications I need to disable the indexes of one application and test the other. And moreover I can't delete any of the applications which would be the most easiest way to test.

0 Karma

woodcock
Esteemed Legend

just specify index=other to avoid pulling in the Indexes searched by default setting (which contains Index=main).

0 Karma

woodcock
Esteemed Legend

Just remove main from Indexes searched by default and Available search indexes from the User role.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...