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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...