Knowledge Management

some questions about

vinchakov_a
Path Finder

Hello, I am a beginner in splunk. I started implementing an enterprise splunk. At present from splunk I need monitoring of files, the register and logs, and some perfmon counters. But I met difficulties. I nave:
1) FileSystem monitoring:

[fschange:C:\Windows\System32]
pollPeriod = 3600
index = fschange
filters = ignore_logs
signedaudit = false
hashMaxSize = 104857600
recurse = true
followLinks = false
fullEvent = false
sendEventMaxSize = -1
filesPerDelay = 100
delayInMills = 1000

But when I create the directory (file), or I delete, splunk doesn't report to me about it.

2) Monitoring free space

[perfmon://LocalPhysicalDisk]
interval = 300
object = PhysicalDisk
counters = % Free Space; Free Megabytes
disabled = 0
instances = *
index = perfmon

It at all doesn't work.

3) Monitoring windows registry

[WinRegMon://RegistryMonitor]
baseline = 0
disabled = 0
hive = \\REGISTRY\\MACHINE\\SYSTEM\\CurrentControlSet\\?.*
proc = C:\\.*
index = winreg
type = rename|set|delete|create

It at all doesn't work.

Can you help me?

Tags (2)
0 Karma
1 Solution

linu1988
Champion

Hello,
On first look perfmon object is wrong. Physical Disk doesn't have those counters, Logical disk has.

[perfmon://LocalPhysicalDisk]
interval = 300
object = LogicalDisk
counters = % Free Space; Free Megabytes
disabled = 0
instances = *
index = perfmon

Regmon you have provided path in "proc" rather than the process name.

Use Monitor instead of fschange which is depreciated. But you need to put more logic to find out the file creation and deletion.

More details you can refer this:

http://docs.splunk.com/Documentation/Splunk/6.0.2/admin/inputsconf

Thanks

View solution in original post

linu1988
Champion

Hello,
On first look perfmon object is wrong. Physical Disk doesn't have those counters, Logical disk has.

[perfmon://LocalPhysicalDisk]
interval = 300
object = LogicalDisk
counters = % Free Space; Free Megabytes
disabled = 0
instances = *
index = perfmon

Regmon you have provided path in "proc" rather than the process name.

Use Monitor instead of fschange which is depreciated. But you need to put more logic to find out the file creation and deletion.

More details you can refer this:

http://docs.splunk.com/Documentation/Splunk/6.0.2/admin/inputsconf

Thanks

vinchakov_a
Path Finder

Yes, at last I made the register monitoring. It is necessary to set up monitoring of file system

0 Karma

vinchakov_a
Path Finder

Thanks, the first issue is resolved. I read input.conf, but didn't find specific examples about registry and monitoring of file system with a hash with monitor

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!

Recap | Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Recap | Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...