{"id":20254726,"url":"https://github.com/dsys/fluentd","last_synced_at":"2025-03-03T17:17:54.704Z","repository":{"id":136694946,"uuid":"65953093","full_name":"dsys/fluentd","owner":"dsys","description":":clipboard: Simple log collector for Kubernetes clusters, with Loggly and S3 integrations","archived":false,"fork":false,"pushed_at":"2016-12-09T00:54:36.000Z","size":6,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-14T03:33:04.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/dsys.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":"2016-08-18T01:00:49.000Z","updated_at":"2020-02-15T06:20:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ce75d8a-3a69-4b24-9794-a66532d51e7c","html_url":"https://github.com/dsys/fluentd","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/dsys%2Ffluentd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsys%2Ffluentd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsys%2Ffluentd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsys%2Ffluentd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsys","download_url":"https://codeload.github.com/dsys/fluentd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241705908,"owners_count":20006398,"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-11-14T10:34:36.775Z","updated_at":"2025-03-03T17:17:54.669Z","avatar_url":"https://github.com/dsys.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fluentd\n\nSimple log collector for Kubernetes clusters, with Loggly and S3 integrations.\n\n## Usage\n\nAvailable on Docker Hub as [pavlov/fluentd](https://hub.docker.com/r/pavlov/fluentd).\n\nThis container is meant to replace or augment cluster-level logging in Kubernetes. Accordingly, many of the directives in `fluent.conf` are borrowed from the official [fluentd image](https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/fluentd-elasticsearch/fluentd-es-image). If you don't want to configure which fluentd plugins you're using (i.e. remove Loggly or change how the logs are persisted in S3), fork this repository.\n\n### Example DaemonSet for AWS\n\n```yaml\napiVersion: v1\nkind: Secret\ntype: Opaque\nmetadata:\n  name: fluentd\ndata:\n  loggly: dHJ5YWdhaW5pbnRlcm5ldHBlcnNvbg==\n  aws.key: bmljZXRyeW5zYSE=\n  aws.secret: bm9wZXRoaXNvbmVpc24ndHJlYWxlaXRoZXI=\n  aws.s3.bucket: dHJvbG9sb2xvbG8=\n  aws.s3.region: aWxpa2V0dXJ0bGVz\n---\napiVersion: extensions/v1beta1\nkind: DaemonSet\nmetadata:\n  name: fluentd\nspec:\n  template:\n    metadata:\n      labels:\n        app: fluentd\n    spec:\n      containers:\n      - name: fluentd\n        image: pavlov/fluentd\n        imagePullPolicy: Always\n        env:\n        - name: FLUENTD_LOGGLY_TOKEN\n          valueFrom:\n            secretKeyRef:\n              name: fluentd\n              key: loggly\n        - name: AWS_ACCESS_KEY_ID\n          valueFrom:\n            secretKeyRef:\n              name: fluentd\n              key: aws.key\n        - name: AWS_SECRET_ACCESS_KEY\n          valueFrom:\n            secretKeyRef:\n              name: fluentd\n              key: aws.secret\n        - name: FLUENTD_S3_BUCKET\n          valueFrom:\n            secretKeyRef:\n              name: fluentd\n              key: aws.s3.bucket\n        - name: FLUENTD_S3_REGION\n          valueFrom:\n            secretKeyRef:\n              name: fluentd\n              key: aws.s3.region\n        volumeMounts:\n        - name: pos\n          mountPath: /etc/fluent/pos\n          readOnly: false\n        - name: varlog\n          mountPath: /var/log\n          readOnly: false\n        - name: mntephemeraldockercontainers\n          mountPath: /mnt/ephemeral/docker/containers\n          readOnly: true\n        - name: docker-socket\n          mountPath: /var/run/docker.sock\n          readOnly: false\n      volumes:\n      - name: pos\n        hostPath:\n          path: /etc/fluent/pos\n      - name: varlog\n        hostPath:\n          path: /var/log\n      - name: mntephemeraldockercontainers\n        hostPath:\n          path: /mnt/ephemeral/docker/containers\n      - name: docker-socket\n        hostPath:\n          path: /var/run/docker.sock\n```\n\n## Development\n\n    $ make build\n    $ make push\n\n## License\n\nThis Docker image is released under the [BSD 3-Clause license](https://github.com/usepavlov/fluentd/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsys%2Ffluentd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsys%2Ffluentd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsys%2Ffluentd/lists"}