Access Log Scripts
The access log scripts are attached to this page. To use the scripts:
- Unzip the 7z file.
- Copy all the daily access logs to a folder called
logs
. - Run
Atlassian-processDailyLog.rb
. This will generate acsv
file calledsummary.csv
and several directories which contain the access logs of each defined user action. - Run the appropriate script
Atlassian-processDailyLog-hourly.rb <admin/comment/create/edit/search/rss>
. Each script will generate a differentcsv
file. For example,Atlassian-processDailyLog-hourly.rb admin
will process the admin logs extracted in step 3. - Import the
csv
files towww-log-Analysis.xls
(summary.csv
to 'raw stats - daily' sheet andadmin.csv
to 'admin -hours' sheet, etc) to generate the load profiles and graphs. You may need to modify the number of rows in each sheet depending on the number of logs.
Note
All scripts are written in Ruby and assume the log file name contains the string 'confluence.atlassian.com-access.log'. Scripts need to be changed if another name is used. Modify the line: filenameRegexp = Regexp.new('confluence.atlassian.com-access.log')
Last modified on Jan 28, 2021
Powered by Confluence and Scroll Viewport.