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_timestamp
Timestamp of the event in UTC format.
event_timestamp
Timestamp of the event in UTC format. Optional: this parameter only appears in case that the log was added past the billing period and will be included in the next billing period. If
event_timestamp
is included in the log, thebilling_timestamp
will appear as follows:YYYY-MM-01 00:00:00.0
.server_name
The server name.
If your JFrog URL is
myserver.jfrog.io
, theserverName
ismyserver
.service
The JFrog service name: Artifactory or Xray.
action
The action performed on the artifact: upload or download.
ip
The IP address of the user who performed the action.
repository
The repository key.
project
The project name.
artifact_path
The path to the artifact that was uploaded or downloaded.
user_name
The username of the user who performed the action.
package_type
The package type.
repo_type
The repository key.
consumption_unit
The unit of measurement: currently only supports bytes.
quantity
The 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}