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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...