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!

The Splunk Success Framework: Your Guide to Successful Splunk Implementations

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...