So you have only one index now?
Instead of using daily indices? That's it?
If you want to remove ALL logs, run
DELETE logstash
It will remove the entire index.
If you want to delete data within this index, you probably have to use delete by query API.
But if you end up removing a lot of data, like 50% of the data, it could be better to reindex the old data in a new index instead then drop the old index as I mentioned above.
hello David,
thanks a lot for your kind reply
first how to reindex old data?
or how to configure my ELK to maintain daily indices as before?
best regards,
hi dadoonet
please, i may delete the current big log file, no problem
but in future, how can i rotate this indices as before (every day)?
and what do you mean of "elasticsearch output default configuration"? how can i find such settings?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.