5
Elasticsearch 5.2を使用しており、http://localhost:9200/_cat/indices?v
でindex creation time
を表示できません。Elasticsearchで_cat/indices APIを使用してインデックス作成時間を表示する方法
インデックスごとにどのようなオプションがindex creation time
と表示されるのだろうか。
Elasticsearch 5.2を使用しており、http://localhost:9200/_cat/indices?v
でindex creation time
を表示できません。Elasticsearchで_cat/indices APIを使用してインデックス作成時間を表示する方法
インデックスごとにどのようなオプションがindex creation time
と表示されるのだろうか。
はcat APIを見てください:あなたは、インデックスの作成日を取得するにはhttp://localhost:9200/_cat/indices?help
経由で使用可能なパラメータのリストを取得することができ、あなたはcreation.date
(またはcreation.date.string
)を使用します。たとえば、使用する
http://localhost:9200/_cat/indices?h=h,s,i,id,p,r,dc,dd,ss,creation.date.string
ありがとう!それは動作します。 – dapangmao
インデックスを作成日によってソートするにはどうすればよいですか? –
@VedranMaricevic ES5の場合、 'http:// localhost:9200/_cat/indices?h = h、s、i、id、p、r、dc、dd、ss、 creation.date.string&s = creation.date' – nikoshr