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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...