Getting Data In

Indexing time is too long

Kawtar
Path Finder

Hello,

In my props.conf, I added , BREAK_ONLY_BEFORE= regex AND LINE_BREAKER_REGEX , and I see that time of indexing is too long, the universal forwarder detect the files but it index it 4 ou 5 min after, but when I removed BREAK_ONLY_BEFORE and LINE_BREAKER_REGEX from the config file: props.conf, It indexed very quick . Any explications plz ?

Thank you

0 Karma

richgalloway
SplunkTrust
SplunkTrust

How complex are your regex strings? Have you tried only one of BREAK_ONLY_BEFORE and LINE_BREAKER_REGEX?

---
If this reply helps you, Karma would be appreciated.
0 Karma

Kawtar
Path Finder

I noticed when I use BREAK_ONLY_BEFORE Indexing time is too long but when I use LINE_BREAKER_REGEX fast than the parameter break_only_before, can you confirm that ?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I haven't noticed this so I can't confirm it. I rarely use BREAK_ONLY_BEFORE so I can't say if it's slower than LINE_BREAKER. If only BREAK_ONLY_BEFORE works for your data and its performance is bad, I suggest you open a support case.

---
If this reply helps you, Karma would be appreciated.
0 Karma

somesoni2
Revered Legend

It means your event parsing configurations are no efficient and causing delay in indexing (mostly delay in parsing layer). Please share your current props.conf entry for your sourcetype (assuming it was setup in Index/heavy forwarder) and some sample log entries. Based on that, Splunker's here can suggest you efficient config to put in your props.conf.

0 Karma

Kawtar
Path Finder

Thank you for your response I'll share the config

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...