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!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...