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 (2)
0 Karma
Get Updates on the Splunk Community!

Get Inspired! We’ve Got Validation that Your Hard Work is Paying Off

We love our Splunk Community and want you to feel inspired by all your hard work! Eric Fusilero, our VP of ...

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...