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
Motivator

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
Motivator

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!

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...

New Splunk Innovations Enhance Performance and Accelerate Troubleshooting

Splunk is excited to announce new releases that empower ITOps and engineering teams to stay ahead in ever ...