MongoDB Blog

Observability and OpenTelemetry: Introducing MongoDB Atlas Log Integration

5.5内容质量
Observability and OpenTelemetry: Introducing MongoDB Atlas Log Integration

TL;DR · AI 摘要

MongoDB Atlas 新增日志集成,支持通过 OpenTelemetry 提升可观测性,便于统一监控和分析。

核心要点

  • MongoDB Atlas 日志现可通过 OpenTelemetry 导出
  • 该集成提升系统可观测性和故障排查能力
  • 开发者可将数据库日志与现有遥测数据统一管理
#MongoDB#OpenTelemetry#可观测性#日志集成#Atlas
打开原文

Observability and OpenTelemetry: Introducing MongoDB Atlas Log Integration | MongoDB

___

NEW Learn MongoDB with expert tutorials and tips on our new Developer YouTube channel. Subscribe >Learn MongoDB with expert tutorials and tips on our new Developer YouTube channel. >>

Image 1: MongoDB logo
Image 1: MongoDB logo

General Information

  • General Information
  • Documentation
  • Community Forums
  • Blog
  • University
Image 2: search icon
Image 2: search icon
Image 20: Search
Image 20: Search

Image 21: Language Selector IconEng

SupportSign InGet Started

Image 22: MongoDB logo
Image 22: MongoDB logo
Image 23: Search
Image 23: Search

Blog home

Observability and OpenTelemetry: Introducing MongoDB Atlas Log Integration

March 12, 2026・ 3 min read

In high-stakes enterprise environments, outages do not wait for business hours, and neither do IT/Network Operators.

A latency spike hits the dashboard, and metrics signal that the database is under pressure. The cause? Indeterminate. Meanwhile, the business impact is immediate: orders fail to process, customers can’t access accounts, transactions stall, and critical records become temporarily unavailable. Every minute of uncertainty translates into lost revenue, frustrated users, and escalating pressure.

Teams often fall back on a familiar—yet time-consuming—ritual: logging into their data platform, exporting large log files, extracting compressed archives, and manually searching through thousands of lines of entries to identify the issue. What should be a quick diagnosis becomes a manual context-switching investigation. By the time the problematic query, configuration issue, or audit event is identified, users have already experienced the disruption—and the business has absorbed the cost.

MongoDB believes the database should be the heartbeat of a digital business. So we’re introducing a new log integration that brings MongoDB Atlas system and audit logs directly into external observability and storage platforms. This enhancement helps bridge the gap between metrics and meaning when it matters most.

Flexible log delivery for modern observability workflows

Now database operators, DevOps pros, and IT Operations teams alike can send MongoDB system and audit logs—including _mongod_, _mongos_, and _audit logs_—directly to the tools they already rely on: Datadog, Splunk, Google Cloud Storage, Azure Blob Storage, or Amazon S3.

Beyond native integrations, MongoDB supports sending logs via OpenTelemetry (OTel), the open-source standard for collecting and transmitting telemetry data. This enables customers to export MongoDB logs to _any_ observability or logging backend that supports OTel. By using a vendor-neutral, standards-based protocol, MongoDB fits seamlessly into modern observability architectures. This eliminates lock-in and preserves flexibility as tooling strategies evolve.

Enabling real-time clarity

Modern enterprises generate rich system logs essential for debugging and compliance. However, when these logs are siloed, operational inefficiencies grow. Manual log access introduces friction, delays resolution, and creates a visibility gap between metrics and logs.

MongoDB’s new log integration transforms that experience with:

  • Accelerated troubleshooting: Send logs in near real-time to observability platforms like Datadog, Splunk, or OpenTelemetry-compatible backends, enabling teams to quickly identify issues and reduce manual operational steps that slow incident resolution.
  • Unified telemetry: Correlate MongoDB logs with application traces and infrastructure metrics in existing observability platforms, helping teams quickly understand how database behavior impacts overall system performance.
  • Simplified compliance: Automatically route audit logs to secure long-term storage such as Amazon S3, helping organizations meet regulatory and audit requirements without manual log management.

Figure 1. Atlas Log Integration configuration options for delivering MongoDB logs to observability and storage platforms.

Image 24
Image 24

Real-world use cases

How does this look in practice for modern application, operations, and engineering teams? Here are a few examples.

| Real-world example | Goal | Workflow | | --- | --- | --- | | Query diagnostics | Reduce MTTR | Export mongod logs to Datadog, Splunk, or any OTel-compatible observability backend to correlate database slow queries with application latency spikes. | | Security auditing | Compliance | Auto-route audit logs to Splunk or Amazon S3 to create immutable trails for internal security reviews. | | Log analytics | Efficiency | Filter and analyze months of log data to identify noisy neighbor workloads and optimize resource allocation across a global fleet. | | Long-term log retention | Regulatory and compliance readiness | Auto-stream logs to Google Cloud, Microsoft Azure, or Amazon S3 to meet long-term retention requirements and support regulatory audits. |

The criticality of observability

As applications scale, the database becomes _the_ most critical layer of an organization’s technology stack. Missing or siloed visibility leads to costly downtime and fragmented decision-making.

This log integration is available for dedicated M10+ clusters. An external sink can be configured in minutes:

  1. Navigate to the Project Integrations page in the MongoDB Atlas UI.
  1. Select the intended destination: Datadog, Splunk, Google Cloud, Microsoft Azure, Amazon S3, or any OTel log endpoint.
  1. Enter the required credentials and select the desired logs to send: _mongod_, _mongos_, or _audit_.
  1. _Note: Atlas Search logs are also currently available via private preview._

Figure 2. MongoDB Atlas logs integrated into an OpenTelemetry observability pipeline.

Image 25
Image 25

One observability strategy, built to scale

For teams that need fast, MongoDB-centric visibility, MongoDB Atlas continues to offer powerful native tools like Query Insights and the Query Profiler. These capabilities are designed to surface what is happening inside a user’s clusters with minimal friction.

However, as organizations scale, database insights can not live in isolation. MongoDB Atlas’s log integration extends observability systematically to the data plane. This enables MongoDB logs to flow into the observability platforms teams already use across engineering, security, IT operations, and compliance. With native integrations and an OpenTelemetry-compatible endpoint, teams can route logs wherever they are needed. This enables rapid troubleshooting, stronger auditability, and confident scaling _without_ blind spots.

###### Next Steps

Ready to eliminate the blind spots? Log in to MongoDB Atlas to configure your first log integration, or explore our documentation for Terraform setup.

share this

![Image 26: twitter icon](https://twitter.com/intent/tweet?url=https://www.mongodb.com/company/blog/product-release-announcements/introducing-mongodb-atlas-log-integration&text=)![Image 27: linkedin icon](https://www.linkedin.com/shareArticle?mini=true&url=https://www.mongodb.com/company/blog/product-release-announcements/introducing-mongodb-atlas-log-integration&title=&summary=&source=MongoDB)![Image 28: facebook icon](https://www.facebook.com/sharer.php?u=https://www.mongodb.com/company/blog/product-release-announcements/introducing-mongodb-atlas-log-integration)

Author

Image 29: Screenshot 2025-10-15 at 7.16.39 AM.png
Image 29: Screenshot 2025-10-15 at 7.16.39 AM.png

Sabina Bates

Product Marketing Manager, MongoDB

MongoDB Resources

Atlas Learning Hub|Customer Case Studies|AI Learning Hub|Documentation|MongoDB University

Image 30: MongoDB logo
Image 30: MongoDB logo
Image 31: Language Selector Icon
Image 31: Language Selector Icon

English

© 2026 MongoDB, Inc.

About

Support

Deployment Options

Data Basics

© 2026 MongoDB, Inc.

Image 32: MongoDB
Image 32: MongoDB

Privacy Preference Center

"Cookies" are small files that enable us to store information while you visit one of our websites. When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies, but essential cookies are always enabled. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

MongoDB Privacy Policy

Allow All

Manage Consent Preferences

#### Strictly Necessary Cookies

Always Active

These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.

#### Performance Cookies

  • [x] Performance Cookies

These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.

#### Functional Cookies

  • [x] Functional Cookies

These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.

#### Targeting Cookies

  • [x] Targeting Cookies

These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

#### Social Media Cookies

  • [x] Social Media Cookies

These cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

Cookie List

Clear

  • [x] checkbox label label

Apply Cancel

Consent Leg.Interest

  • [x] checkbox label label
  • [x] checkbox label label
  • [x] checkbox label label

Confirm My Choices

Image 33: Powered by Onetrust
Image 33: Powered by Onetrust

Image 34Image 35Image 36Image 37Image 38Image 39Image 40Image 41Image 42Image 43Image 44Image 45Image 46Image 47

Image 48
Image 48

Image 49Image 50

Image 51
Image 51