Delete old indices in a rollover index setup

How do I delete old indices in a rollover index setup? I was looking into this blog post https://www.elastic.co/blog/managing-time-based-indices-efficiently#_deleting_old_indices but field stats API is now deprecated, what is the alternate way to achieve it?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.