I created a few
Scripted Fields in Kibana using painless to parse a list of key/value pairs. I use different scripts to produce data formats to enable various visualizations. For example:
- Pie Chart: Top 1 key only
- Bar Chart: Top 5 keys only, and
- Data Table: "key1(value1%), key2(value2%), ..." fields (custom stitched string with top-5 both key and value pairs)
Drilldowns are extremely important for our usecase. On a typical Kibana Dashboard Visualization it is straight forward to drill-down into data by clicking a chart element to enable a filter on that field: key/value. Or to have a Dashboard Control element that enables similar filtering/drilldown. However, I am unable to drill-down on a scripted-field based visualization (say Pie Chart/Bar Chart) when I click an element (sector/bar respectively). The visualizations present a
No results found status
1.What can I do to fix/enable drilldowns on scripted fields?
2. Are there any workarounds I can try?