forked from laiweijian4/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com> Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
2.4 KiB
2.4 KiB
How Do I Clear Expired Data to Release Storage Space?
- Run the following command to delete a single index data record.
- Run the following command to delete all Logstash data of a day. For example, delete all data on June 19, 2017:
For a cluster in non-security mode: curl -XDELETE 'http://IP:9200/logstash-2017.06.19*'
For a cluster in security mode: curl -XDELETE -u username:password 'https://IP:9200/logstash-2017.06.19' -k
Parent topic: Resource Usage and Change