I deleted a bunch of files in the /var/lib/elasticsearch/graylog/nodes/0/indices directory to free up space on the /var/ partition because it was 100%. Not the best idea I know but now the graylog frontend says my elasticsearch cluster is unhealthy. I tried to run the rebuild command but I don’t think it worked. Here’s what it said in the log files.
2017-06-16T19:43:16.983-04:00 ERROR [AbstractRotationStrategy] Cannot perform rotation at this moment.
2017-06-16T19:43:26.983-04:00 ERROR [MessageCountRotationStrategy] Unknown index, cannot perform rotation
org.graylog2.indexer.IndexNotFoundException: Couldn’t find index graylog_7
Is there a way to purge this elasticsearch component and start over with a fresh slate without installing on a new machine? I let the server inputs send log files without filtering them.