Barchart date histogram on two dates

(Gergely Ujvari) #1


I have an index in Kibana which has two date fields (start_date, end_date) and a datasource field and some others.

I want to create a barchart visualisation which counts the documents for a time period grouped by the datasource.
However for the time period there is a complication that I want to count the documents where either the start_date or the end_date fits into the period.

So how can I do that? Can I do somehow an "or" date histogram for two fields? (and add a terms subbucket for the datasource field)

I'm using Kibana 5.5

(Nathan Reese) #2

This currently not possible. An aggregation only works with a single field

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.