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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...