Splunk Search

Numeric pattern match

timbrigham
New Member

I have a data type I would like to search for that consists of the following rough syntax:
A block of textualdatawith some more text.

Is there any simple way to represent the numeric sequence a la bash? I'd like a substitution that would match 50,51,52,..100.

Tags (2)
0 Karma
1 Solution

Ayn
Legend

Something similar to seq 50 100 in bash? No, there's no such thing built-in that I know of. It should be a pretty quick custom command to build yourself though.

View solution in original post

0 Karma

Ayn
Legend

Something similar to seq 50 100 in bash? No, there's no such thing built-in that I know of. It should be a pretty quick custom command to build yourself though.

0 Karma

Simeon
Splunk Employee
Splunk Employee

A data sample would be helpful

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.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 ...