Closed as not planned
Description
This is a spinoff of #43663,
With SLM retention we will allow retention for snapshots based on the snapshot's date, but it would be nice if we could also allow retention of snapshots based on the dates from the documents indices of the indices. This would allow a user to say something like "delete snapshots that have data with the @timestamp
field older than 30 days".