4

I am trying to configure my server to overwrite the c-ip value with the real user IP provided by the Load Balancer within the X-Forwarded-For header. This was possible within IIS 7.0 and IIS 8.5 using the Advanced Logging module but the module is not supported anymore in IIS 10.

Did anyone find an alternative of the Advanced Logging module for IIS 10? or at least to overwrite the c-ip values within the logs?

Thanks,
Cristian

Eddie C.
  • 918
  • 10
  • 16
  • Use enhanced logging to write X-Forwarded-For to IIS log files as extra field. Then in your log processing logic, use that field instead of c-ip. – Lex Li Jan 30 '20 at 16:08
  • Thanks @LexLi . That's simple to achieve but the business owner need to have the Original IP inserted into the default C-IP header and not in the custom one. With Advanced Logging it was fairly straight to do that but not with Enhanced Logging. – cristian cruceru Jan 31 '20 at 13:14
  • When Microsoft no longer supports that, it is only feasible to change your own approach. – Lex Li Jan 31 '20 at 13:15

1 Answers1

0

Unfortunately, it has been retired. For older IIS versions check this site.

Eddie C.
  • 918
  • 10
  • 16
fsilva
  • 1
  • 1