Getting Data In

What different colors for bar graph

eholz1
Builder

Hello All.

I have a search: source="/var/log/squid/access.log" url NOT "esrs3-*" status = * | chart Count by status

This gives me a bar chart of the count of various http status codes, 200, 502, etc.

I want to divide the count by 100 if the count is greater than 300. and I would like to have a different color for each bar in the graph. there is only 1 field (count), is there a way I can get a different color for each status code which appears on the x-axis?  I have seen the series.Color command, but not sure how to apply it.

 

Thanks

EWH

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...