{"id":23520116,"url":"https://github.com/ventx/fulog","last_synced_at":"2025-05-14T01:16:35.596Z","repository":{"id":94188971,"uuid":"124262049","full_name":"ventx/fulog","owner":"ventx","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-09T13:41:21.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-25T16:12:33.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ventx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-03-07T16:17:06.000Z","updated_at":"2018-04-09T13:41:22.000Z","dependencies_parsed_at":"2023-03-06T13:00:21.800Z","dependency_job_id":null,"html_url":"https://github.com/ventx/fulog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2Ffulog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2Ffulog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2Ffulog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2Ffulog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ventx","download_url":"https://codeload.github.com/ventx/fulog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239207404,"owners_count":19599966,"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","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":"2024-12-25T16:12:04.705Z","updated_at":"2025-02-16T23:14:24.939Z","avatar_url":"https://github.com/ventx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fulog\nfulog is a lightweight log collection daemon aimed to cope with the log requirements of containerized\nenvironments. The log directories are mounted via fuse in fulog, which will take care of the transport \nto a central collection point. Currently supports s3 and loser as collection endpoints.\nIt is built around the fantastic [fuse-bindings](https://github.com/mafintosh/fuse-bindings) package from \n@mafintosh\n\n## How to use it\n### cli\n\nProbably for most use cases the way to go.\n```bash\n$ sudo npm install -g @ventx/fulog\n$ sudo fulog [options]\n```\nThe recommended way to configure fulog is by providing a configuration json/yaml/ini\n\nYou hav to configure two sections, **mounts** and **endpoints**.\nEach location you want to manage with fulog needs to be included in mounts. e.g.:\n\nJSON:\n```json\n{\n    \"mounts\": [\n        {\n            \"path\": \"/var/log\",\n            \"endpoints\": [\"s3-collection-1\", \"loser-cluster-1\"],\n            \"localMirror\": \"/var/lib/fulog/var/log\",\n            \"exportExisting\": true\n        },\n        {\n            \"path\": \"/var/lib/tomcat/logs\",\n            \"endpoints\": [\"loser-cluster-1\"],\n            \"localMirror\": \"/var/lib/fulog/var/lib/tomcat/logs\"\n        }\n    ],\n    \"endpoints\": [\n        {\n            \"name\": \"s3-collection-1\",\n            \"transport\": \"s3\",\n            \"config\": {\n                \"bucket\": \"my-log-bucket\",\n                \"mode\": \"filestream\",\n                \"interval\": 10\n            }\n        },\n        {\n            \"name\": \"loser-cluster-1\",\n            \"transport\": \"loser\",\n            \"config\": {\n                \"authentication\": {\n                    \"user\": \"noname\",\n                    \"pw\": \"nopasswd\"\n                },\n                \"server\": [\"loser://10.0.5.120\", \"loser://you.loose.acme.com:8001\"]\n            }\n        }\n    ]\n}\n```\n\nYAML:\n```yaml\nmounts:\n  - path: /var/log\n    endpoints:\n      - s3-collection-1\n      - loser-cluster-1\n    localMirror: /var/lib/fulog/var/log\n    exportExisting: True\n  - path: /var/lib/tomcat/logs\n    endpoints:\n      - loser-cluster-1\nendpoints:\n  - name: s3-collection-1\n    transport: s3\n    config:\n      bucket: my-log-bucket\n      mode: filestream\n      interval: 10\n  - name: loser-cluster-1\n    transport: loser\n    config:\n      authentication:\n        user: noname\n        pw: nopasswd\n    server:\n      - loser://10.0.5.120\n      - loser://you.loose.acme.com:8001\n```\n\nINI:\n```ini\n[mounts]\n\n[mounts.var_log]\npath=/var/log\nendpoints[]=s3-collection-1\nendpoints[]=loser-cluster-1\nlocalMirror=/var/lib/fulog/var/log\n\n[mounts.var_lib_tomcat_logs]\npath=/var/lib/tomcat/logs\nendpoints[]=loser-cluster-1\n\n\n[endpoints]\n\n[endpoints.s3-collection-1]\nname=s3-collection-1\ntransport=s3\nconfig.bucket=my-log-bucket\nconfig.mode=filestream\nconfig.interval=10\n\n[endpoints.loser-cluster-1]\nname=loser-cluster-1\ntransport=loser\nconfig.authentication.user=noname\nconfig.authentication.pw=nopasswd\nserver[]=loser://10.0.5.210\nserver[]=loser://you.loose.acme.com:8001\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventx%2Ffulog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fventx%2Ffulog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventx%2Ffulog/lists"}