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?
Unfortunately not out of the box. If you're up to it, you can probably
create a panel that runs this kind of query in Kibana and wire it in. Need
to learn a little of Angular and Javascript but its doable.
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?
In the Kibana src folder, there is a config.js file. At the bottom of
that file is a list of panel names available to Kibana. You will add your
new panel name there.
Then, under src/app/panels, create folder that corresponds to your panel
name and then copy a bunch of files from an existing panel - I'd probably
use the text panel as the basis for testing and experimentation
Then in your new panel folder, edit the files that you copied from
another panel so that the name of the panel and references in code matches
your new panel name
Then study the more complex panels like histogram or table and you
should be able to duplicate them and adapt to your requirements. Just need
to inject your script fields right where the query is constructed and then
extract the script field results and inject into the panel's model data
structure
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.