Getting Data In

Powershell in Splunk

rsathish47
Contributor

Hi
I am new to the splunk. I have powershell script which we used to collect data and send email. Now i need to implement in Splunk. Can you please provide small example or sample or document to implement powershell in splunk. Thanks in advance.

Thanks
Sathish

Tags (2)
0 Karma

halr9000
Motivator

You also definitely need the Splunk Addon for PowerShell. That will allow you to more easily get data from PowerShell into Splunk. For questions beyond that, you may want to create a new question with specific detail around what you are trying to do.

alacercogitatus
SplunkTrust
SplunkTrust

Check out these blogs: http://blogs.splunk.com/tag/powershell/ - lots of cool stuff and examples.

Here's a doc for you: http://docs.splunk.com/Documentation/Splunk/6.0/Data/Setupcustominputs - this covers how to make inputs to collect data from bat and powershell scripts.

alacercogitatus
SplunkTrust
SplunkTrust

If this answered your question satisfactorily, please mark it accepted. Thanks!

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!

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 ...