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 William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...

Major Splunk Upgrade – Prepare your Environment for Splunk 10 Now!

Attention App Developers: Test Your Apps with the Splunk 10.0 Beta and Ensure Compatibility Before the ...

Stay Connected: Your Guide to June Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...