Adding Columns in Data Table

I am creating a data table in kibana which is shown below.

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)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.