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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...