简体   繁体   English

Kibana - 获取所有指数的列表

[英]Kibana - Get a list of all indices

I have ElasticSearch installed on a server and Kibana 3.0 installed on another machine. 我在服务器上安装了ElasticSearch,在另一台机器上安装了Kibana 3.0。 Is there any way to get a list of all the indices on the ElasticSearch server to show up on Kibana? 有没有办法获得ElasticSearch服务器上的所有索引列表以显示在Kibana上? Just like how ElasticSearch-Head displays it. 就像ElasticSearch-Head如何显示它一样。 Maybe in a new dashboard on Kibana that shows all the indices? 也许在Kibana的新仪表板上显示所有指数?

你可以得到所有指数的清单

curl 'localhost:9200/_cat/indices?v'

If you set your Kibana dashboard configuration to _all in index settings (the default for the sample dashboard at #/dashboard/file/guided.json), all indices will be queried. 如果在索引设置中将Kibana仪表板配置设置为_all(#/ dashboard / file / guided.json中示例仪表板的默认设置),则将查询所有索引。

From there, you can add a terms panel for the _index field. 从那里,您可以为_index字段添加术语面板。 That will list the top indices in terms of number of documents that they contain. 这将列出它们包含的文档数量的顶级索引。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM