{"id":27153876,"url":"https://github.com/theykk/logger","last_synced_at":"2025-04-08T16:18:46.420Z","repository":{"id":45483945,"uuid":"298664824","full_name":"TheYkk/logger","owner":"TheYkk","description":"Kubernetes logs to MongoDB","archived":false,"fork":false,"pushed_at":"2021-12-11T13:35:37.000Z","size":603,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T18:37:25.026Z","etag":null,"topics":["docker","hacktoberfest","kubernetes","logging","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/TheYkk.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}},"created_at":"2020-09-25T19:41:14.000Z","updated_at":"2024-05-01T18:37:25.027Z","dependencies_parsed_at":"2022-07-15T04:30:53.294Z","dependency_job_id":null,"html_url":"https://github.com/TheYkk/logger","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheYkk%2Flogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheYkk%2Flogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheYkk%2Flogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheYkk%2Flogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheYkk","download_url":"https://codeload.github.com/TheYkk/logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247877965,"owners_count":21011158,"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":["docker","hacktoberfest","kubernetes","logging","mongodb","nodejs"],"created_at":"2025-04-08T16:18:45.824Z","updated_at":"2025-04-08T16:18:46.409Z","avatar_url":"https://github.com/TheYkk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n Copyright 2020 Kaan Karakaya\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n     http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n--\u003e\n[![](https://img.shields.io/twitter/follow/YkkCode.svg?style=social)](https://twitter.com/YkkCode \"Twitter: YkkCode\")\n[![](https://images.microbadger.com/badges/image/theykk/logger.svg)](https://microbadger.com/images/theykk/logger )\n[![](https://images.microbadger.com/badges/version/theykk/logger.svg)](https://microbadger.com/images/theykk/logger )\n[![dockeri.co](https://dockeri.co/image/theykk/logger)](https://hub.docker.com/r/theykk/logger)\n\n# TheYkk K8S Logger\n\nThis tool runs a pod at every node in K8s via deamonset.\nThe pod connects node's /var/log/containers folder and adds to mongodb by collecting logs\n\n![Parse](./log1.png)\n\nSupports 25 Parsers\n\n![Parse](./log2.png)\nAverage log size ~ 700 byte\n\n![Parse](./log3.png)\n\n## Installation\n\nCreate mongodb url secret\n\n```sh\nkubectl create secret generic theykk-logger --from-literal=MONGO_URI=\u003cMongodb connection url\u003e\n```\n\nApply rbac and deamonset\n\n```sh\nkubectl apply -f https://raw.githubusercontent.com/TheYkk/logger/master/rbac.yaml\n\nkubectl apply -f https://raw.githubusercontent.com/TheYkk/logger/master/deamonset.yaml\n```\n\n## Buil docker image\n\n```sh\nDOCKER_BUILDKIT=1 docker build -t theykk/logger .\n```\n\nand push the docker hub\n\n```sh\ndocker push theykk/logger\n```\n\n## Author\n\n👤 **TheYkk \u0026lt;Kaan Karakaya yusufkaan142@gmail.com\u0026gt;**\n\n* Twitter: [@YkkCode](https://twitter.com/YkkCode)\n* Github: [@TheYkk](https://github.com/TheYkk)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n## License\n\n[APACHE](https://choosealicense.com/licenses/apache-2.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheykk%2Flogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheykk%2Flogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheykk%2Flogger/lists"}