Getting Data In

Universal forwarder doesn't have a default setting in inputs.conf for Microsoft-Windows-PowerShell/Operational

spctravis
Explorer

Splunkers,

I want to get in Microsoft-Windows-PowerShell/Operational logs into Splunk. There is no default setting for it in the default/inputs.conf file.

I think this is the answer:

[WinEventLog://Microsoft-Windows-PowerShell/Operational]
disabled=0

 

Labels (1)
0 Karma
1 Solution

danielcj
Communicator

Hello,

Yes, it is the correct input, you should place this input on an inputs.conf file on a /local/ folder, don't forget to set an index and a sourcetype, for example:

[WinEventLog://Microsoft-Windows-PowerShell/Operational]
index=<my_index>
sourcetype=<my_sourcetype>
disabled=false

View solution in original post

0 Karma

danielcj
Communicator

Hello,

Yes, it is the correct input, you should place this input on an inputs.conf file on a /local/ folder, don't forget to set an index and a sourcetype, for example:

[WinEventLog://Microsoft-Windows-PowerShell/Operational]
index=<my_index>
sourcetype=<my_sourcetype>
disabled=false
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!

Fuel Your Journey: What’s Waiting for You at the .conf26 Acceleration Station

Navigating the show floor at .conf26 isn't just about keynotes and technical breakout sessions; it's also ...

Join the Final Session of the Data Management & Federation Bootcamp Series

Over the past three sessions of the Data Management & Federation Bootcamp Series, we've explored how to build ...

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...