Hi Everyone,
I'm building a lab to centralize Windows Event Logs before sending them to Splunk. The objective is to collect Windows event logs from multiple Windows servers at a single Windows Event Collector (WEC), then forward the centralized logs to Splunk using a Universal Forwarder.
AWS VPC
WINSRC01 (Windows Server 2022)
Event Source
│
│
WINSRC02 (Windows Server 2022)
Event Source
│
│
Windows Event Forwarding (WEF)
│
▼
WEC01 (Windows Server 2022)
Windows Event Collector (WEC)
+ Splunk Universal Forwarder
│
│
▼
Splunk Heavy Forwarder (RedHat)
Splunk Enterprise 9.4.1
This design reduces the number of Splunk forwarders and provides a centralized Windows event collection point.
wecutil qcSince the servers are standalone workgroup machines (not joined to Active Directory), we encountered multiple issues while configuring Windows Event Forwarding.
1. Collector-Initiated Subscription
When creating a Collector-Initiated subscription, clicking Select Computers failed because the dialog searches Active Directory for computer objects. Since our servers are not domain joined, Windows could not locate WINSRC01 or WINSRC02.
2. Source-Initiated Subscription
We then switched to a Source-Initiated subscription.
The Event Viewer GUI would not allow us to save the subscription correctly, so we created it using:
wecutil cs WindowsServerLogs.xml
The subscription was created successfully, but it never became active.
Running:
cmd
wecutil gr WindowsServerLogs
returned:
RunTimeStatus : Inactive
LastError : 1337
ErrorMessage : The security ID structure is invalid.
The subscription creation command also reported:
The subscription is saved successfully,
but it can't be activated at this time.
Error = 0x3ae8
The subscription fails to activate.
Additional Observation
Running:
cmd
wecutil gs WindowsServerLogs
shows:
AllowedSourceDomainComputers:
O:NSG:NSD:(A;;GA;;;DC)(A;;GA;;;NS)
which appears to be a security descriptor intended for domain computers, even though our environment consists entirely of workgroup servers.
Question
Has anyone successfully implemented Windows Event Forwarding in a standalone workgroup environment using the architecture shown above?
Specifically:
Is Source-Initiated WEF over HTTP supported without Active Directory?
Does the LastError: 1337 (The security ID structure is invalid) indicate that the collector is expecting domain-based security identifiers?
Is HTTPS with certificates required for workgroup-based Source-Initiated subscriptions?
Would it be better to deploy Active Directory and use Kerberos authentication for this architecture?
Any guidance or working examples would be greatly appreciated.
Thank you!
I haven't worked with it for quite a while (I had a non-AD WEF setup some 5+ years ago) but I seem to recall that without AD WEF worked only in one mode (apparently it is pull only).
And it required an insane amount of work to establish the trust relation between the source and the collector (AFAIR it was all based on cert-based authentication and there was no way around it).
So you'd be much better of with just installing the UF on the source machines if you have that possibility.
BTW, if you do have AD environment WEF is a very easy thing to set up.