How to handle multiple IIS site on a single server

Tags:

#1 Mr_M_Cox

Hi All,

Is there a better solution to capturing IIS logs across multiple sites on a single server than adding an input per site in nxlog.conf?

Thanks,

Matt.

#2 manuel.munozDeactivated Nxlog ✓
#1 Mr_M_Cox

Hi All,

Is there a better solution to capturing IIS logs across multiple sites on a single server than adding an input per site in nxlog.conf?

Thanks,

Matt.

You just need one input module in your collector's config file in order to receive logs from multiple source servers/devices. This is an example: ``` Module im_ssl Host localhost Port 23456 CAFile %CERTDIR%/ca.pem CertFile %CERTDIR%/client-cert.pem CertKeyFile %CERTDIR%/client-key.pem KeyPass secret InputType Binary ``` Then you can install nxlog in each IIS server and push logs using om_ssl in each one of them. ``` Module om_ssl Host localhost Port 23456 CAFile %CERTDIR%/ca.pem CertFile %CERTDIR%/client-cert.pem CertKeyFile %CERTDIR%/client-key.pem KeyPass secret AllowUntrusted TRUE OutputType Binary ```