Skip to content

Commit

Permalink
Small fix to log analytics readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Oct 9, 2014
1 parent c87ffc4 commit 2f87332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion misc/log-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and will not track bots, static files, or error requests.

If you wish to track all requests the following command would be used:

python /path/to/piwik/misc/log-analytics/import_logs.py --url=http://mysite/piwik/ access.log --idsite=1234 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots
python /path/to/piwik/misc/log-analytics/import_logs.py --url=http://mysite/piwik/ --idsite=1234 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots access.log

## How to import your logs automatically every day?

Expand Down
2 changes: 1 addition & 1 deletion tests/README.testing-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ As a developer it may be useful to generate test data. Follow these steps:
3. Create a Goal eg. URL Contains "blog"
4. Import data from an anonimized test log file in piwik/tests/resources/ directory. Run the following command:

$ python /home/piwik/misc/log-analytics/import_logs.py --url=http://localhost/path/ /path/to/piwik/tests/resources/access.log-dev-anon-9-days-nov-2012.log.bz2 --idsite=1 --enable-http-errors --enable-http-redirects --enable-static --enable-bots
$ python /home/piwik/misc/log-analytics/import_logs.py --url=http://localhost/path/ --idsite=1 --enable-http-errors --enable-http-redirects --enable-static --enable-bots /path/to/piwik/tests/resources/access.log-dev-anon-9-days-nov-2012.log.bz2

This will import 9 days worth of data from Nov 20th-Nov 29th 2012.

Expand Down

0 comments on commit 2f87332

Please sign in to comment.