I have lot of d3.js and Highcharts charts already using Elasticsearch. How can I integrate these charts into kibana?
Also, how can I customize existing charts and tables. Example changing column names in table, assigning color to pie charts. I am plotting a pie chart for term facet on a sentiment field, how can assign a specific color to particular sentiment.
Any pointer to start this kind of customization will be really helpful.
if you have the source file kibana in your local pc, please go through the "app" folder and "vendor" folder... The histogram and pie charts are created using Flot Charts and the Map is build using jvectorMap, all of them javascript libraries.
Inside app/panel/map. you can use that as a reference point for integrating external library like d3.js. I am pretty sure d3.js and Highcharts can be plugged in to Kibana, although I have not tried myself yet.
About the colors, inside apps/services folder, check qrySrv.js, that would be a good start..
We don't support customizing Kibana. The project is entirely open source, you're welcome to fork it and make changes as you see fit, however we do not build in any support for bringing in new libraries.
I'm just beginning to look into kibana and I stumbled across this thread.
In an ideal world wouldn't you want to allow some sort of plugin architecture where devs can create custom graphs/charts in their own project (NOT a forked copy of kibana) and then include them as plugins into kibana?
By requiring devs to fork kibana to add custom components, this makes updating to the latest version of kibana nearly impossible b/c devs have to modify kibana's source code.
Is there any plans to make some sort of plugin architecture into kibana?
I totally agree @toymachiner62 . I'm starting to read about kibana and the first thing that I checked for were "how to extend kibana", "create plugins for kibana", "create modules for kibana", "templating system for kibana". For something that's open source, i think these are very important.
Agree as well. I would love to add some custom visualizations into a "panel" on a Kibana dashboard. Would love to extend Kibana and make my own "plugins" like ElasticSearch itself supports.
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
@JuanCarniglia - props for taking initiative and showing what its like to build an angularJS module and illustrating why this is a closed issue.
@toymachiner62 and the other +1ers... This exists through the merits of a well built JavaScript app. Each of these views is extendable and overridable. If you have opinions on how this may be achieved outside the usual OO javascript ways... I'd suggest taking some initiative and create a PR illustrating how you can do it better. I think you will find it not worth the effort.
:+1:
+1
Most helpful comment
It is possible. I have created two Visualization Plugins for Kibana 4.4.1. One is a Sunburst chart and another a circle packing chart (Both D3). Check them out in circles and sunburst. Let me know what you think and if you think of another chart that might be useful.