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!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...