Splunk Dev

How to handle truncation error in Splunk SDK?

waghpra
New Member

Hi Pals,

Thank you for viewing my question.

I am retrieving my data through C# and Splunk SDK. But while extracting the results, I am facing the below truncation issue:
"Command mvexpand output will be truncated at XXXXX results due to excessive memory usage.......... max_mem_usage_mb has been reached".
I have added all the required filter before MVEXPAND but then too no luck, So below is my question:
1. Currently, I am slicing the timestamp to minutes and extracting the results. But is there any finer way which Splunk recommend?
2. Can the output of Splunk SDK be JSON? If yes, then doing so can have better results?

Labels (1)
0 Karma

to4kawa
Ultra Champion
0 Karma

pbankar
Path Finder

@waghpra, you may check your /default/props.conf in your app.
Check - https://answers.splunk.com/answers/41648/linebreakingprocessor-truncating-line-because-limit-of-1000...

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...