Multi value field count in Kibana 4

Hi Guys,

Can Kibana tokenize multi value fields and give us the count for those fields?
Is it even possible with ElasticSearch?

For example I have the following fields in my ES doc,
{
"_index" : "twitter",
"_type" : "tweet",
"_id" : "1",
"tags" : [ "18th", "nofilter","bday"],
"_version" : 1,
"created" : true
}
{
"_index" : "twitter",
"_type" : "tweet",
"_id" : "2",
"tags" : [ "it", "5yrs"],
"_version" : 1,
"created" : true
}

So if I want to have count report on tags field then it should give me 5. 3 for the 1st document and 2 for the 2nd document.

Don't think so, you'd probably need to script this sort of calculation.

Hi Mark,

Thanks for your reply, but I am stuck on another issue,
How can we call ES script from Kibana? I have created 1-2sample groovy scripts in ES now I want to call those scripts from Kibana but unable to find a way to do so..!!

Any thoughts?

You can create scripted fields in KB itself, but don't think you can call ES scripts from KB.