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