Getting Data In

Why is my JSON format log getting truncated to 26 lines?

pmosca
New Member

I have a log file which has JSON format lines in the middle. The log looks fine but the JSON lines are getting truncated to 26 lines out of around 200 lines.

Is there a way I can extract the full log without any truncation?

0 Karma

ddrillic
Ultra Champion

TRUNCATE = 0 will keep you free ; -)

0 Karma

Vijeta
Influencer

@ddrillic Isn't that something Splunk doesn't recomment?

0 Karma

ddrillic
Ultra Champion

It really depends on your own best practice. If you can ensure that each event is of reasonable size than TRUNCATE = 0 is good. I used it and it was just fine.

0 Karma

Vijeta
Influencer

What is your MAX_EVENTS and TRUNCATE in props.conf for this sourcetype?

0 Karma
Get Updates on the Splunk Community!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...