Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

A few observations (read Filtering in Confluence Access Logging):

 

...

Tip

Monitoring Tools lige Nagios, Zenoss, Datadog etc can seriously fuck up the access logging, so be sure to have some form of either awereness or control over the hits from the monitorsystem, for example by:

  • Frequency
  • Source IP
  • URL or a special Page that the monitoring hits

...

Advarsel

Robots and Spiders etc. can seriouly fuck up the access logging, give false results (or true).... But in general, these are not so interesting to access log.

See some tips at http://www.limov.com/library/do-not-believe-your-web-stats.lml


Logging options

Indholdsfortegnelse

 

Apache/NGIX Access Log

...

What Comment
Timestamp(afkryds) 
Remote IP(fejl) Not if there is a proxy in front, then the IP = 0:0:0:0:0:0:0:1
Username(afkryds) 
Spacename? 
Pagename(fejl)

An URL is logged, but this can due to special chars in the Page Title be something like http://www.mos-eisley.dk/viewpage.action?id=1000 or a Tiny Link to a Confluence page, hence not the Pagename.

http://www.mos-eisley.dk/viewpage.action?id=1000 is just logged as http://www.mos-eisley.dk/pages/viewpage.action

URL(afkryds) 
Return HTTP Code(fejl)This only logs what is "200 OK" requests, not "404 Page not found" and other.
Responsetime(afkryds) 
UserAgent(fejl)  

 

View Tracker

The Plugin: https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.viewtracker/server/overview

I have not tested this. 

Confluence Event Logging

Is possible to use Apatavists Scriptrunner for Confluence to create an Event Handler that logs Page Access (View, Update, Delte etc etc) and Blogs and so on.

...

What Comment
Timestamp(afkryds) 
Remote IP(fejl) 
Username(afkryds)Extracted by the Script and hashed
Spacename(afkryds)Extracted by the Script
Pagename(afkryds)Extracted by the Script
URL(afkryds) 
Return HTTP Code(fejl)This only logs actual Page Events, so no return code is available.
Responsetime(fejl) 
UserAgent(fejl) 

Google Analytics (GA)

The overall best is Google Analytics, that get it all, it gets most of the "good" stuff -  the downside can be that using Google Analytics is not allowed in all organisations, as confidential data can be transmitted over the internet into Google Analytics.

Also, GA is Javascript based, so a lot of traffic will never show up on the GA Dashboard - so it for sure cant be used for any load-/overall logging issues.

You can use Google Analytics natively be inserting a small script in the "Custom HTML" on the admin pages:

...