{"id":21905386,"url":"https://github.com/hex7c0/logger-request-cli","last_synced_at":"2026-04-17T17:32:07.462Z","repository":{"id":19333531,"uuid":"22572270","full_name":"hex7c0/logger-request-cli","owner":"hex7c0","description":"parser for logger request for Nodejs","archived":false,"fork":false,"pushed_at":"2017-05-14T15:10:41.000Z","size":122,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T16:53:02.616Z","etag":null,"topics":["cli","logger","nodejs","parser"],"latest_commit_sha":null,"homepage":"https://github.com/hex7c0/logger-request-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hex7c0.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-03T09:52:48.000Z","updated_at":"2023-02-13T18:58:11.000Z","dependencies_parsed_at":"2022-08-28T07:50:56.402Z","dependency_job_id":null,"html_url":"https://github.com/hex7c0/logger-request-cli","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/hex7c0/logger-request-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Flogger-request-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Flogger-request-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Flogger-request-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Flogger-request-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hex7c0","download_url":"https://codeload.github.com/hex7c0/logger-request-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Flogger-request-cli/sbom","scorecard":{"id":462738,"data":{"date":"2025-08-11","repo":{"name":"github.com/hex7c0/logger-request-cli","commit":"b1110592dd62e673561a1a4e1c4e122a2a93890a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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: GNU General Public License v3.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"}}]},"last_synced_at":"2025-08-19T11:35:06.067Z","repository_id":19333531,"created_at":"2025-08-19T11:35:06.067Z","updated_at":"2025-08-19T11:35:06.067Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31938672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","logger","nodejs","parser"],"created_at":"2024-11-28T16:33:07.731Z","updated_at":"2026-04-17T17:32:07.443Z","avatar_url":"https://github.com/hex7c0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [logger-request-cli](https://github.com/hex7c0/logger-request-cli)\n\n[![NPM version](https://img.shields.io/npm/v/logger-request-cli.svg)](https://www.npmjs.com/package/logger-request-cli)\n[![Linux Status](https://img.shields.io/travis/hex7c0/logger-request-cli.svg?label=linux-osx)](https://travis-ci.org/hex7c0/logger-request-cli)\n[![Windows Status](https://img.shields.io/appveyor/ci/hex7c0/logger-request-cli.svg?label=windows)](https://ci.appveyor.com/project/hex7c0/logger-request-cli)\n[![Dependency Status](https://img.shields.io/david/hex7c0/logger-request-cli.svg)](https://david-dm.org/hex7c0/logger-request-cli)\n\nParser for [`Logger request`](https://github.com/hex7c0/logger-request).\nShow output to console.\n\n## Installation\n\nInstall through NPM\n\n```bash\nnpm install -g logger-request-cli\n```\nor\n```bash\ngit clone git://github.com/hex7c0/logger-request-cli.git\n```\n\n## API\n\nglobal parser with `-g` option\n```bash\n$ logger-request -h\n\nUsage:\n  logger-request [OPTIONS] [ARGS]\n\nOptions: \n      --filename FILE    Pathname of the log file to be read\n  -i, --ip               Parse ip\n  -u, --url              Parse url\n  -r, --reponse          Parse time of response\n  -p, --pid              Parse pid\n  -q, --bytesReq         Parse bytesReq\n  -s, --bytesRes         Parse bytesRes\n  -e, --referrer         Parse referrer\n  -a, --auth             Parse basic-authentication\n  -u, --agent            Parse user agent\n  -w, --w3c              Parse http version\n  -l, --level            Parse log level\n  -m, --message          Parse log message\n  -t, --timestamp        Parse log timestamp\n  -R, --report           Not print filename stats\n      --csv STRING       Write results to csv file\n      --search STRING    Search string inside logfile\n  -v, --version          Display the current version\n  -h, --help             Display help and usage details\n\n$ logger-request -u A.log\n\n$ logger-request --csv a.csv A.log\n\n$ logger-request --search monitode A.log\n```\n\ninside nodejs project\n```js\nvar parser = require('logger-request-cli');\n\nparser({\n  filename: 'A.log',\n  bytesReq: true\n});\n```\n\n### parser(options)\n\n#### options\n\n - `filename` - **String** Pathname of the logfile to be read *(default \"null\")*\n - `ip` - **Boolean** Flag for `req.ip` *(default \"disabled\")*\n - `url` - **Boolean** Flag for `req.url` *(default \"disabled\")*\n - `response` - **Boolean** Flag for `time of response` *(default \"disabled\")*\n - `pid` - **Boolean** Flag for `process.pid` *(default \"disabled\")*\n - `bytesReq` - **Boolean** Flag for `req.socket.bytesRead` *(default \"disabled\")*\n - `bytesRes` - **Boolean** Flag for `req.socket._bytesDispatched` *(default \"disabled\")*\n - `referrer` - **Boolean** Flag for `req.headers['referrer']` *(default \"disabled\")*\n - `auth` - **Boolean** Flag for `basic-authentication` *(default \"disabled\")*\n - `agent` - **Boolean** Flag for `req.headers['user-agent']` *(default \"disabled\")*\n - `version` - **Boolean** Flag for `req.httpVersionMajor` *(default \"disabled\")*\n - `level` - **Boolean** Flag for `log level` *(default \"disabled\")*\n - `message` - **Boolean** Flag for `log message` *(default \"disabled\")*\n - `timestamp` - **Boolean** Flag for `log timestamp` *(default \"disabled\")*\n - `csv` - **String** Write parsed object to csv file *(default \"disabled\")*\n - `search` - **String** Search string inside logfile *(default \"disabled\")*\n - `report` - **Boolean** Flag for `filename stats` *(default \"enabled\")*\n\n## Examples\n\nTake a look at my [examples](examples)\n\n### [License GPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex7c0%2Flogger-request-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhex7c0%2Flogger-request-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex7c0%2Flogger-request-cli/lists"}