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!

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...