Splunk Search

how to retrive the values above and below the certain limit

splunkpoornima
Communicator

hi all ,

source="taskmanger_logs"|transaction TaskAction startswith=START endswith=Succeeded|table TaskAction duration

so i got the result as

TaskAction duration

task1 45

task2 90

task3 221

task4 765

task5 534

now i want to display the tasknames where the duration is >90 but < 534

what command i have to use for this kind of problem ...eval???..

Thanks in advance

poornima

Tags (1)
0 Karma

sbrant_splunk
Splunk Employee
Splunk Employee

Something like this maybe?

source="taskmanger_logs"
|transaction TaskAction startswith=START endswith=Succeeded
|where (duration>90 AND duration<534)
|table TaskAction duration 
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 ...