All Apps and Add-ons

How to change color for select value in Force Directed App?

sbimizry
Engager

Hi,
I create a simple dashboard from Force Directed, and me interested, how to change color for select value?
Example: there is input (token with name $token$ and value "B" or other), and I make this panel...
alt text

How to set for example red color to "B" if he in $token$

0 Karma

dperre_splunk
Splunk Employee
Splunk Employee

Hey sbimizry,

To rephrase your question, you would like individual colours for particular nodes? Is that right?

If so, it may not be possible without some heavy development work as there is no concept of a node settings guide as all data is read in a row by row format.

0 Karma

to4kawa
Ultra Champion

Hi, @sbimizry

| makeresults count=2
| streamstats count
| eval _time = if (count==2,relative_time(_time,"-1h@m"), relative_time(_time,"@m"))
| makecontinuous span=1m
| eval rand1=random() % 26, rand2=random() % 26
| eval src=substr(upper("abcdefghijklmnopqrstuvwxyz"),rand1,1)
| eval dst=substr(upper("abcdefghijklmnopqrstuvwxyz"),rand2,1)
| streamstats count as ex
| eval count = pow(2, ex - 1)
| table src, dst, count

I tried and found that the color can be defined by a third number.
Therefore, it might be possible to create a dashboard that displays both a table and a graph, and click on the value in the table to bring that number to the graph.

0 Karma
Get Updates on the Splunk Community!

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

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...