Description: Returns the Live Logs data for the specified log ID.
Parameter | Description |
---|---|
| Contains the log content chuck (up to 300KB) |
| The log file's last updated timestamp |
| The timestamp of the response |
| The total size of the log file |
Note: This feature is available only for Enterprise+ subscriptions.
Since: Artifactory 7.16.0
Security: Requires a privileged user (admin).
Headers: X-JFrog-Node-Id
Usage: GET /api/system/logs/data?id=log_name[&file_size=file_size]
Artifactory:
api/system/logs/data
Xray, Pipelines and Distribution:
api/v1/system/logs/data
Sample Usage
GET /api/system/logs/data?id=some_log.log&file_size=0 -H "X-JFrog-Node-Id:node1" { "last_update_modified": 1612869112882, "last_update_label": 1612869113059, "log_content": “...” "file_size": 45550 }