Delete elasticsearch data


Is there a way to delete or maintain Elasticsearch data using API to make sure disk space should not go out?

My scenario: using spring boot with Camunda 8 services.
I just wanted to calculate disk usage by Elasticsearch


Hi @Darpan_Shirsat,

Check out our documentation on data retention:

Dated indices can be deleted safely.