Skip to content

Logging service to add jwt auth layer infront of grafana loki service

License

Notifications You must be signed in to change notification settings

nibyou/logging-service

Repository files navigation

Nibyou Logo

Nibyou Logging Microservice

Used to add a JWT Authentication Layer in front of our Grafana Loki central Logging to allow frontends to send logs as well.

For this to work you first have to create a Loki server and put it behind a reverse proxy that adds Basic Auth. This can be done with nginx for example.

Installation

$ npm install

Configuration

Check out the example.env file in the root directory.

Fill out the variables and rename the file to .env.

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

License

The Nibyou Microservice is licensed under the AGPL-3 license.

About

Logging service to add jwt auth layer infront of grafana loki service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published