Splunk Search

Percentage correct utilization formula

splunkuseradmin
Path Finder

I have a search which gives me a list of calls.
Whereby taking only business days and hours in a week- I need to take out utilization for each number.

Thanks

0 Karma
1 Solution

adonio
Ultra Champion

Yes it is...

you can try it with fake values, for example:

| makeresults count=1
| eval active = 20
| eval inactive = 30
| eval utilization=round(active/(active+inactive)*100,2). "%"

play with the numbers, or use random function:

| makeresults count=1
| eval active = random()%200
| eval inactive = random()%300
| eval utilization=round(active/(active+inactive)*100,2). "%"

hope it helps

View solution in original post

0 Karma

adonio
Ultra Champion

Yes it is...

you can try it with fake values, for example:

| makeresults count=1
| eval active = 20
| eval inactive = 30
| eval utilization=round(active/(active+inactive)*100,2). "%"

play with the numbers, or use random function:

| makeresults count=1
| eval active = random()%200
| eval inactive = random()%300
| eval utilization=round(active/(active+inactive)*100,2). "%"

hope it helps

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 ...