tusmanakhter / MigrantHub

MIT License
4 stars 3 forks source link

Loggly log data management #266

Closed iamlax closed 5 years ago

iamlax commented 5 years ago

Added Loggly log transport to our current Winston logging. This will send info level logs to the Loggly log data management tool during production. This will allow us to view, query and view statistics about our logs.

I added you as users to the Dashboard. The emails/username from the report doc. You can simply access the dashboard and view the results to test the setup.

Note: Since, only production logs are sent to loggly you will have to add the transport to development or maybe even run a docker as a prod env to test sending logs. Also, you will need to get the token from me. However, the token and loggly is meant for production and is not needed in your development environment.

Here are some dashboard pics:

image

image