hmm, you need the list of documents that are in that range. Easiest way is to have a saved search and the pie on the same dashboard. If you set the filter on the pie chart, the list of documents will be shown in the saved search. You can specify a set of filters for the data. You can specify a filter as a query string or in JSON format, just as in the Discover search bar. Click Add Filter to add another filter. Click the images/labelbutton.png label button to open the label field, where you can type in a name to display on the visualization. https://www.elastic.co/guide/en/kibana/current/pie-chart.html
Thank you for the reply @rashmi , I already know that (maybe I didn't explain well my use case). For example, if I click in this row (see the picture):
I can see the 402 hits or documents (instead of going to the Discover and add the same filter to display the data from Elasticsearch... ) I hope the requirement is clear now
I need to get the 402 hits which build the Red area which I talked about it on the main topic). Is that possible now? If yes, how can I do that? if no, have I develop my own Pie plugin (Pie is an example here, if I need the same requirement in other Visualization, I have to recreate it by myself) ?
Hello, the same thing should happen when you click the Pie and when you click the Row in the table. It basically generates a filter that will only show the values in that row/slice. You are looking in the request information right there.
What Rasmi suggested is the way to see all those 402 documents without going to Discover.
Steps:
1 Create your Pie Chart.
2. Open Discover and click on Save without any filter added there. This will generate a saved search that can be embedded on a dashboard.
3. Create a dashboard with the Pie Chart and the Saved Search next to it.
4. If you click on the slice of the Pie, the saved search will filter to only see those 402 documents.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.