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!

New Splunk Observability innovations: Deeper visibility and smarter alerting to ...

You asked, we delivered. Splunk Observability Cloud has several new innovations giving you deeper visibility ...

Synthetic Monitoring: Not your Grandma’s Polyester! Tech Talk: DevOps Edition

Register today and join TekStream on Tuesday, February 28 at 11am PT/2pm ET for a demonstration of Splunk ...

Instrumenting Java Websocket Messaging

Instrumenting Java Websocket MessagingThis article is a code-based discussion of passing OpenTelemetry trace ...