fbaligand / kibana-enhanced-table

Kibana visualization like a Data Table, but with enhanced features like computed columns, filter bar, and “Split Cols” bucket
Apache License 2.0
308 stars 64 forks source link

Display only the total row #294

Closed dnyamy closed 1 year ago

dnyamy commented 1 year ago

Hi all,

And thanks a lot for this plugin. I have a visualization with computed columns. I would like to display only the header line and the total line. Not all the details (See attached screenshot) Please how can I do that ? Regards Dn

Sans titre

fbaligand commented 1 year ago

Well, there is no “feature” in enhanced table plugin that explicitly do that. but you can maybe do no bucket agg, only metrics, and do not show total line. It should allow to only have one header line and one data line.

AJ1058308 commented 1 year ago

Hi, Thank you for your reply The fields are computed columns and won't appear for selection for metric agg Hope I will be able to find a work around Thanks Regards Dn

fbaligand commented 1 year ago

What do you mean by "The fields are computed columns and won't appear for selection for metric agg"? If you have no "bucket" agg, but only "metric" aggs, computed columns will still be displayed. To understand well your vis, do you use "Enhanced Table" or "Document Table" visualization?

dnyamy commented 1 year ago

I use Enhanced Table, I cannot but use the bucket agg, for my BAT-, BAT, BAT+, BAT++ columns are computed based on columns from the Split cols bucket.

fbaligand commented 1 year ago

OK, do you can keep your “split cols” bucket, but remove all “split rows” columns. Like that, you will have only one data line.

dnyamy commented 1 year ago

The problem is that I also need the split "rows columns" to compute my computed columns. I think I will just keep the table as is. Thank you Dn

fbaligand commented 1 year ago

OK. For info, if your computed columns require some fields, you can eventually use “top hit” metric. Or else, you keep table as is 😉

fbaligand commented 1 year ago

As question is answered, I close the issue.