Kibana中的Elasticsearch查询
我想记录所有对Elasticsearch的疑问及其在Kibana中的响应机构。 有办法做到吗? 我知道一种设定的方法。慢速插入阈值达到0并记录我慢速的所有查询,然后使用filebeat将这些查询推向基巴纳。 还有其他方法可以做到吗
I want to log all the queries made to Elasticsearch along with their response bodies in kibana.
Is there a way to do that?
I came to know a way to set. t he slowlogs threshold to 0 and log all the queries i slowlogs and then use filebeat to push those queries to kibana.
Is there any other way to do that
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,这在基本和免费版本中至少可用,即使您将搜索slowlog阈值设置为
0ms
它只会记录搜索查询和其他搜索查询的元数据,但不会记录搜索查询响应
。最好在生成搜索查询并解析响应的应用程序中执行此操作,然后使用FileBeat您可以将应用程序日志发送到Elasticsearch。
As far as I know, this is not available atleast in basic and free version and even if you set search slowlog threshold to
0ms
it will just log the search query and other metadata of search query but wouldn't log thesearch query response
.It would be better to do this in your application which generated the search query and parse the response, then using filebeat you can send the application logs to Elasticsearch.