You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Configure LOG_EXPORT_CONTAINER_OUTPUT=mongo, LOG_EXPORT_CONTAINER_EXTRACT_AUDIT_ACTIVITIES and MONGO_URI
Run the application
Send some valid logs
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.
Describe the bug
When using
LOG_EXPORT_CONTAINER_OUTPUT=mongoandLOG_EXPORT_CONTAINER_EXTRACT_AUDIT_ACTIVITIES=truewe 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:
LOG_EXPORT_CONTAINER_OUTPUT=mongo,LOG_EXPORT_CONTAINER_EXTRACT_AUDIT_ACTIVITIESandMONGO_URIExpected behavior
To save each log in a specific collection by type or save all logs in only one collection.