Example 2:

ARTIFACTORY: How to get the download history of a given package from the logs

AuthorFullName__c
Vaibhav Jain
articleNumber
000005649
ft:sourceType
Salesforce
FirstPublishedDate
2023-03-28T14:23:53Z
lastModifiedDate
2023-03-28
VersionNumber
1
2023-03-21T17:00:01.816Z|561399bd07df0a7|11.115.047.151|test01|GET|/test01-libs-snapshot-local/multi1/multi1/3.7-SNAPSHOT/multi1-3.7-20230321.165450-1.jar|200|-1|1035|13|Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

As shown in the output above, the package "multi1-3.7-20230321.165450-1.jar" has been downloaded by two users, namely admin, and test01. Therefore, the download details for a specific package can be obtained.

If you want to obtain the package download details only for a specific user, you can append "| grep <username>" to the above command.

Note that the above output will only be for the active log files present in the logs directory. Therefore, to obtain complete details, you need to extract all the archived logs.
For more information on logging, please refer to the Artifactory Logging and Artifactory Log Files documentation.
  1. Artifactory - Logging
  2. Artifactory Log Files