Forcing the google requests to be from before of a month ago.

This commit is contained in:
Sergiotarxz 2023-05-07 22:51:48 +02:00
parent 8269df919e
commit cc57650c28
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ sub get_google_data {
FROM paths right join requests on paths.path = requests.path
WHERE paths.last_seen > NOW() - INTERVAL '1 month'
and requests.referer ~* $GOOGLE_REFERER_REGEX
and requests.date > NOW() - INTERVAL '1 month'
GROUP BY
paths.path;
EOF