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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...