Hi there, I'm trying to use a dropdownControl in order to filter values from a datatable, but i was unable to do that, i followed some post here but i can't fix it. The currently behaviour is the following:
- In my dropdown I can see the available values i wan to filter
- In my datatable I can see the available values to filter
- When I select an option in my dropdown every data in my datatable disappears.
This is the code I have for my dropdown:
essql
query="SELECT prometheus.labels.microservice as microservice
FROM \"metricbeat-*\"
WHERE \"@timestamp\" > NOW() - INTERVAL 15 MINUTES
AND microservice IS NOT NULL
GROUP BY microservice"
| dropdownControl valueColumn="microservice" filterColumn="microservice" filterGroup="ms-group"
This is the code I have for my datatable:
kibana
| selectFilter group="ms-group"
| essql
query="SELECT prometheus.labels.microservice AS microservice,
AVG(prometheus.metrics.process_cpu_usage) AS avg_cpu_usage
FROM \"metricbeat-*\"
WHERE \"@timestamp\" > NOW() - INTERVAL 15 MINUTES
AND microservice IS NOT NULL
GROUP BY microservice"
| table
| render
If I missed something please let me know.
NOTE: I'm using Kibana 8.9.2