Dashboards & Visualizations

How to configure a dashboard to show an expected value?

centrisinfo
Engager

Most of the time this applies to using "Counts" in a certain Dashboard. Is it possible to show an Expected value?

For example, I have a dashboard that counts a certain log each day. There should be 30 each day, but sometimes there are only 29 due to errors. Is it possible to visualize that info against the expected number of 30? Or even just visualize it on the dashboard report as 29/30?

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Use the eval command to create an "expected value" field.

 

 

| stats count
| eval expected=30

 

or

 

| stats count
| eval count=count . "/30"

 

 

---
If this reply helps you, Karma would be appreciated.

View solution in original post

centrisinfo
Engager

Exactly what I was looking for. Thank you!

richgalloway
SplunkTrust
SplunkTrust

Use the eval command to create an "expected value" field.

 

 

| stats count
| eval expected=30

 

or

 

| stats count
| eval count=count . "/30"

 

 

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...