{"id":21008514,"url":"https://github.com/luk4z7/logres","last_synced_at":"2026-05-10T07:54:39.140Z","repository":{"id":57586340,"uuid":"98415134","full_name":"luk4z7/logres","owner":"luk4z7","description":"Distributed logs system PostgreSQL to MongoDB, catch all query in your database locally or in production and push your logs for centralized database NoSQL","archived":false,"fork":false,"pushed_at":"2017-11-14T04:54:07.000Z","size":29,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T21:47:28.040Z","etag":null,"topics":["cli","distributed-systems","go","logging","mongodb","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luk4z7.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":"2017-07-26T11:24:21.000Z","updated_at":"2017-08-17T20:27:17.000Z","dependencies_parsed_at":"2022-09-13T12:42:35.003Z","dependency_job_id":null,"html_url":"https://github.com/luk4z7/logres","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/luk4z7/logres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luk4z7%2Flogres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luk4z7%2Flogres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luk4z7%2Flogres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luk4z7%2Flogres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luk4z7","download_url":"https://codeload.github.com/luk4z7/logres/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luk4z7%2Flogres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002551,"owners_count":26083417,"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":["cli","distributed-systems","go","logging","mongodb","postgresql"],"created_at":"2024-11-19T09:12:43.937Z","updated_at":"2025-10-10T03:08:09.968Z","avatar_url":"https://github.com/luk4z7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Distributed logs system PostgresSQL to MongoDB\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/luk4z7/logres)](https://goreportcard.com/report/github.com/luk4z7/logres)\n\n### Installation\n\n```bash\ngo get github.com/luk4z7/logres\n```\n\n### Configuration\nconfigure your postgres for work with logs type csv\n```bash\nvim /etc/postgresql/9.2/main/postgresql.conf\n```\n\nlike this:\n```bash\n#------------------------------------------------------------------------------\n# ERROR REPORTING AND LOGGING\n#------------------------------------------------------------------------------\n\n# - Where to Log -\n\nlog_destination = 'csvlog'              # Valid values are combinations of\n# stderr, csvlog, syslog, and eventlog,\n# depending on platform.  csvlog\n# requires logging_collector to be on.\n\n# This is used when logging to stderr:\nlogging_collector = on                  # Enable capturing of stderr and csvlog\n# into log files. Required to be on for\n# csvlogs.\n# (change requires restart)\n```\n\nif do you like prefer change the directive `log_statement` for log all type of query, errors, warning, etc ...\n```bash\nlog_statement = 'all'                 # none, ddl, mod, all\n```\n\nRestart your postgresql\n```bash\n/etc/init.d/postgresql restart\n```\n\nConfigure your environment\n\n```bash\nlogres --config\n```\n\nand then execute the `--run`\n```bash\nlogres --run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluk4z7%2Flogres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluk4z7%2Flogres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluk4z7%2Flogres/lists"}