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!

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 ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...