ARTIFACTORY: Measuring Data Transfer for Assets in JFrog Artifactory Cloud: Understanding Usage Scenarios and Analyzing Logs
In this article, we will explore the existing solutions that are relevant for analyzing and monitoring usage in a Cloud JFrog Artifactory SaaS Platform.
- MyJFrog Portal
- Self-analyzing dedicated Cloud logs
MyJFrog Portal
In this portal, you may look in the Billing or Usage sections to get the relevant information.
The 'Breakdown per repo' feature allows you to drill down into your precise usage per repository:
You may explore the additional features available to improve your JFrog Cloud experience.
Self-analyzing dedicated Cloud logs:We provide the below native logging solutions to our customers:
- Enable Data Transfer logs feature through MyJFrog Portal - You may analyze the data per your requirements & needs (it will create a new repository with detailed information about usage \ transfer)
Example of a log that will be uploaded to ‘jfrog-billing-logs’ repository:
{"billing_timestamp": "2022-06-01 00:00:00.0","event_timestamp": "2022-05-31 23:50:00.0", "server_name": "serverName", "service": "artifactory","action": "download","project": "projectName", "user_name": "userName", "ip": "11.111.11.111","repository": "repositoryName","artifact_path": "artifactPath","consumption_unit": "bytes", "quantity": 1}
{"billing_timestamp": "2022-05-30 10:00:00.0", "server_name": "serverName", "service": "artifactory","action": "download","project": "projectName", "user_name": "userName", "ip": "11.111.11.111","repository": "repositoryName","artifact_path": "artifactPath","consumption_unit": "bytes", "quantity": 1}
- Enable the Cloud Log Collection feature by executing an API:
which will create a dedicated repository 'jfrog-logs' and store there the native logs from Artifactory, such as artifactory-request.log and audit-trail-log: