Sum diferentes counts kibana


(Vicio) #1

Can I add / subtract counts with different attributes?

count1:

{
query: {
match: {
event_type: {
query: icecast
type: phrase
}
}
}
}

count2:

{
query: {
match: {
event_type: {
query: othericecast
type: phrase
}
}
}
}

I want an amount that is the result of count1 - result of count2


(system) #2

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