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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

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