Getting Data In

Why am I unable to delete an index via CLI with error "bundle=indexes stanza=aaa Missing, cannot edit or remove"?

abhayneilam
Contributor

Hi,

I am unable to delete an index from the CLI. When I am giving the following command :

./splunk remove index AAA   

( AAA is my index name )

Then I am getting the following message:

 In handler 'indexes': bundle=indexes stanza=aaa Missing, cannot edit or remove

Could you please let me know what is the exact problem and how do I delete it?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You can manually remove an index by removing or commenting out its definition in indexes.conf and restarting Splunk. After that, you can delete the directories listed in the removed stanza, by default $SPLUNK_DB/index_name to clear up space.

woodcock
Esteemed Legend
0 Karma

abhayneilam
Contributor

Thanks for the quick response !! But , I have deleted other index with the same command but not AAA index. For AAA index, i am getting an error, even If I try deleting from GUI, I am getting the same error !!

I am using Splunk 6.3.2

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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