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!

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