elastic / elastic/integrations
mongodb log pipeline does not parse ISO8601 timestamp, resulting in event missing @timestamp and getting rejected on index
Open
Integration:mongodb
Stalled
Team:Obs-InfraObs
- Dominant language
- Handlebars
- Stars
- 333
- Forks
- 647
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 209
Description
https://github.com/elastic/integrations/blob/9f744b6f150d31dbbc1a8cd8b367c70e0fbbb5f3/packages/mongodb/data_stream/log/elasticsearch/ingest_pipeline/pipeline-plaintext.yml#L13
The date processor will not parse a mongdb log event in the format below with a valid ISO8601 timestamp.
`
"2025-05-23T22:42:15.494Z I CONNPOOL [Replication] Connecting to MYSYSTEMNAME:27017"
`
Issue can be resolved by adding the ISO8601 pattern.

Contributor guide
Assessment
This issue has not been assessed yet.