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
Atlassian-processDailyLog.rb. This will generate a
summary.csvand 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 different
csvfile. For example,
Atlassian-processDailyLog-hourly.rb adminwill process the admin logs extracted in step 3.
- Import the
summary.csvto 'raw stats - daily' sheet and
admin.csvto '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.
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
Was this helpful?Yes Provide feedback about this article
Powered by Confluence and Scroll Viewport.