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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...