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 Page Speed tracking in IIS 8 log files (generation time) #6388

Closed
chiwingv opened this issue Oct 6, 2014 · 1 comment
Closed

Support Page Speed tracking in IIS 8 log files (generation time) #6388

chiwingv opened this issue Oct 6, 2014 · 1 comment
Assignees
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.

Comments

@chiwingv
Copy link

chiwingv commented Oct 6, 2014

Hi There,

I have imported IIS 8 log ( including time-taken field ) into Piwik 2.7.0 successfully.

However the time-taken information is not working as " average generation time " are all 0s in the report.

Not sure it is a incorrect regex or the "generation_time_milli" parameter is not supporting IIS log yet?

( I've tested apache CLF, average generation time is working fine in the report )

log.jpg - the log file content for import. 
#Fields: date time cs-uri-stem cs-uri-query c-ip cs(User-Agent) cs(Referer) sc-status time-taken 
2014-09-27 10:00:00 /api/AutoCompleteService/apiEstateAutoComplete/ keyword=%E6%96%B0%E5%85%83&callback=_jqjsp&_1411811867650= 119.247.34.224 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/37.0.2062.124+Safari/537.36 http://hk.cet.com/home/Index.aspx 200 436000 
![log](https://cloud.githubusercontent.com/assets/9033718/4523559/01cbd500-4d39-11e4-8d20-0e5da9caae8b.jpg)

result.jpg - the import error is " invalid line detected ( line did not match ) "

./import_logs.py --url=http://localhost/piwik/ /var/www/html/piwik/misc/log-analytics/test2.log --idsite=1 --dry-run --show-progress --debug --debug --log-format-regex="(?P<date>^\d+[-\d+]+[\d+:]+) (?P<path>/\S*) (?P<query_string>\S*) (?P<ip>[\d*.]*) (?P<user_agent>\S+) (?P<referrer>\S+) (?P<status>\d+) (?P<generation_time_milli>\S+)" 

result

Many thanks

@mattab mattab changed the title IIS 8 ( time-taken ) support in Piwik 2.7.0 Support Page Speed tracking in IIS 8 log files (generation time) Oct 6, 2014
@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Oct 6, 2014
@mattab mattab added this to the Mid term milestone Oct 6, 2014
@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. c: Log Analytics (import_logs.py) and removed Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels Oct 6, 2014
@mattab mattab modified the milestones: Short term, Mid term Oct 6, 2014
@mattab mattab added Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. and removed Bug For errors / faults / flaws / inconsistencies etc. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. labels Oct 12, 2014
@diosmosis diosmosis self-assigned this Dec 9, 2014
@diosmosis
Copy link
Member

Fixed by #6825.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

3 participants