Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

"console core:delete-logs-data" does not consider the time difference from GMT

$
0
0

@cmt_all wrote:

The following log is imported.

10.10.20.216 - - [06/Jan/2015:08:59:59 +0900] "GET /test.html HTTP/1.1" 200 317 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"
10.10.20.217 - - [06/Jan/2015:09:00:00 +0900] "GET /test.html HTTP/1.1" 200 317 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"
10.10.20.218 - - [06/Jan/2015:09:00:01 +0900] "GET /test.html HTTP/1.1" 200 317 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"
10.10.20.216 - - [07/Jan/2015:08:59:59 +0900] "GET /test.html HTTP/1.1" 200 317 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"
10.10.20.217 - - [07/Jan/2015:09:00:00 +0900] "GET /test.html HTTP/1.1" 200 317 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"
10.10.20.218 - - [07/Jan/2015:09:00:01 +0900] "GET /test.html HTTP/1.1" 200 317 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"

Then I ran the following command.

console core:delete-logs-data --dates=2015/01/06,2015/01/07
console core:invalidate-report-data --dates=2015-01-06

As a result, following data remains in the visitor log.

10.10.20.216 - - [06/Jan/2015:08:59:59 +0900] "GET /test.html HTTP/1.1" 200 317 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"
10.10.20.217 - - [07/Jan/2015:09:00:00 +0900] "GET /test.html HTTP/1.1" 200 317 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"
10.10.20.218 - - [07/Jan/2015:09:00:01 +0900] "GET /test.html HTTP/1.1" 200 317 "-" "Mozilla/5.0 (Windows NT 6.1; rv:29.0) Gecko/20100101 Firefox/29.0"

This command ("console core:delete-logs-data") does not consider the time difference from GMT.

We are running our server at JST (GMT +0900).
Piwik version is 2.16.0.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles