Log delivery

WebSonic.io can deliver your request access logs to popular storage services like Amazon S3 and Alibaba object storage service.

How to enable log delivery?

Save log delivery settings under developers tab. You can choose the bucket name and a prefix if you want WebSonic.io to save log files under a specific folder.

Log delivery settings

Timing of Log File Delivery

WebSonic.io delivers access log files every 3 minutes but this might vary based on traffic volume.

Understanding log file format

Filename convention

Log files are gzipped and filenames follow a specific convention so that you can download and parse them for your analysis.

Example log file name - imagekit.io-2020-2-11-17-1581419825663.gz

Filename convention - {hostname}-{year}-{month}-{date}-{hour}-{minute}-{random Identifier}.gz

The year, month, date, hour and minute is in UTC.

Log file format

WebSonic.io uses Amazon CloudFront CDN and uses the same format. You can learn more about the fields and possible values from this documentation.

Example log file content:

2020-02-12 17:16:04 CDG3-C2 483 87.244.91.145 GET d2c83k61tcw1r9.cloudfront.net /api/session/check 200 https://imagekit.io/dashboard Mozilla/5.0%20(Macintosh;%20Intel%20Mac%20OS%20X%2010_14_5)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/79.0.3945.130%20Safari/537.36 - - Miss GuDsexxb-EbV52wHkmQUpX2Je3qAc5xZZF-WShdrOyJIT-1eapgLZw== imagekit.io https 43 0.884 - TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 Miss HTTP/2.0 - - 53366 0.884 Miss text/plain;%20charset=utf-8 2 - -
2020-02-12 17:16:08 LHR62-C5 758 91.239.125.60 GET d2c83k61tcw1r9.cloudfront.net /sitemap.xml 301 http://imagekit.io/sitemap.xml Mozilla/5.0%20(Windows%20NT%206.2;%20WOW64)%20AppleWebKit/537.4%20(KHTML,%20like%20Gecko)%20Chrome/98%20Safari/537.4%20(StatusCake) - - Miss 4038TWeyXtB_arGeHG3SoMTEA_CNZ0Aj6v_fz0Xw4eAPbYrWIMn2AA== imagekit.io https 449 0.884 - TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 Miss HTTP/1.1 - - 36503 0.884 Miss text/html 169 - -
2020-02-12 17:16:07 KUL50-C1 979 128.199.155.255 POST d2c83k61tcw1r9.cloudfront.net /login 302 https://imagekit.io/login Mozilla/5.0%20(Macintosh;%20Intel%20Mac%20OS%20X%2010_14_3)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/77.0.3865.90%20Safari/537.36 - - Miss hjtDqzVfyBZaEZoaYALukXmZVrScFbbjIfviF_aJ6k4R15GwYRvfww== imagekit.io https 1373 1.362 - TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 Miss HTTP/1.1 - - 34140 1.362 Miss text/html;%20charset=utf-8 64 - -
2020-02-12 17:16:00 MUC51 481 93.104.247.203 GET d2c83k61tcw1r9.cloudfront.net /api/session/check 200 https://imagekit.io/dashboard Mozilla/5.0%20(X11;%20Linux%20x86_64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/74.0.3729.131%20Safari/537.36 - - Miss uQXtw0kapWLbRwkt9Bb8NPN6FQIBkOfPruONv4iRz_lfki_A1Gv5dw== imagekit.io https 55 0.907 - TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 Miss HTTP/2.0 - - 40182 0.906 Miss text/plain;%20charset=utf-8 2 - -
2020-02-12 17:16:10 ARN53 480 81.16.170.156 GET d2c83k61tcw1r9.cloudfront.net /api/session/check 200 https://imagekit.io/dashboard Mozilla/5.0%20(Windows%20NT%2010.0;%20Win64;%20x64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/80.0.3987.100%20Safari/537.36 - - Miss CPjDSatD8zEBP_lc_D75Kflwfcxe-_JfsfRY4cIe92ozsXb6cknoxA== imagekit.io https 49 1.365 - TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 Miss HTTP/2.0 - - 57021 1.365 Miss text/plain;%20charset=utf-8 2 - -