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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...