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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...