The basic idea is as follows:

1) 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.

2) 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

3) 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

4) 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

It will be time consuming but not impossible. :)

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/e388fd5d-3686-4f5d-be61-6f72fa599191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to