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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...