Splunk Search

Subtraction

ccsfdave
Builder

Greetings,

I am looking to perform subtraction. I have formatted my search to get me down to specific values and lastly I am looking to perform subtraction.

    Stage           analyst Count
1   5. Completed    Marta   114
2   4. Selection    Marta   44

So what I would like is to return a single value of 70. Feels like I have done the heavy lifting already but am stuck on the final bit. Help?

Thanks,

Dave

Tags (2)
0 Karma
1 Solution

ccsfdave
Builder

|stats range(Count)

That did it for me. Thanks for looking!

View solution in original post

ccsfdave
Builder

|stats range(Count)

That did it for me. Thanks for looking!

Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...