Getting Data In

Why are logs are being cut off?

lawrence_magpoc
Path Finder

Some of the logs ingested into our Splunk environment has missing line. I was told that this could be the result of a delay in completion of logs. Is there a way around this?

0 Karma

jarizeloyola
Path Finder

Missing or Truncated? By default Splunk default maximum line length is 10000, in bytes.
If your event is more than the default value you can increase the TRUNCATE value in props.conf but never ever set it to 0.
Make sure that you set properly the props.conf of the sourcetype of that data.
- DATETIME_CONFIG
- TIME_PREFIX
- TIME_FORMAT
- MAX_TIMESTAMP_LOOKAHEAD
- TZ
- LINE_BREAKER
- SHOULD_LINEMERGE

Check splunkd.log for messages such as "AggregatorMiningProcessor" to know more what's happening

0 Karma

richgalloway
SplunkTrust
SplunkTrust

More information, please. What type of file(s)? How are they being ingested? What are the inputs.conf settings?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...