Splunk Search

How to avoid excessive memory usage error?

Neonbeeflash
Explorer

Hello,

I am performing a search in Splunk Cloud but I am getting the following error, does anyone know how to resolve it.

The search:

index=sf-test-metrics domains NOT "sitefinity.com" NOT "*iriscodebasesandbox.cloudapp.net*" NOT "*.bedford*" NOT "*.regression.com*" NOT "dynamicscan.cloudapp.net" NOT "irisdmsitsandbox" NOT "*irisdmuatsandbox*" NOT "*.sandbox.sitefinity.com*" NOT "localhost" domains{}= *\.*

| spath path=modulesInfo{} output=x
| fields x, clientId, domains{}
| mvexpand x
| spath input=x
| search moduleName="AdminBridge"
| where extensionBundlesCount > 0
| dedup clientId
| table domains{}, extensionBundlesCount
| sort -extensionBundlesCount


The error:
command.mvexpand: output will be truncated at 37800 results due to excessive memory usage. Memory threshold of 500MB as configured in limits.conf / [mvexpand] / max_mem_usage_mb has been reached.

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...