- What Grafana version and what operating system are you using?
- What are you trying to achieve?
I have an Elasticsearch datasource with a field called
aborted_at. It’s an ISO-8601 timestamp, and it is only present for some records.
I want to create a bar chart, stacked to 100%, that shows the proportion of finished and aborted records over time.
- How are you trying to achieve it?
My query is a simple filter:
type.keyword = "$measurement_type"
and I’ve set my grouping to terms and date histogram.
- What happened?
I can only group by the actual values of
- What did you expect to happen?
I would like to be able to group by
empty(aborted_at) or whatever possible solution to turn the field into a binary one.
I can get this relatively easily within Kibana’s Lens visualization: