Search code examples
elasticsearchkibana

How to delete document in kibana by days or data


I am using AWS Elastic search. Right now my kibana has 0 free space. I want to delete documents that are older than 30days.

Is there any setting for that or query which can clear documents which is older than 30 days.


Solution

  • You could simple use the delete by query to delete the documents which are older than 30 days :)