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
309 stars 64 forks source link

Using Key as String from Response as column names #214

Closed vikramnr closed 3 years ago

vikramnr commented 3 years ago

I was wondering if there is way to display the below key from response as Column name. Requirement is show to Month names in different format and I'm using Date Histogram for it. I have tried using terms but aggregation doesn't work properly since I have data for each day

Screenshot from 2021-06-11 07-38-48

fbaligand commented 3 years ago

Well, you cannot use "key_as_string" as column label. But you can customize Kibana display for monthly aggregations in Kibana advanced settings.

To do that, go in Kibana "advanced settings" screen, edit "dateFormat:scaled" setting and add this array item: ["P1MT", "MMM, YYYY"],

vikramnr commented 3 years ago

Thanks @fbaligand. I have tried it out and was just check if we have something like this in the plugin.