I don't see any way to get SEM to consume the X-Forwarded-For header in IIS logs. Is there something I am missing?
This depends on what connector you are using. if you want the x-forwarded logs this is in the IIS Advanced connector for your reference
Found this searching - I am using the "Microsoft IIS Web Server 8.5 (W3C Extended file format) Enhanced Logging" connector, even though my web server is IIS 10 (Server 2019), as there is no Enhanced logging connector for IIS 10. I am not seeing the X-Forwarded-For, or any option to grab it. Do you know specifically where to configure this? Thanks!
I check my instance of IIS and if your want to have x-forwarded-for this are not on my default and have to add this in IIS to appear in the logs.
Custom logging became easier to configure with the IIS 8.5. Follow the steps below to add X-Forwarded-For column into IIS logs.
this works for iis 10 and then it appears in the logs now I have not tested to see if sem is looking this because is it custom. you would need to custom the regex for the connector.
How that helps
The X-Forwarded-For data is being captured by IIS, I see it in the logfile. The issue is I cannot get SEM to ingest it. I have a case open for this - I will lets you know how that works out.