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

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...