Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebAPI routes in IIS Logs

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.

like image 830
fizch Avatar asked Aug 25 '17 13:08

fizch


Video Answer


1 Answers

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

like image 66
Isma Avatar answered Oct 11 '22 18:10

Isma