Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/mongodbatlas] Fix timestamp parsing for mongodb 4.2 audit logs #14173

Merged

Conversation

BinaryFissionGames
Copy link
Contributor

Description:

  • The timestamp format differed slightly between 4.2 and 4.4 clusters; This PR changes the timestamp format based on the cluster version, similar to the normal mongodb logs.

Link to tracking Issue: Resolves #14168

Testing:

  • Added unit test testing timestamp parsing for 4.2 formatted timestamps
  • Manually tested against a 4.2 cluster to ensure audit log timestamps parsed correctly

@djaglowski djaglowski merged commit ac4e171 into open-telemetry:main Sep 16, 2022
djaglowski pushed a commit to djaglowski/opentelemetry-collector-contrib that referenced this pull request Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[receiver/mongodbatlas] Audit log timestamp parsing fails to parse on 4.2 clusters
3 participants