opentelemetry-collector-contrib icon indicating copy to clipboard operation
opentelemetry-collector-contrib copied to clipboard

[receiver/mongodbatlas] Audit log model misses a lot of fields

Open BinaryFissionGames opened this issue 2 years ago • 1 comments

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

BinaryFissionGames avatar Sep 16 '22 19:09 BinaryFissionGames

Pinging code owners: @zenmoto. See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] avatar Sep 19 '22 17:09 github-actions[bot]