-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Windows container FluentD querying Windows event logs #65
Comments
Currently, fluent-plugin-windows-eventlog's in_windows_eventlog2 does not provide remote accessing feature. |
This comment has been minimized.
This comment has been minimized.
Ah, I got it. |
Great! Yes, this would require some form of remote access with credentials to the host VM. And also opening up network and firewall access. My vote is to start with approach 2 - it should work for most scenarios and has lower security surface area than approach 1. Eventually, approach 3 should be considered to make management easier for large enterprise deployments. Approach 1: WinRM based remoting e.g. Powershell remoting
Approach 2: Eventlog remoting
Approach 3: gMSA (Group managed service account) accounts
I'm new to Ruby so lack in-depth knowledge on how to develop this but I'm happy to help for any Windows related questions to make this work. I have built working prototypes for some these approaches in other languages. |
I think that approach 2 is better.
I'm confirming for I'm not sure gMSA accounts but |
Using Negotiate is better. It automatically does NTLM or Kerberos authentication depending on what the client supports. About gMSA: In approach 2, FluentD accepts username and password for authentication. The disadvantage is higher operations workload - the administrator has to create, distribute, and manage password rotation of user account to all VMs. In approach 3, administration is easier. Container automatically runs as gMSA account and doesn't require username and password. This is very easy to administer. I agree that we should first get approach 2 working. |
I’d created a PR to support remoting access for Windows EventLog: |
I’d published |
Hi @cosmo0920 , how are you? |
Is your feature request related to a problem? Please describe.
FluentD can run within a container on Windows. But when running in this mode, this plugin cannot get the underlying VM's Windows event logs.
Describe the solution you'd like
Allow this plugin to capture Windows event logs when running inside a Windows container. Remote event log access, WMI Remoting, Powershell remoting, CIM sessions, etc. could be used for establishing this connection.
Describe alternatives you've considered
There is no way of running this plugin to get underlying VM's event logs from within a container. Only option is to run as a service on Windows outside of a container.
The text was updated successfully, but these errors were encountered: