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/7dd9a0be-fc34-4c30-8111-ebe07417528a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to