Andrei Dan
223385f887
Introduce a _lifecycle/explain API for data stream backing indices ( #94621 )
...
This adds an {index}/_lifecycle/explain API to retrieve information
about an index's status within its lifecycle.
The response looks like so:
```
"indices" : {
".ds-metrics-foo-2023.03.22-000001" : {
"index" : ".ds-metrics-foo-2023.03.22-000001",
"managed_by_dlm" : true,
"index_creation_date_millis" : 1679475563571,
"time_since_index_creation" : "843ms",
"rollover_date_millis" : 1679475564293,
"time_since_rollover" : "121ms",
"lifecycle" : { },
"generation_time" : "121ms"
},
".ds-metrics-foo-2023.03.22-000002" : {
"index" : ".ds-metrics-foo-2023.03.22-000002",
"managed_by_dlm" : true,
"index_creation_date_millis" : 1679475564351,
"time_since_index_creation" : "63ms",
"lifecycle" : { }
}
}
}
```
2023-03-27 08:44:40 +01:00