简体   繁体   English

如何使用Grafana从Elasticsearch中提取所有记录

[英]How to pull all the records from elasticsearch using Grafana

When I am trying to pull the rawdocuments in a table from elasticsearch using Grafana, It does not show me the all the documents which are available there in elasticsearch index .No matter how many docs are in my elasticsearch index , it shows <=1000 docs only . 当我尝试使用Grafana从Elasticsearch中提取表格中的原始文档时,它没有显示出Elasticsearch索引中可用的所有文档。无论我的Elasticsearch索引中有多少文档,它都显示<= 1000 docs只要 。

I guess when Grafana is firing the query for getting the docs . 我想Grafana何时触发查询以获取文档。 It is fixing the document size 1000 in query , and not using scan and scroll . 它在查询中固定文档大小1000,而不使用扫描和滚动

Is there some way possible, from where I can increase the size of documents which are getting retrieved from elasticsearch . 有什么可能的方法,从那里我可以增加从elasticsearch检索的文档的大小。 Can I write lucene query in query box and get all the records ? 我可以在查询框中编写Lucene查询并获取所有记录吗? if yes what kind of query I need to specify in Grafana lucene query box , any example? 如果是,我需要在Grafana lucene查询框中指定哪种查询?

why do you want to scroll through more than 1000 docs? 为什么要浏览1000多个文档? Is there not a filter / query you can specify to limit the list so you can find one you want? 您是否可以指定一个过滤器/查询来限制列表,以便找到所需的过滤器/查询?

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

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