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!

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

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...