Splunk Search

On the limit of delimiter in field extracter

yutaka1005
Builder

I indexed some logs that have values are separated by commas, and I attempted to extract fields using delimiter, but the following error was output.

regular expression is too large

Does the delimiter extraction have limit values?
I hope someone can tell me.

0 Karma

jkat54
SplunkTrust
SplunkTrust

Try shortening all the field names in the regex

Ex:

 (?<my_long_field_name>regextoextract)

Becomes

 (?<a>regextoextract)

Do that for all your field names, then rename them in search. I believe you’re hitting a validation character limit of 8096.

0 Karma

yutaka1005
Builder

Thank youf for answer!

8096 means 8096 bytes?
And is it limit of splunk regex?

0 Karma

p_gurav
Champion

Can you give sample data? How many columns you are extracting?
Try extracting with transforms.conf, refer below doc:
http://docs.splunk.com/Documentation/Splunk/7.0.3/Knowledge/Configureadvancedextractionswithfieldtra...

0 Karma

yutaka1005
Builder

Thank you for comment.

I'm sorry, I can't give you sample data,but It has over 200 columns.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...