Splunk Search

calculating the truncate value for props.conf ?

kteng2024
Path Finder

Hi,

How to calculate the truncate value ? is it calculated based on the log size and max_events ? if yes , can anyone please explain me in calculating it ?

Thanks

0 Karma

nickhills
Ultra Champion

The TRUNCATE value is in bytes of a single event.

What I tend to do is find the largest event in the logs, and paste it into a decent text editor which reports size.
Then set your truncate value to this + % margin of error.

If my comment helps, please give it a thumbs up!
0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...