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!

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...