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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...