Getting Data In

Why is my PowerShell scripted input failing intermittently?

meenuvn
Explorer

I have a PowerShell scripted input which is set to run at the start of the service. Since the servers reboot daily, this input runs once daily after the reboot. For the past few days, this input has been failing from a set of servers, but I couldn't find a related error in the splunkd or splunk-powershell logs. Also if we restart the service manually, it works, so it is just an intermittent failure.

I need help to troubleshoot this issue.

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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...