ok i'm native to java so no issue there, any references i can use or
examples i can follow ?
On Tuesday, April 1, 2014 3:48:19 PM UTC+3, Gal Zolkover wrote:
>
> Hi All
>
> I'm new to ES and Kibana and i have a simple question:
>
> I have ES collecting counters and i'd like to present in Kibana KPI based
> on the collected counters so i have a script that works in Chrome Sense
> extension,
> my question is how do i pass this script and execute it via Kibana to
> present the calculated counters AKA KPI new calculated fields in the
> Dashboard as a histogram and as table?
>
> script example
>
> GET kpi1-xxxx/_search
> {
>
> "script_fields" : {
> "reg_succ_rate" : {
> "script" : "doc['UEREGISTRATIONSUCCESS'].value /
> doc['UEREGISTRATIONATTEMPTS'].value"
> },
> "test2" : {
> "script" : "doc['UEREGISTRATIONATTEMPTS'].value * factor",
> "params" : {
> "factor" : 1.0
> }
> }
> }
> }
>
> Regards
>
> Gal
>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/48560ce2-c39a-4f83-bdea-fd557c21324c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.