Monday, September 4, 2017

WebAPI routes in IIS Logs

Leave a Comment

I have a large Web API project that runs my company's e-commerce site. I just noticed that any request to the web API shows the URI-stem as root in the IIS logs. Is there a way to see the full route to the API end point that was called?

I am trying to use File Beats in our Elastic Search/Log Stash/Kibana (ELK) setup. We got the File Beat setup to monitor the IIS log today and just showing the root does not give us the information that we are looking for in our logging.

1 Answers

Answers 1

Activate the Host(cs-host) field in the IIS managament console logging window. You can also try to add the HTTP_URL custom server variable:

IIS Management Console Logging Configuration

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment