Getting Data In

Powershell script in Heavy Forwarder consuming a lots of memory in Active Directory.

hcarvcamp
Explorer

Hi, everyone

I have a simple PowerShell script that runs every 5 minutes grabbing data from a database.
I have noticed the memory climbs quite high (almost 4GB). I have an "output" is the Heavy Forwarder. Seems like the memory keeps climbing.

_
alt text
_

Any suggestions?

Thank you,

Hugo Campelo.

0 Karma

muebel
SplunkTrust
SplunkTrust

Hi hcarvcamp, hmm, seems like a memory leak. Have you tried utilizing the Database Connect App? It's built by Splunk precisely for this sort of purpose.

To address the script itself, could you share it in a comment? (or revise the question to include it)

Otherwise, please let me know if this answers your question! 😄

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...