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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...