Getting Data In

Powershell scripts giving blank / no outputs

SudarshanChakra
Loves-to-Learn

Hello, 

I have observed a strange issue in few of my universal forwarders. This is with Splunk addon for windows. 

I have created scripts to check the disk and memory usage of the server and sent it back to Splunk. This setup is very old and working on majority of the servers. These inputs are scheduled to run every 5 min and 30 min respectively. 

Whenever I reload serverclass from my deployment server I can see 1 or 2 events coming in after that no data for either of the inputs. 

When I check the internal logs I can see that the script is being executed successfully but no output/event can be seen in Splunk search. 

I have tried direct execution of script in the input(writing the script in input stanza ) and saving in a path and calling from there as well. 

Note - I have even tried creating a separate app and deploying from there for these 2 specific inputs but the behavior is same. 

Can you please help me understand what is wrong and why it is giving blank output? 

Labels (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...