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
Esteemed Legend

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
Esteemed Legend

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!

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...