elastic / elastic/integrations

mongodb log pipeline does not parse ISO8601 timestamp, resulting in event missing @timestamp and getting rejected on index

Open
#13,995 1 comment 0 reactions 0 assignees View on GitHub
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.

![Image](https://github.com/user-attachments/assets/f2a14c53-fce1-4039-a625-d4e767ce2e22)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.