Getting Data In

Automatically detect new windows hosts for WMI data collection?

wilhelmF
Path Finder

Our company has a cloud. For the cloud VMs we don't want to install Splunk Agents on every new VM and therefore we would like to receive the Windows Events via WMI. We know about the disatvantages but we need to go down this road. My question is there a way that we can automatically collect eventlogs from every new VM without specifing the new VM in the conf file?

0 Karma

FrankVl
Ultra Champion

Only thing I can think of is somehow automating the maintenance of the conf file. Set up some script that gets an updated list of hosts from some source (AD?) and generates the required WMI configuration for each of them.

An alternative could be to look at using Windows Event Forwarding, to sent events from all your VMs to a smaller set of collectors, on which you then install a Universal Forwarder to collect and forward the logs. Windows Event Fowarding (using source initiated subscriptions) can be managed through GPOs and in such a way that I think it should work in such a dynamic environment (although you might have some challenges properly distributing the load across the collectors, but that also depends on how large the environment is).

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...