Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
facilities:slq_wiki:logging [2019/12/11 14:31]
Andrei Maberley
facilities:slq_wiki:logging [2019/12/12 09:58]
Andrei Maberley
Line 29: Line 29:
 =====Parsing the access.log===== =====Parsing the access.log=====
  
-In this case I've copied the access log from /data/access.log to work on it.  We want:+In this case I've copied the access log from /data/meta/access.log to work on it.  We want:
  
   * quarterly log   * quarterly log
Line 66: Line 66:
 To work out how many pages have been created, we need to go back to dokuwiki's metadata.  What we want is the metadata stored in  .changes file for each page and media file, that was created in our date range, and __not__ created by one of our team.  The changes file on an newly created page inside /data/meta/ looks like: To work out how many pages have been created, we need to go back to dokuwiki's metadata.  What we want is the metadata stored in  .changes file for each page and media file, that was created in our date range, and __not__ created by one of our team.  The changes file on an newly created page inside /data/meta/ looks like:
  
-   1487560052 192.168.6.90 C workshops mick created 18942+   1487560052 192.168.6.90 C workshops xxxxx created 18942
        
 "1487560052" is the timestamp in [[https://en.wikipedia.org/wiki/Unix_time|unix time]]  the second is the IP address, "C" means created, and "mick" is our users name. Thats all we need. "1487560052" is the timestamp in [[https://en.wikipedia.org/wiki/Unix_time|unix time]]  the second is the IP address, "C" means created, and "mick" is our users name. Thats all we need.

We acknowledge Aboriginal and Torres Strait Islander peoples and their continuing connection to land and as custodians of stories for millennia. We are inspired by this tradition in our work to share and preserve Queensland's memory for future generations.