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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...