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!

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