Getting Data In

Few logs are getting truncated

splunklearner
Communicator

Few event logs are getting truncated while others are getting perfectly. We are using akamai add-on to pull logs to Splunk.

HF (akamai input configured) ---> sent to indexers

in DS all apps will be there (where all props and transforms) which will be pushed to CM and from CM will be pushing to individual indexers.

props.conf in DS (Ds --> CM --> IND)

[sony_waf] 
TIME_PREFIX = ^
MAX_TIMESTAMP_LOOKAHEAD = 25
TIME_FORMAT = %b %d %H:%M:%S
LINE_BREAKER=([\r\n]+)
NO_BINARY_CHECK = true
EVENT_BREAKER_ENABLE = true
SHOULD_LINEMERGE = False
TRUNCATE = 50000
 
Few logs are getting perfectly. what to do now? Please suggest.
Labels (4)
0 Karma

splunklearner
Communicator

when I checked more in depth logs, I see perfect logs have less than 10000 lines where the logs which are truncating have 10001 lines. But I set truncated value to 50000 why this is not applying? 

0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @splunklearner 

You mention that the props/transforms are pushed to your Indexers, but is it also installed on the HF pulling the Akamai logs? Can you validate that the relevant props/transforms with the TRUNCATE set to a higher-than-longest-event value are installed on the HF?

$SPLUNK_HOME/bin/splunk btool props list sony_waf --debug

If you run this on your HF you should see your TRUNCATE value to the expected high value.

What length are your logs being truncated to?

Your approach of using DS->CM->IDX is interesting...but I dont think this is the problem here if the Akamai logs are being pulled by a HF - Ultimately we need to ensure the HF has the props!

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

 

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

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 & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...