Getting Data In

Configuring a Win Universal Forwarder to monitor Win Registry Events

aaronnicoli
Path Finder

Hi all,

I am currently needing to provide our mid-range team with some config to begin monitoring windows registry data on a Win03 box running Splunk Universal Forwarder.
The problem is this, I have pretty much zero knowledge on the Win specific stuff, I only deal in the linux space.

So, after trawling the net I have come up empty on the "exact" required changes to Splunk .conf files in order to enable windows registry monitoring.
We currently have the forwarder installed and monitoring Windows events which is working successfully.

Is anyone able to give me some example config to monitor Windows registry events?
Thing I would most be interested in is the additions required to inputs.conf

Any help would be very very appreciated.

Thanks,
Aaron.

0 Karma
1 Solution

aaronnicoli
Path Finder

Worked it out eventually...

Added this to inputs.conf

[script://$SPLUNK_HOME\bin\scripts\splunk-regmon.path]
disabled = 0
interval = 10000000
source = WinRegistry 
sourcetype=WinRegistry
queue = winparsing
persistentQueueSize=50MB

And created install_path/etc/system/local/regmon-filters.conf, with this:

[RegistryMonitor]
baseline = 0
disabled = 0
hive = HKEY_LOCAL_MACHINE\\?.*
index = system
proc = C:\\.*
type = rename|close|set|delete|open|create|query

Worked.

View solution in original post

aaronnicoli
Path Finder

Worked it out eventually...

Added this to inputs.conf

[script://$SPLUNK_HOME\bin\scripts\splunk-regmon.path]
disabled = 0
interval = 10000000
source = WinRegistry 
sourcetype=WinRegistry
queue = winparsing
persistentQueueSize=50MB

And created install_path/etc/system/local/regmon-filters.conf, with this:

[RegistryMonitor]
baseline = 0
disabled = 0
hive = HKEY_LOCAL_MACHINE\\?.*
index = system
proc = C:\\.*
type = rename|close|set|delete|open|create|query

Worked.

SplunkUser5888
Path Finder

You just saved my life 😜

0 Karma
Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...