{"id":30883280,"url":"https://github.com/globocom/glog-cli","last_synced_at":"2025-09-08T09:44:13.032Z","repository":{"id":57435017,"uuid":"68817584","full_name":"globocom/glog-cli","owner":"globocom","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-04T15:09:52.000Z","size":98,"stargazers_count":28,"open_issues_count":10,"forks_count":13,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-09-04T10:09:39.246Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/globocom.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-21T13:05:17.000Z","updated_at":"2022-10-13T23:13:00.000Z","dependencies_parsed_at":"2023-01-31T01:10:19.287Z","dependency_job_id":null,"html_url":"https://github.com/globocom/glog-cli","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/globocom/glog-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fglog-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fglog-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fglog-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fglog-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/globocom","download_url":"https://codeload.github.com/globocom/glog-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fglog-cli/sbom","scorecard":{"id":430055,"data":{"date":"2025-08-11","repo":{"name":"github.com/globocom/glog-cli","commit":"502c75c069019ae195dd64b390792296a6d8ad9b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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":"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":"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":4,"reason":"Found 6/13 approved changesets -- score normalized to 4","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":"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":"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":"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":"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":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"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":"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 'master'"],"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":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg","Warn: Project is vulnerable to: PYSEC-2015-17","Warn: Project is vulnerable to: PYSEC-2023-74","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"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 23 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-19T03:07:34.164Z","repository_id":57435017,"created_at":"2025-08-19T03:07:34.164Z","updated_at":"2025-08-19T03:07:34.164Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274166943,"owners_count":25233959,"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-09-08T02:00:09.813Z","response_time":121,"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-09-08T09:44:08.812Z","updated_at":"2025-09-08T09:44:13.022Z","avatar_url":"https://github.com/globocom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Glog-CLI\n===============================\n\n* Free software: Apache Software License 2.0\n\nGlog-CLI is an open source command line interface for Graylog2.\n\n## Installation\n\nRequirements: Python 2\n\nTry:\n\n```bash\npip install glogcli\n```\n\nor:\n\n```bash\neasy_install glogcli\n```\n\nor you can even install it from a GitHub clone:\n\n```bash\ngit clone https://github.com/globocom/glog-cli\ncd glog-cli/\npip install . -r requirements.txt\n```\n\n## Usage\n\nGlog-CLI enables you to make searches using the official Graylog query language. To understand how to make queries \nplease see the [documentation](http://docs.graylog.org/en/2.1/pages/queries.html).\n\nOnce you've installed the tool now it's time to run some commands, the following:\n\n```bash\nglogcli -h mygraylog.server.com -u john.doe -p password -@ \"10 minutes ago\" \"source:my-app-server\"\n```\n\n```bash\nglogcli -h mygraylog.server.com -u john.doe -p password \"message:200\"\n```\n```bash\nglogcli -h mygraylog.server.com -u john.doe -p password -f\n```\n\n```bash\nglogcli -h mygraylog.server.com -u john.doe -p password \"level:DEBUG\"\n```\n\n```bash\nglogcli -h mygraylog.server.com -u john.doe -p password \"level:DEBUG\" -f\n```\n\n```bash\nglogcli -h mygraylog.server.com -u john.doe -p password \"level:DEBUG\" -d --fields timestamp,level,message -o dump.csv\n```\n\n```bash\nglogcli -h mygraylog.server.com -u john-doe -p password -@ \"2016-11-21 00:00:00\" -# \"2016-11-21 01:00:00\" 'message:blabla'\n```\n\n```bash\nglogcli -e dev -r short\n```\n\n```bash\nglogcli -e dev -r short -st mystreamid\n```\n\n```bash\nglogcli -e dev -r short -st '*'\n```\n\n\n## Configuration\n\n\nGlog-CLI can reuse some common configurations like address of your Graylog server and your credentials, it will look for a\n*~/.glogcli.cfg* or a *glogcli.cfg* (in your current directory). Glog-CLI will use default environment and format \nwhenever an environment or format is omitted.\n\nHere is a example for your glogcli.cfg file:\n\n```\n[environment:default]\nhost=mygraylogserver.com\nport=443\nusername=john.doe\n\n[environment:dev]\nhost=mygraylogserver.dev.com\nport=443\nproxy=mycompanyproxy.com\nusername=john.doe\ndefault_stream=57e14cde6fb78216a60d35e8\n\n[format:default]\nformat={host} {level} {facility} {timestamp} {message}\n    \n[format:short]\nformat=[{timestamp}] {level} {message}\n    \n[format:long]\nformat=time: [{timestamp}] level: {level} msg: {message} tags: {tags}\ncolor=false\n```\n\nPlease run the *help* command to more detailed information about all the client features.\n\n```\nUsage: glogcli [OPTIONS] [QUERY]\n\nOptions:\n  -v, --version                   Prints your glogcli version\n  -h, --host TEXT                 Your graylog node's host\n  -e, --environment TEXT          Label of a preconfigured graylog node\n  -sq, --saved-query              List user saved queries for selection\n  --port TEXT                     Your graylog port\n  --no-tls                        Not use TLS to connect to Graylog server\n  -u, --username TEXT             Your graylog username\n  -p, --password TEXT             Your graylog password (default: prompt)\n  -k, --keyring / -nk, --no-keyring\n                                  Use keyring to store/retrieve password\n  -@, --search-from TEXT          Query range from\n  -#, --search-to TEXT            Query range to (default: now)\n  --tail                          Show the last n lines for the query\n                                  (default)\n  -d, --dump                      Print the query result as a csv\n  --fields TEXT                   Comma separated fields to be printed in the\n                                  csv.\n  -o, --output TEXT               Output logs to file (only tail/dump mode)\n  -f, --follow                    Poll the logging server for new logs\n                                  matching the query (sets search from to now,\n                                  limit to None)\n  -n, --limit INTEGER             Limit the number of results (default: 100)\n  -a, --latency INTEGER           Latency of polling queries (default: 2)\n  -st, --stream TEXT              Stream ID of the stream to query (default:\n                                  no stream filter)\n  -s, --sort TEXT                 Field used for sorting (default: timestamp)\n  --asc / --desc                  Sort ascending / descending\n  --proxy TEXT                    Proxy to use for the http/s request\n  -r, --format-template TEXT      Message format template for the log\n                                  (default: default format\n  --no-color                      Don't show colored logs\n  -c, --config TEXT               Custom config file path\n  --help                          Show this message and exit.\n  ```\n\n## Contributing\nSee [contributing](https://github.com/globocom/glog-cli/blob/master/CONTRIBUTING.rst) document to learn how to contribute with us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fglog-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglobocom%2Fglog-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fglog-cli/lists"}