Splunk: How to check data retention for an index?

Splunk: How to check data retention for an index?

This query will help: