Is it possible to control the colors of the bars in Kibana?

(Danny Lieberman) #1

Something which I would have thought is trivial - so apologies in advance.

I'm collecting data in elastic search. the mapping looks like this:

"mappings" : {
"dosing": {
"properties" : {
"sitename" : {"type" : "string", "index" : "not_analyzed"},
"subjectlabel" : {"type" : "string", "index" : "not_analyzed"},
"visitnumber" : {"type" : "integer"},
"metric" : {"type" : "string"},
"what" : {"type" : "string"},
"risk" : {"type" : "string"},
Risk is a string with a low, mid or high value - using an Items panel - I
produce a chart with 3 bars - for High, Mid and Low

I have not been able to figure out how to change the colors of the bars -
I'm using the default green, yellow and blue - which doesn't really work
for high, mid and low risk.

I suppose I could hack the CSS and replace the colors with a different
palette but it would be more elegant if there a bar.color property one
could set

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
To view this discussion on the web visit
For more options, visit

(system) #2