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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...