Getting Data In

Where do I run the Splunk CLI command "remove index"?

katzr
Path Finder

Hello,

I am trying to remove an index entirely, and I have found Splunk documentation that says...

"To remove an index entirely (and not just the data contained in it), use the CLI command remove index"

What location/directory should I be running this CLI command? I am using an on-prem Enterprise license. I think I should be running it here:

\Splunk\bin

My etc, lib, var folders are also located under the \Splunk directory for context of what that folder is for me. Is that the right location to run the remove index command?

Thanks in advance for the help!

0 Karma
1 Solution

Vijeta
Influencer

Yes it will be in splunk\bin location, any executable command is run from bin directory.
Also this may be helpful https://docs.splunk.com/Documentation/Splunk/7.2.3/Indexer/RemovedatafromSplunk

View solution in original post

0 Karma

Vijeta
Influencer

Yes it will be in splunk\bin location, any executable command is run from bin directory.
Also this may be helpful https://docs.splunk.com/Documentation/Splunk/7.2.3/Indexer/RemovedatafromSplunk

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