Help Center> Cloud Search Service> FAQ> Resource Usage and Change> How Do I Clear Expired Data to Release Storage Space?

How Do I Clear Expired Data to Release Storage Space?

  • Run the following command to delete a single index data record.

    curl -XDELETE http://IP:9200/Index name

  • Run the following command to delete all Logstash data of a day. For example, delete all data on June 19, 2017:

    curl -XDELETE 'http://IP:9200/logstash-2017.06.19*'