Hello Splunkers,
I really need your help!
I have a large amount data within one index.
For remove the data, it should
1 Remove the data of this index with command
splunk clean eventdata -index xxx
2 Remove index
splunk remove -index xxx
However, I forgot the first step and do the second step directly.
Now when I run the first command, it show the message"index does not exist"
However, the data still in Splunk.
How could I remove the data after I have removed the index?
Could you please help me with that?
Thank you
You must clean index with the service stopped.
Did you remove de index from "indexes.conf" or deleted the directory on the server?
If you deleted it on the server, Your data is already gone
I remove with the CLI command "splunk remove index "
You'll find the index data in this location inside the folder where Splunk is installed:
/SplunkFolder/var/lib/splunk
Inside you'll find a folder for each index. Delete the one you want and you're done.