How to show index creation time with _cat/indices API in Elasticsearch
I am using Elasticsearch 5.2, and cannot see index creation time
with http://localhost:9200/_cat/indices?v
.
Just wonder what options will show index creation time
for each of the indices.
Have a look at the cat API : you can get the list of available parameters via http://localhost:9200/_cat/indices?help
To get the creation date of your indexes, you would use creation.date
(or creation.date.string
). For example, use
http://localhost:9200/_cat/indices?h=h,s,i,id,p,r,dc,dd,ss,creation.date.string
For full header names:
http://localhost:9200/_cat/indices?h=health,status,index,id,pri,rep,docs.count,docs.deleted,store.size,creation.date.string&v=