{"id":31770021,"url":"https://github.com/jfrog/live-logs","last_synced_at":"2025-10-10T02:56:27.823Z","repository":{"id":44910940,"uuid":"343680051","full_name":"jfrog/live-logs","owner":"jfrog","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-04T19:54:23.000Z","size":123,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-08-01T21:16:04.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfrog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-02T07:14:37.000Z","updated_at":"2023-11-14T16:16:55.000Z","dependencies_parsed_at":"2024-06-19T16:22:57.767Z","dependency_job_id":"2f1b8018-a427-4d7c-afb0-fe681a0302cf","html_url":"https://github.com/jfrog/live-logs","commit_stats":{"total_commits":24,"total_committers":6,"mean_commits":4.0,"dds":"0.33333333333333337","last_synced_commit":"209e27d782190496348abb677e183ca62acfd713"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jfrog/live-logs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Flive-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Flive-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Flive-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Flive-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfrog","download_url":"https://codeload.github.com/jfrog/live-logs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Flive-logs/sbom","scorecard":{"id":517681,"data":{"date":"2025-08-11","repo":{"name":"github.com/jfrog/live-logs","commit":"209e27d782190496348abb677e183ca62acfd713"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.8,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":7,"reason":"Found 10/14 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/jfrog/.github/SECURITY.md:1","Info: Found linked content: github.com/jfrog/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/jfrog/.github/SECURITY.md:1","Info: Found text in security policy: github.com/jfrog/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T02:13:58.443Z","repository_id":44910940,"created_at":"2025-08-20T02:13:58.443Z","updated_at":"2025-08-20T02:13:58.443Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002512,"owners_count":26083403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-10T02:56:22.901Z","updated_at":"2025-10-10T02:56:27.818Z","avatar_url":"https://github.com/jfrog.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# live-logs\n\n## About the Live Logs Plugin\nThe JFrog Platform includes an integrated Live Logs plugin, which allows customers to get the JFrog product logs (Artifactory, Xray, Mission Control, Distribution, and Pipelines) using the JFrog CLI Plugin. The plugin also provides the ability to `cat` and `tail -f` any log on any product node.\u003cbr\u003e\n\n**Note:** \nThe Live Logs plugin is available to:\n* Self-Hosted customers who are Enterprise | Enterprise+ subscriptions. Admin permissions are required to run this plugin. \n* Cloud customers who are Enterprise+ subscriptions excluding of JFrog Xray and JFrog Pipelines.\n\u003cbr\u003e\n\nThe log types that are supported as part of the CLI plugin for Live Logs are as follows:\n\nArtifactory | Distribution:\n\n    *-request.log\n\nMission Control:\n\n    \"*-request.log,mc-error.log\"\n\n## Requirements\n\nThe plugin requires the following prerequisites,\n\n- JFrog CLI 1.45.1+\n- Artifactory 7.17.0+\n- Mission Control 4.7.0+\n- Xray 3.18.0+\n- Distribution 2.7.0+\n- Pipelines 1.13.0+\n\n## Installation with JFrog CLI\nInstalling the latest version:\n```\njf plugin install live-logs\n```\n\nInstalling a specific version:\n```\njf plugin install live-logs@version\n```\n\nUninstalling a plugin\n```\njf plugin uninstall live-logs\n```\n\n## Building from sources\nFollow these steps to install and use this plugin with JFrog CLI.\n1. Verify that JFrog CLI is installed on your machine by running ```jf```; if it is not installed, install it (see [Installing JFrog CLI](https://jfrog.com/getcli/).\n2. Create a directory named ```plugins``` under ```~/.jfrog/``` if it does not exist already.\n3. Clone this repository.\n4. `cd` into the root directory of the cloned project.\n5. Run ```make build``` to create the binary in the current directory.\n6. Copy the binary into the ```~/.jfrog/plugins``` directory.\n\n## Note:\n- Xray, Mission Control, Pipelines, and Distribution **only support admin access token authentication**, while, Artifactory supports all types of authentication. \n- The scope of the generated access token is limited to the corresponding product.\n- For every product, a new dedicated entry will need to be added. For example, if you want to stream logs from 3 products, a separate entry will need to be configured for each product in the JFrog CLI (so is 3 entries).\n\n## CLI Configuration by Product\n\n### Configuring Artifactory\n1. Add a new server using,\n\n    ```\n    jf c add\n    ```\n2. Add the Artifactory URL and authentication details.\n\n### Configuring Mission Control\n1. Add a new server using,\n\n    ```\n    jf c add\n    ```\n2. Add the Mission Control URL.\n3. Generate the access token for Mission Control (see [Generating Admin Tokens](https://www.jfrog.com/confluence/display/JFROG/Access+Tokens#AccessTokens-GeneratingAdminTokens)).\n4. Add the access token you generated for Mission Control.\n\n### Configuring Xray\n1. Add a new server using,\n\n    ```\n    jf c add\n    ```\n2. Add the Xray URL.\n3. Generate the access token for Xray (see [Generating Admin Tokens](https://www.jfrog.com/confluence/display/JFROG/Access+Tokens#AccessTokens-GeneratingAdminTokens)).\n4. Add the access token you generated for Xray.\n\n### Configuring Distribution\n1. Add a new server using,\n\n    ```\n    jf c add\n    ```\n2. Add the Distribution URL.\n3. Generate the access token for Distribution (see [Generating Admin Tokens](https://www.jfrog.com/confluence/display/JFROG/Access+Tokens#AccessTokens-GeneratingAdminTokens)).\n4. Add the access token you generated for Distribution as follows.\n\n### Configuring Pipelines\n1. Add a new server using,\n\n    ```\n    jf c add\n    ```\n2. Add the Pipelines URL.\n3. Generate the access token for Pipelines (see [Generating Admin Tokens](https://www.jfrog.com/confluence/display/JFROG/Access+Tokens#AccessTokens-GeneratingAdminTokens)).\n4. Add the access token you generated for Pipelines.\n\n## Usage\n### Commands\n* help\n    ```\n    jf live-logs --help\n    jf live-logs config --help\n    jf live-logs logs --help  \n    ```\n\n* config\n\n  ```\n  jf live-logs config \u003cproduct-id\u003e \u003cserver-id\u003e [Flags]\n  ```\n    - Arguments:\n        - product-id - The ID of product, which can be one of the following,\n            - rt - Artifactory\n            - mc - Mission Control\n            - xr - Xray\n            - ds - Distribution\n            - pl - Pipelines\n        - server-id - The JFrog CLI platform server ID.\n    - Flags:\n        - i: Open interactive menu **[Default: false]**\n    - Example:\n\n```\n$ jf live-logs config rt local-rt\n{\n  \"logs\": [\n    \"access-request.log\",\n    \"artifactory-request.log\",\n    \"event-request.log\",\n    \"metadata-request.log\"\n  ],\n  \"nodes\": [\n    \"node1\",\n    \"node2\"\n  ]\n}\n```\n```\n$ jf live-logs config -i    \nSelect JFrog CLI product id\n✔ rt\nSelect JFrog CLI server id\n✔ local-rt\n{\n  \"logs\": [\n    \"access-request.log\",\n    \"artifactory-request.log\",\n    \"event-request.log\",\n    \"metadata-request.log\"\n  ],\n  \"nodes\": [\n    \"node1\",\n    \"node2\"\n  ]\n}\n```\n* logs\n\n    ```\n    jf live-logs logs \u003cproduct-id\u003e \u003cserver-id\u003e \u003cnode-id\u003e \u003clog-name\u003e [Flags]\n    ```\n    - Arguments:\n        - product-id - This is the ID of product, which can be one of the following,\n            - rt - Artifactory\n            - mc - Mission Control\n            - xr - Xray\n            - ds - Distribution\n            - pl - Pipelines\n        - server-id - This is the JFrog CLI platform server ID.\n        - node-id - This is the selected product node ID.\n        - log-name - This is the selected product log name.\n    - Flags:\n        - i: Open interactive menu **[Default: false]**\n        - f: Show the log and keep following for changes **[Default: false]**\n    - Example:\n    ```\n  $ jf live-logs logs rt local-arti 2368364e2c78 artifactory-service.log -f | grep INFO\n    2021-03-25T04:00:00.006Z [jfrt ] [INFO ] [d76675e362ffbd6a] [.s.d.b.s.g.GarbageCollector:66] [art-exec-11         ] - Starting GC strategy 'TRASH_AND_BINARIES'\n    2021-03-25T04:00:00.012Z [jfrt ] [INFO ] [d76675e362ffbd6a] [.s.d.b.s.g.GarbageCollector:68] [art-exec-11         ] - Finished GC Strategy 'TRASH_AND_BINARIES'\n    2021-03-25T04:30:34.196Z [jfrt ] [INFO ] [94109ae150da76e ] [aseBundleCleanupServiceImpl:84] [art-exec-16         ] - Starting to cleanup incomplete Release Bundles\n    2021-03-25T04:30:34.199Z [jfrt ] [INFO ] [94109ae150da76e ] [aseBundleCleanupServiceImpl:90] [art-exec-16         ] - Finished incomplete Release Bundles cleanup  \n    ```\n    ```\n  $ jf live-logs logs -i\n  Select JFrog CLI product id\n  ✔ rt\n  Select JFrog CLI server id\n  ✔ local-arti\n  Select node id\n  ✔ 2368364e2c78\n  Select log name\n  ✔ artifactory-service.log\n  2021-03-25T04:00:00.006Z [jfrt ] [INFO ] [d76675e362ffbd6a] [.s.d.b.s.g.GarbageCollector:66] [art-exec-11         ] - Starting GC strategy 'TRASH_AND_BINARIES'\n  2021-03-25T04:00:00.012Z [jfrt ] [INFO ] [d76675e362ffbd6a] [.s.d.b.s.g.GarbageCollector:68] [art-exec-11         ] - Finished GC Strategy 'TRASH_AND_BINARIES'\n  2021-03-25T04:30:34.196Z [jfrt ] [INFO ] [94109ae150da76e ] [aseBundleCleanupServiceImpl:84] [art-exec-16         ] - Starting to cleanup incomplete Release Bundles\n  2021-03-25T04:30:34.199Z [jfrt ] [INFO ] [94109ae150da76e ] [aseBundleCleanupServiceImpl:90] [art-exec-16         ] - Finished incomplete Release Bundles cleanup  \n  ```\n  \n## Using JFrog CLI\nIf you use an argument incorrectly, the CLI will suggest the correct value.\n\u003cbr\u003eFor example:\n```\n$ jf live-logs logs local-artii 2368364e2c78 artifactory-service.log\n[Error] server id not found [local-artii], consider using one of the following server id values [remote-arti,local-arti]\n```\n## Release Notes\nThe release notes are available [here](RELEASE.md).\n\n## Additional Information\nLive Logs are viewable through the JFrog Platform, and are configured through the system.yaml file. For more information, see [Enabling the Live Log Feature](https://www.jfrog.com/confluence/display/JFROG/Logging+-+Temp#Logging-EnablingtheLiveLogFeature).\n\nIn addition, there are two APIs used with this plugin; for more information, see [Live Logs Plugin](https://www.jfrog.com/confluence/display/JFROG/Live+Logs#LiveLogs-EnablingtheLiveLogsPlugin).\n\n## Contributions\nA big THANK YOU to the developers for coming up with this idea and building the core!\n\n[omerkay](https://github.com/omerkay)\n\n[hanoch-jfrog](https://github.com/hanoch-jfrog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfrog%2Flive-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfrog%2Flive-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfrog%2Flive-logs/lists"}