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!

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...