Smasell
Smasell

Reputation: 1228

Terms Aggregations in multiple fields Kibana

I have several fields in ES like:

tank1
tank2
tank3

Every tankID can be in different fields depending on user choice. I wonder if I can count terms from multiple fields(tank1, tank2, tank3) and create graph in kibana 5?

Upvotes: 0

Views: 537

Answers (1)

mary
mary

Reputation: 41

You can use "count" as your metrics aggregation and "filter" as your bucket aggregation and then use OR inside the filter for your multiple fields.

Upvotes: 4

Related Questions