Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Advanced Logging logformat IIS #261

Closed
wants to merge 7 commits into from
Closed

Conversation

ghost
Copy link

@ghost ghost commented Apr 15, 2014

I use the Advanced Logging module for IIS because i want to log the X-forward header in the IIS-weblog.
Our webservers are behind a Haproxy load-balancer.

Unfortunately, the log-format differs:

Regular W3C-IIS log:

Software: Microsoft Internet Information Services 7.5

Version: 1.0

Date: 2014-04-08 08:48:17

Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port

cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
time-taken
2014-04-08 11:49:08 10.123.45.67 GET /images/elements/jquery.colorbox.js -
443 - 192.168.1.1
Mozilla/5.0+(Macintosh;+Intel+Mac+OS+X+10.9;+rv:28.0)+Gecko/20100101+Firefo
x/28.0 200 0 0 44

Advanced Logging:

Software: IIS Advanced Logging Module

Version: 1.0

Start-Date: 2014-04-10 12:40:24.191

Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port

cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
time-taken
2014-04-10 12:40:24.190 - GET /Common/shop/shoppingcartAJAX.asp - 80 -
192.168.1.1 "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36" 200 0 0 2036

The user-agent field doesn't use the '+' delimiter and the 'time' field adds milliseconds.
Is it possible to add support for Advanced Logging?

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants