Dashboards & Visualizations

Help with same color between Chart and Event Annotation

Menzoc
New Member

Hello All,

I try to get the same colors for the graphics and for the annotations, without success.
The differences in syntax between categoryColors and fieldsColors escape me.

Could you please help me?

 

 

<search> 
<query>index=main sourcetype=Oracle_Database $multiselect_token$ $asa_token$ EIRP &gt;-20|chart latest(EIRP) by _time,EQUIP</query> 
</search> 
<search type="annotation"> 
<query>index=main sourcetype=Oracle_Database (IS_CAL AND $asa_token$ AND $antenna_code$ ) | eval annotation_label = Calibrate | eval annotation_category = EQUIP</query> 
</search> 
<option name="charting.annotation.categoryColors">{"#53a051","#0877a6","#f8be34","#f1813f","#dc4e41","#62b3b2","#294e70"}</option> 
<option name="charting.fieldColors">{53A051,0877A6,F8BE34,F1813F,DC4E41,62B3B2,294E70}</option> 

 

 

 

 

 

 

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

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...