Dashboards & Visualizations

Cannot view Splunk dashboard from Distance

vkotagiri
New Member

Hi Splunk Support,

We Cofigured splunk dashboards on Monitors in our Cabin and will view it from our desk.. We cannot see the count from quite distance. is there any such color coding for Failures if they reach particular count so that we can alert once we see the color on the dashboard.?

Tags (1)
0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Sure! You will need to use Single Values and a rangemap command. The full explanation is here http://docs.splunk.com/Documentation/Splunk/6.0/Viz/PanelreferenceforSimplifiedXML#single.

The rangemap command will tell the dashboard to color it Green, Yellow, or Red depending on the value of a calculated field.

Here is a sample:

<single>
<searchString>
YOUR_SEARCH | stats count as log_events
| rangemap field=log_events low=1-100 elevated=101-300 default=severe
</searchString>
<title>Log events</title>
<earliestTime>-1d</earliestTime>
<latestTime>now</latestTime>
<option name="classField">range</option>
<option name="afterLabel">total logging events</option>
<option name="beforeLabel">Found</option>
</single>

0 Karma

ChrisG
Splunk Employee
Splunk Employee

classField should be range, as the example states. We did test this docs example before we published it.

0 Karma

sowings
Splunk Employee
Splunk Employee

I think it should be "range" (as that's what gets populated by rangemap).

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

If that is not correct, we need to ping the docs team, I pulled from the link for easy ref.

0 Karma

sowings
Splunk Employee
Splunk Employee

classField correct?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...