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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

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 ...