How to delete elasticsearch data which is older than 90 days from a static Index

You can use the delete by query API (which is provided via a plugin as of ES 2.0), but you really really shouldn't. For time-series data the best option is to use time-series indexes.

2 Likes