Get count of specified field (unique-value)

(張皓翔) #1

Hi, everyone.
I want to get the count of every different value of specified field.
Now I am using the genre syntax "genres"
"aggs": { "genres" : { "terms" : { "field" : "L4_SRC_PORT"} } }
but the return doesn't look good

thank you in advance : )

(David Pilato) #2

Look at

(張皓翔) #3

I found the reference just now haha Thank u :slight_smile:

(system) #4

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