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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...