Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Mongo Logs mismatching collections #62

Open
wallrony opened this issue Feb 11, 2022 · 0 comments
Open

Mongo Logs mismatching collections #62

wallrony opened this issue Feb 11, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wallrony
Copy link
Contributor

wallrony commented Feb 11, 2022

Describe the bug
When using LOG_EXPORT_CONTAINER_OUTPUT=mongo and LOG_EXPORT_CONTAINER_EXTRACT_AUDIT_ACTIVITIES=true we can save in a mongo instance the normal LEC Logs and the audit activity logs. The Mongo output conf presumes that each type of log should be saved in a specific collection, but currently all activities and lec logs are save in the same collection, the specification of collections is not working.

To Reproduce
Steps to reproduce the behavior:

  1. Configure LOG_EXPORT_CONTAINER_OUTPUT=mongo, LOG_EXPORT_CONTAINER_EXTRACT_AUDIT_ACTIVITIES and MONGO_URI
  2. Run the application
  3. Send some valid logs
  4. See the collections in mongodb.

Expected behavior
To save each log in a specific collection by type or save all logs in only one collection.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants