Splunk Search

How do I modify this regular expression syntax?

msachdeva3
Explorer

I have a field with value like this (R14760) 16.5.2 - FRI, 27 MAY 2016 13:46:07 EDT

I want to extract 16.5.2 into a different field

I'm using eval =
I'm seeing errors like illformed expression. Any Pointers??

Is there something wrong with Syntax?

0 Karma
1 Solution

skoelpin
SplunkTrust
SplunkTrust

Try using ...| rex \s(\d{2}\.\d\.\d)\s

View solution in original post

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Try using ...| rex \s(\d{2}\.\d\.\d)\s

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

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