Dashboards & Visualizations

Division in Dashboard using stats count?

SimonSchoppel
Explorer

Hello,

in my dashboard, I use the "stats count" function to show the number of results for a particular search.
Now I want to divide this number by 3 and display the result instead. How to do this?

 

Thank you for your Help!

 

Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @SimonSchoppel,

you have to use the eval command at the end of your search:

<your_search>
| stats count
| eval count=count/3

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @SimonSchoppel,

you have to use the eval command at the end of your search:

<your_search>
| stats count
| eval count=count/3

Ciao.

Giuseppe

SimonSchoppel
Explorer

Thank you very much!!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...