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!

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...

The Visibility Gap: Hybrid Networks and IT Services

The most forward thinking enterprises among us see their network as much more than infrastructure – it's their ...

Get Operational Insights Quickly with Natural Language on the Splunk Platform

In today’s fast-paced digital world, turning data into actionable insights is essential for success. With ...