Once you enable detailed data transfer logs, they appear after a few hours in a dedicated repository in Artifactory called jfrog-billing-logs. The logs are uploaded every hour, and every upload may contain multiple files. The logs appear in JSON Lines format where event entries are separated by line breaks.
Each edge JPD gets its own data transfer logs.
To view the detailed logs in the JFrog Platform UI.
On the JFrog Platform UI, go to Application > Artifactory > Artifacts > jfrog-billing-logs.
Open the file logs. Every time a data transfer event occurs, any available metadata about the event will be logged on logs, including the following parameters:
Parameter
Description
billing_timestampThe
billing_timestampis the event time rounded down to the hour, aligning with the billing cycle. Events logged after the cutoff period are timestamped for the next cycle, shown asYYYY-MM-01 00:00:00.0.event_timestampThe
event_timestampis the timestamp of the event in UTC format.server_nameThe server name.
If your JFrog URL is
myserver.jfrog.io, theserver_nameismyserver.serviceThe JFrog service name: Artifactory or Xray.
actionThe action performed on the artifact: upload or download.
ipThe IP address of the user who performed the action.
repositoryThe repository key.
projectThe project name.
artifact_pathThe path to the artifact that was uploaded or downloaded.
user_nameThe username of the user who performed the action.
package_typeThe package type.
repo_typeThe repository key.
consumption_unitThe unit of measurement: currently only supports bytes.
quantityThe number of consumption units used.
See below an example for a data transfer log .JSON file output.
{"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","package_type":"packageType","repo_type":"repositoryType","consumption_unit": "bytes", "quantity": 1}