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!

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

Getting Started with AIOps: Event Correlation Basics and Alert Storm Detection in ...

Getting Started with AIOps:Event Correlation Basics and Alert Storm Detection in Splunk IT Service ...

Register to Attend BSides SPL 2022 - It's all Happening October 18!

Join like-minded individuals for technical sessions on everything Splunk!  This is a community-led and run ...