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 | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...