{"id":18441589,"url":"https://github.com/stefanwalther/audit-log-service","last_synced_at":"2026-01-12T02:23:18.263Z","repository":{"id":48314644,"uuid":"77177183","full_name":"stefanwalther/audit-log-service","owner":"stefanwalther","description":"Simple log service (to MongoDB).","archived":false,"fork":false,"pushed_at":"2021-08-02T05:01:46.000Z","size":257,"stargazers_count":4,"open_issues_count":27,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-27T15:46:58.598Z","etag":null,"topics":["logging","logging-server","logs","mongodb","sammler"],"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/stefanwalther.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}},"created_at":"2016-12-22T21:32:10.000Z","updated_at":"2023-07-31T12:38:37.000Z","dependencies_parsed_at":"2022-09-05T22:20:18.725Z","dependency_job_id":null,"html_url":"https://github.com/stefanwalther/audit-log-service","commit_stats":null,"previous_names":["sammler/sammler-log-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stefanwalther/audit-log-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanwalther%2Faudit-log-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanwalther%2Faudit-log-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanwalther%2Faudit-log-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanwalther%2Faudit-log-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanwalther","download_url":"https://codeload.github.com/stefanwalther/audit-log-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanwalther%2Faudit-log-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["logging","logging-server","logs","mongodb","sammler"],"created_at":"2024-11-06T06:38:41.340Z","updated_at":"2026-01-12T02:23:18.240Z","avatar_url":"https://github.com/stefanwalther.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# audit-log-service\n\n\u003e Simple logging service for sammler.\n\n[![CircleCI](https://img.shields.io/circleci/project/github/sammler/audit-log-service.svg)](https://circleci.com/gh/sammler/audit-log-service)\n\n## Purpose\n_audit-log-service_ is a very simple logging service, which just acts as a temporary solution to get some logging up and running.\n\nIt logs to MongoDB and exposes some endpoints to create and to retrieve logs.\n\nThe solution was primarily created, because the [ELK-stack](https://github.com/deviantony/docker-elk) just felt to heavy (\u003e 1.5 GB RAM needed) for _sammler_.\n\n## Configuration\n_audit-log-service_ can be configured by the following environment variables:\n\n**General:**\n\n- `PORT` - The port to run the REST API (defaults to `3004`).\n\n**MongoDB:**\n\n- `MONGODB_DEBUG` - Whether to use the Mongoose debug mode or not, defaults to `false`.\n- `MONGODB_HOST` - MongoDB host, defaults to `localhost`.\n- `MONGODB_PORT` - MongoDB port, defaults to `27017`. \n- `MONGODB_DATABASE` - MongoDB database, defaults to `sammlerio`.\n\n**NATS-STREAMING:**\n\n- `NATS_STREAMING_HOST`\n- `NATS_STREAMING_PORT`\n\n## Features\nThe functionality of _audit-log-service_ is documented in a swagger file, available at [http://localhost:3004/api-docs](http://localhost:3004/api-docs) when running the image.\n\nAlternatively api-docs is also available [here](./docs/api-docs.md).\n\n## Development\nRun \n\n```sh\n$ npm run dc-dev-up\n```\n\nWhich will spin up a MongoDB instance at port 27018 (to prevent conflicts with the default port).\n\nThen run the tests:\n\n```\n$ npm run test\n```\n\n## Author\n**Stefan Walther**\n\n* [twitter](http://twitter.com/waltherstefan)  \n* [github.com/stefanwalther](http://github.com/stefanwalther) \n* [LinkedIn](https://www.linkedin.com/in/stefanwalther/) \n\n## License\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanwalther%2Faudit-log-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanwalther%2Faudit-log-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanwalther%2Faudit-log-service/lists"}