简体   繁体   English

如何在没有kibana的情况下为Elasticsearch运行感知插件?

[英]How to run sense plugin for elasticsearch without kibana?

Actually we have production elasticsearch server for which we dont have sense plugin installed for kibana. 实际上,我们有生产Elasticsearch服务器,但没有为kibana安装感知插件。

So usually I statup local elastcsearch server and local kibana. 因此,通常我会配置本地elastcsearch服务器和本地kibana。 Then with local sense plugin I will query production server. 然后使用本地感插件,我将查询生产服务器。 I know this is not the correct way. 我知道这不是正确的方法。

Is there any easy way to query production server without disturbing it using sense plugin of Marvel ? 有什么简单的方法可以使用Marvel的Sense插件查询生产服务器而不会打扰它?

Sense plug in is available only as a Chrome extension, or with kibana. Sense插件仅作为Chrome扩展程序或kibana可用。 You can only find the Beta version of sense on Chrome now. 您现在只能在Chrome上找到Sense的Beta版。 If you want alternative ways to query, you can try these: 如果您想使用其他查询方式,可以尝试以下方法:

  • elasticsearch-head: elasticsearch-head is one of the oldest plugins out there. elasticsearch-head: elasticsearch-head是最古老的插件之一。 You can access the main cluster at http://localhost:9200/_plugin/head/ which has the cluster overview. 您可以通过http://localhost:9200/_plugin/head/访问主群集,该群集具有群集概述。

  • elasticsearch-kopf: elasticsearch-kopf is similar to elasticsearch-head and also allows you to send arbitrary requests to elasticsearch. elasticsearch-kopf:elasticsearch -kopfelasticsearch -head相似,它还允许您向Elasticsearch发送任意请求。 It also contains a request history, highlighting and formatting of requested document, but it does not have the auto completion feature. 它还包含请求历史记录,突出显示和格式化请求的文档,但是没有自动完成功能。

  • Inquisitor: Inquisitor is a tool to help you understand Elasticsearch queries. Inquisitor: Inquisitor是可以帮助您了解Elasticsearch查询的工具。 Besides other options it allows you to execute search queries. 除其他选项外,它还允许您执行搜索查询。

  • Elastic-Hammer: Elastic-Hammer can either be set up locally or alternatively, you can use the online version. Elastic-Hammer: Elastic-Hammer可以在本地设置,也可以使用在线版本。 Index and type can be chosen from the ones available in the cluster. 可以从集群中可用的索引和类型中选择索引和类型。 There is no formatting in the query field, you can't even use tabs for indentation, but errors in your query are displayed in the panel on top of the results while typing. 查询字段中没有格式设置,您甚至不能使用制表符进行缩进,但是在键入时,查询中的错误会显示在结果顶部的面板中。 The response is displayed in a table, matching fields are automatically highlighted. 响应显示在表格中,匹配字段自动突出显示。 Because of the limited possibilities when entering text the plugin seems to be more useful when it comes to the analyzing part or for pasting existing queries. 由于输入文本的可能性有限,因此在涉及分析部分或粘贴现有查询时,该插件似乎更为有用。 It is a quite useful query tool that will display syntactic errors in your query and format images and links in a pretty response. 这是一个非常有用的查询工具,它将在查询中显示语法错误,并以漂亮的响应格式设置图像和链接的格式。 It even offers autocompletion though not as elaborated as the one Sense and Marvel are providing: It will display any allowed term, no matter the context. 它甚至提供了自动补全功能,尽管没有Sense和Marvel提供的功能那么复杂:无论上下文如何,它都会显示任何允许的术语。 So you can't really see which terms currently are allowed but only that the term is allowed at all. 因此,您实际上看不到当前允许使用哪些术语,而根本看不到该术语是否允许。 Nevertheless this can be useful. 然而,这可能是有用的。 Searches can also be saved in local storage and executed again. 搜索也可以保存在本地存储中并再次执行。

You can read up more here, the answer source 您可以在这里阅读更多答案的来源


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

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