Microsoft Windows

How to get Windows data into your Splunk deployment

Windows data you can collect
Link to supporting documentation

Powershell

Monitor Windows data with PowerShell scripts

How to Use PowerShell Transcription Logs in Splunk

#Monitor PowerShell transcript logs
[monitor://C:\pstrans\*\*.txt]
sourcetype = powershell:transcript
index = powershell
disabled = 0
multiline_event_extra_waittime = true
time_before_close = 300

#Monitor PowerShell Windows Event Logs
[WinEventLog://Microsoft-Windows-PowerShell/Operational]
disabled = 0
renderXml = 1
index = powershell
source = XmlWinEventLog:Microsoft-Windows-PowerShell/Operational
sourcetype = XmlWinEventLog
[WinEventLog://Windows PowerShell]
disabled = 0
index=wineventlog

Last updated