Now, I am facing an issue. I just want to add field of that document as a column without adding sub-bucket of that field in the table because sub-bucket creates buckets of that field whereas, I just want to display that field in the visualization as it is now.
Any help will be appreciated.
Thanks in anticipation.
You can use 'Top Hits' metric aggregation to do that:
add metric
select top hit
select the field you want to add
select how many top values (as each bucket could have documents with different values of this field, you can select how many of the most frequent do you want to show)
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.