Splunk Search

question relating to field extraction

the3nd4u
New Member

Hi

I have a problem with the field extraction. I am trying to extract out and name a field containing the data "--O--O--OO----" using IFX.

And it keep giving me the error called "The generated regex was unable to match all examples (e.g., , --O--O--O----). Consider entering different examples, or manually editing the regex."

Can someone please explain to me what happens and where did it goes wrong and how do i go about resolving this issue?

Thank you very much.

Tags (3)
0 Karma

MHibbin
Influencer

Hi "the3nd4u",

Is it possible to include some of your eventdata, it is normally quite simple to pick out some regex, you just need to define some points around your chosen data. Also is this data ever changing in value (not format), and will it always retain the some location in the data?

You can also paste your results into the following site (RegExr)and craft a regex there. However more than happy to try and help.

Regards,

MHibbin

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...