Change colors for each result on stacked bar?


I have stacked bar that is showing me success logons and failed logons. I want them to be different colors than the default but I dont see where I can change that.

How do I do it?

It depends on which visualization type you're using.

If you're using Lens in 7.13, you can get a custom color by using metrics with filters instead of breakdown by. This is because the breakdown colors are not fully customizable, but the metrics are. Older versions of Lens do not support custom colors.

If you're using an aggregation-based chart type, you can click the color dot in the legend to assign a color by name.

If you're using TSVB, I would recommend an approach similar to Lens- create multiple series where each one is filtered by status, and then you can assign a custom color to each.