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!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...