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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...