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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...