How can you set the colors in a chart with Kibana 4?

Jason Martens picture Jason Martens · Apr 30, 2015 · Viewed 9.7k times · Source

I have a stacked bar chart in Kibana 4, and I would like the error bar to be red, the warning bar to be orange and the info bar to be green. This used to be simple to accomplish in Kibana 3, but I cannot figure out how to do it in Kibana 4. Has anyone been able to do this?

Answer

gillyb picture gillyb · May 1, 2015

In kibana4 (at least for v.4.1.0) this is not yet possible. The colors are chosen at random from a defined palette in the code.

Many people are asking for this, and I think it's planned for version 4.3.
You can follow it here: https://github.com/elastic/kibana/issues/1362