I have implemented ILM(index lifecycle management) with roller over from Hot to warm and move to cold after period of time.
I have indexed few thousand of document into index. Rollover is also happing with max age in policy.
Question: I wanted to log or check the log for the IndexLifecycleTransition with time taken to complete the transition from Phases.
I could only see below log in elastic-cluster-primary.log mentioning only 'from' 'to' details without any details on time it took to perform the Transition.
[2023-01-31T14:22:27,724][INFO ][o.e.x.i.IndexLifecycleTransition] moving index [index-2023.01.30-000020] from [{"phase":"warm","action":"complete","name":"complete"}] to [{"phase":"cold","action":"migrate","name":"migrate"}] in policy [index-policy-2]
[2023-01-31T14:22:28,507][INFO ][o.e.x.i.IndexLifecycleTransition] moving index [index-2023.01.30-000020] from [{"phase":"cold","action":"migrate","name":"migrate"}] to [{"phase":"cold","action":"migrate","name":"check-migration"}] in policy [index-policy-2]
[2023-01-31T14:22:31,777][INFO ][o.e.x.i.IndexLifecycleTransition] moving index [index-2023.01.30-000020] from [{"phase":"cold","action":"migrate","name":"check-migration"}] to [{"phase":"cold","action":"complete","name":"complete"}] in policy [index-policy-2]