opentelemetry-collector-contrib
opentelemetry-collector-contrib copied to clipboard
[receiver/mongodbatlas] Audit log model misses a lot of fields
What happened?
## Description
The audit log model does not cover all possible shapes of the audit log message, and a current field in the model doesn't appear to be present at all.
See: https://www.mongodb.com/docs/manual/reference/audit-message/ and https://www.mongodb.com/docs/manual/reference/audit-message/#std-label-audit-action-details-results
## Steps to Reproduce
Scrape any mongodbatlas cluster's audit logs.
## Expected Result
Fields such as `atype` and any `param` values are recorded
## Actual Result
`atype` is not recorded; Most values in `param` are not recorded.
Collector version
v0.60.0
Environment information
No response
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
Pinging code owners: @zenmoto. See Adding Labels via Comments if you do not have permissions to add labels yourself.