Deployment Architecture

Why are our logs being truncated to 10,000 characters?

davidmills
Explorer

I have set...

[default]
TRUNCATE = 20000

...in $SPLUNK_HOME/etc/system/local/props.conf for our search heads (a cluster of 3), indexers (a cluster of 3) and Heavy forwarder. I have restarted all the search heads and indexers to pick up the change, but we are still getting just as many records where "meta::truncated" is getting set and the log entry is just 10,000 characters. This then plays havoc with our attempts with downstream searches to parse out JSON values using spath. Some of the information we need is just not present.

Do I need to restart the Heavy Forwarder? Is it where the truncation is occurring? Are there any data loss implications of stopping the single Heavy Forwarder?

Thanks,

David.

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The truncation is happening on the heavy forwarder. Restart it to apply the props.conf setting and all should be OK.

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

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The truncation is happening on the heavy forwarder. Restart it to apply the props.conf setting and all should be OK.

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

davidmills
Explorer

That worked - thanks.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

this will be done in test or dev or prod?!?!

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...