The graph has the nice feature of "show example documents". However, I just can see the ID's of documents. No information is shown for other fields of documents. Does that mean the documents should be returned by IDs in Kibana or ES by another query or I am missing something?
I see the drop-downs and I tried to switch to other fields, but nothing is shown after selecting other fields. I am sure the fields have correct values based on the query I run through ES.
One issue is that the list of the fields in the drop down are those defined in the mapping, some of which are in the index but not present in the original _source json. These sorts of fields cannot be shown. To help debug this try open the dev tools in Chrome, switch to the "Network" tab then hit the graph UI's "Show example docs" button. In the Chrome dev tools panel you should see a network call to "getExampleDocs" and can see the raw JSON response including the hits. This should help reveal what content should be displayable. However anything but simple root-level fields (e.g. nested arrays of objects) might have some challenges.
Going forward I want to replace this primitive doc viewer with the ability to drill down using any pre-saved Kibana visualisation (tables, maps, timelines..)
Actually, one extra tip...
Having copied the query body using the approach in my last comment you can paste the query JSON into other Kibana text inputs to filter dashboards or visualizations as shown below:
(which is the same request that goes out when I check the network tab, with the addition of the higher top_hits value) I get the actual documents. What are these then?
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.