All Apps and Add-ons

Mulit-Color eval, causes black outline

atellez_splunk
Splunk Employee
Splunk Employee

Specifying color or multiple colors as an eval argument creates black outlines on the lines.

| eval color = case (
    match(app, "dns"), "green",
    match(app, "tls"), "yellow",
    1==1, "red")

alt text

Tags (1)
0 Karma

cmerriman
Super Champion

i don't have this app installed, so this might not work. i can't find much on the documentation for the app, but it does say color: The color of the arc in hex format (optional, default "#FF0000") on splunkbase. have you tried using hex values?

0 Karma

atellez_splunk
Splunk Employee
Splunk Employee

I tested hex values shortly after posting this, using hex values solves the problem.

0 Karma

sameeripro
Path Finder

I am still getting single color if i use the query eval color=if(protocol=tcp,"#FF0000","#0000FF")

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...