Hi,
I am trying to add an on-click signal to add a filter when clicked on each sector of a pie-chart using Vega. Even though the filter is added, it is not affected on the chart and shows an error within the filter.
The fields of the index I'm using for the visualization are not seem to be included, as the error says Disabled Field machine.os.keyword not found in index pattern apache*. But, apache* is not the index I'm using for the pie-chart although it is an index I created earlier in Elasticsearch and the default index I get when opening Kibana Discover.
However, I can add the same filter manually as a Kibana search query and it will work fine.
Why are the fields from the index I'm using are not available in filters? As an alternative, is it possible to add a query in the search bar using an on-click signal?
I'm using Elastic v 7.9.3
Any help would be greatly appreciated.
Cheers!