How to show index creation time using _cat / index API in Elasticsearch

I am using Elasticsearch 5.2 and cannot see index creation timewith http://localhost:9200/_cat/indices?v.

Just wonder what parameters will show index creation timefor each of the indices.

+6
source share
1 answer

Check out the cat API : you can get a list of available options withhttp://localhost:9200/_cat/indices?help

To get the creation date of your indexes, you must 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
+8
source

Source: https://habr.com/ru/post/1015445/


All Articles