Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个 kibana 下拉过滤器插件,我想获取客户端特定索引中所有字段的列表,以便在下拉菜单中列出它们。如何得到它们?
谢谢。
选项1:您需要将下一个查询发送到elasticsearch:
GET /.kibana/index-pattern/_search
在那里你会找到所有索引模式的定义
选项2:您需要将下一个查询发送到elasticsearch:
GET /myIndex/_mapping