Dashboards & Visualizations

Column formating Splunk studio

Aresndiz
Explorer

Does anyone know if it is possible to create specific thresholds for each host in the dashboard studio table? I'm using a table where I focus on hard disk usage, previously I had no problems with the configuration since the threshold was 80% amber and 90% red. However, I was asked to adjust this threshold to 90 amber and 95 red only for a specific server. My question is, is it possible for the color format table to have different thresholds depending on the host?

Aresndiz_0-1738265447357.png

Aresndiz_1-1738265644751.png

 

 

Labels (1)
0 Karma
1 Solution

livehybrid
Influencer

You can do this by overwriting some of the options within the table source:
Have a look at the following example:

Xnip2025-01-30_23-35-50.png

You can see that the colour is specified using SPL instead of logic within the Dashboard editor. Using a field prefixed with underscore _ will stop it showing in the table.
Then update the options for the table and add/edit the columnFormat:

        "columnFormat": {
            "<YourHighlightedField>": {
                "rowBackgroundColors": "> table | seriesByName('_colour')"
            }
        }

 

Xnip2025-01-30_23-36-34.png


I hope this helps!

View solution in original post

0 Karma

livehybrid
Influencer

You can do this by overwriting some of the options within the table source:
Have a look at the following example:

Xnip2025-01-30_23-35-50.png

You can see that the colour is specified using SPL instead of logic within the Dashboard editor. Using a field prefixed with underscore _ will stop it showing in the table.
Then update the options for the table and add/edit the columnFormat:

        "columnFormat": {
            "<YourHighlightedField>": {
                "rowBackgroundColors": "> table | seriesByName('_colour')"
            }
        }

 

Xnip2025-01-30_23-36-34.png


I hope this helps!

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

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