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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Deprecation of Splunk Observability Kubernetes “Classic Navigator” UI starting ...

Access to Splunk Observability Kubernetes “Classic Navigator” UI will no longer be available starting January ...