Splunk Dev

Splunk Bar Chart Colors

harishfysx
Engager

 

 

Hi I am fairly new to Splunk , thank you in advance if you can help me...:)

My goal is to log the service response duration each time a ESService is called. The ESService value can be anything. In the table format below I am able to see which service is being hit and the duration .

 

But in the visualization section, all the events showing the same color, Is there anyway to show different color for each ESService . For example , when ESBusinessrep blue, for ESPerson red etc.(dynamically there can be N number of service types). And when I hover on the bars they are showing time, and duration values only not the ESService. How to achieve this?

harishfysx_0-1710879098247.png

 

0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

A bar chart will give you a different colour for each series, so you would need to do something like

| chart max(duration) over _time by ESService

 

View solution in original post

0 Karma

bowesmana
SplunkTrust
SplunkTrust

A bar chart will give you a different colour for each series, so you would need to do something like

| chart max(duration) over _time by ESService

 

0 Karma

harishfysx
Engager

Thank you bowesmana!.

Really appreciate your help on this.  

now I am greedy....

Can  I get query to get Max, Average, Minimum of each ESService?

 
0 Karma

harishfysx
Engager
transaction transactionId startswith="step=Before" endswith="step=After" | stats max(duration) as MaxRespTime avg(duration) as AvgRespTime min(duration) as MinRespTime by ESService

This should do it . 

0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...