Viewing docs for MongoDB Atlas v4.5.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for MongoDB Atlas v4.5.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
mongodbatlas.getLogIntegrations describes all log integrations configured at the project level. Supported integration types include AWS S3, Google Cloud Storage, Azure Blob Storage, Datadog, Splunk, and OpenTelemetry.
To use this data source, the requesting Service Account or API Key must have the Organization Owner or Project Owner role.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const example = mongodbatlas.getLogIntegrations({
projectId: exampleMongodbatlasLogIntegration.projectId,
});
export const logIntegrationIds = example.then(example => .map(r => (r.integrationId)));
import pulumi
import pulumi_mongodbatlas as mongodbatlas
example = mongodbatlas.get_log_integrations(project_id=example_mongodbatlas_log_integration["projectId"])
pulumi.export("logIntegrationIds", [r.integration_id for r in example.results])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var example = Mongodbatlas.GetLogIntegrations.Invoke(new()
{
ProjectId = exampleMongodbatlasLogIntegration.ProjectId,
});
return new Dictionary<string, object?>
{
["logIntegrationIds"] = .Select(r =>
{
return r.IntegrationId;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
Further Examples
- Log Integration Examples
Using getLogIntegrations
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLogIntegrations(args: GetLogIntegrationsArgs, opts?: InvokeOptions): Promise<GetLogIntegrationsResult>
function getLogIntegrationsOutput(args: GetLogIntegrationsOutputArgs, opts?: InvokeOptions): Output<GetLogIntegrationsResult>def get_log_integrations(integration_type: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogIntegrationsResult
def get_log_integrations_output(integration_type: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogIntegrationsResult]func LookupLogIntegrations(ctx *Context, args *LookupLogIntegrationsArgs, opts ...InvokeOption) (*LookupLogIntegrationsResult, error)
func LookupLogIntegrationsOutput(ctx *Context, args *LookupLogIntegrationsOutputArgs, opts ...InvokeOption) LookupLogIntegrationsResultOutput> Note: This function is named LookupLogIntegrations in the Go SDK.
public static class GetLogIntegrations
{
public static Task<GetLogIntegrationsResult> InvokeAsync(GetLogIntegrationsArgs args, InvokeOptions? opts = null)
public static Output<GetLogIntegrationsResult> Invoke(GetLogIntegrationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogIntegrationsResult> getLogIntegrations(GetLogIntegrationsArgs args, InvokeOptions options)
public static Output<GetLogIntegrationsResult> getLogIntegrations(GetLogIntegrationsArgs args, InvokeOptions options)
fn::invoke:
function: mongodbatlas:index/getLogIntegrations:getLogIntegrations
arguments:
# arguments dictionaryThe following arguments are supported:
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Integration
Type string - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Integration
Type string - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- integration
Type String - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- integration
Type string - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- project_
id str - Unique 24-hexadecimal digit string that identifies your project.
- integration_
type str - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- integration
Type String - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
getLogIntegrations Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Results
List<Get
Log Integrations Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- Integration
Type string - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Results
[]Get
Log Integrations Result - List of returned documents that MongoDB Cloud provides when completing this request.
- Integration
Type string - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- results
List<Get
Log Integrations Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- integration
Type String - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- results
Get
Log Integrations Result[] - List of returned documents that MongoDB Cloud provides when completing this request.
- integration
Type string - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project.
- results
Sequence[Get
Log Integrations Result] - List of returned documents that MongoDB Cloud provides when completing this request.
- integration_
type str - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- results List<Property Map>
- List of returned documents that MongoDB Cloud provides when completing this request.
- integration
Type String - Optional filter by integration type (e.g.,
S3_LOG_EXPORT).
Supporting Types
GetLogIntegrationsResult
- Api
Key string - Applies to type: DATADOG_LOG_EXPORT. API key for authentication.
- Bucket
Name string - Applies to type: GCS_LOG_EXPORT, S3_LOG_EXPORT. Name of the bucket to store log files.
- Hec
Token string - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) token for authentication.
- Hec
Url string - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) endpoint URL.
- Iam
Role stringId - Applies to type: S3_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the AWS IAM role that Atlas uses to access the S3 bucket.
- Integration
Id string - Unique 24-character hexadecimal digit string that identifies the log integration configuration.
- Kms
Key string - Applies to type: S3_LOG_EXPORT. AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings.
- Log
Types List<string> - Array of log types exported by this integration.
- Otel
Endpoint string - Applies to type: OTEL_LOG_EXPORT. OpenTelemetry collector endpoint URL.
- Otel
Supplied List<GetHeaders Log Integrations Result Otel Supplied Header> - Applies to type: OTEL_LOG_EXPORT. HTTP headers for authentication and configuration. Maximum 10 headers, total size limit 2KB.
- Prefix
Path string - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT, S3_LOG_EXPORT. Path prefix where the log files will be stored. Atlas will add further sub-directories based on the log type.
- Region string
- Applies to type: DATADOG_LOG_EXPORT. Datadog site/region for log ingestion. Valid values: US1, US3, US5, EU, AP1, AP2, US1_FED.
- Role
Id string - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the Atlas Cloud Provider Access role.
- Storage
Account stringName - Applies to type: AZURE_LOG_EXPORT. Storage account name where logs will be stored.
- Storage
Container stringName - Applies to type: AZURE_LOG_EXPORT. Storage container name for log files.
- Type string
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- Api
Key string - Applies to type: DATADOG_LOG_EXPORT. API key for authentication.
- Bucket
Name string - Applies to type: GCS_LOG_EXPORT, S3_LOG_EXPORT. Name of the bucket to store log files.
- Hec
Token string - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) token for authentication.
- Hec
Url string - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) endpoint URL.
- Iam
Role stringId - Applies to type: S3_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the AWS IAM role that Atlas uses to access the S3 bucket.
- Integration
Id string - Unique 24-character hexadecimal digit string that identifies the log integration configuration.
- Kms
Key string - Applies to type: S3_LOG_EXPORT. AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings.
- Log
Types []string - Array of log types exported by this integration.
- Otel
Endpoint string - Applies to type: OTEL_LOG_EXPORT. OpenTelemetry collector endpoint URL.
- Otel
Supplied []GetHeaders Log Integrations Result Otel Supplied Header - Applies to type: OTEL_LOG_EXPORT. HTTP headers for authentication and configuration. Maximum 10 headers, total size limit 2KB.
- Prefix
Path string - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT, S3_LOG_EXPORT. Path prefix where the log files will be stored. Atlas will add further sub-directories based on the log type.
- Region string
- Applies to type: DATADOG_LOG_EXPORT. Datadog site/region for log ingestion. Valid values: US1, US3, US5, EU, AP1, AP2, US1_FED.
- Role
Id string - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the Atlas Cloud Provider Access role.
- Storage
Account stringName - Applies to type: AZURE_LOG_EXPORT. Storage account name where logs will be stored.
- Storage
Container stringName - Applies to type: AZURE_LOG_EXPORT. Storage container name for log files.
- Type string
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- api
Key String - Applies to type: DATADOG_LOG_EXPORT. API key for authentication.
- bucket
Name String - Applies to type: GCS_LOG_EXPORT, S3_LOG_EXPORT. Name of the bucket to store log files.
- hec
Token String - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) token for authentication.
- hec
Url String - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) endpoint URL.
- iam
Role StringId - Applies to type: S3_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the AWS IAM role that Atlas uses to access the S3 bucket.
- integration
Id String - Unique 24-character hexadecimal digit string that identifies the log integration configuration.
- kms
Key String - Applies to type: S3_LOG_EXPORT. AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings.
- log
Types List<String> - Array of log types exported by this integration.
- otel
Endpoint String - Applies to type: OTEL_LOG_EXPORT. OpenTelemetry collector endpoint URL.
- otel
Supplied List<GetHeaders Log Integrations Result Otel Supplied Header> - Applies to type: OTEL_LOG_EXPORT. HTTP headers for authentication and configuration. Maximum 10 headers, total size limit 2KB.
- prefix
Path String - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT, S3_LOG_EXPORT. Path prefix where the log files will be stored. Atlas will add further sub-directories based on the log type.
- region String
- Applies to type: DATADOG_LOG_EXPORT. Datadog site/region for log ingestion. Valid values: US1, US3, US5, EU, AP1, AP2, US1_FED.
- role
Id String - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the Atlas Cloud Provider Access role.
- storage
Account StringName - Applies to type: AZURE_LOG_EXPORT. Storage account name where logs will be stored.
- storage
Container StringName - Applies to type: AZURE_LOG_EXPORT. Storage container name for log files.
- type String
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- api
Key string - Applies to type: DATADOG_LOG_EXPORT. API key for authentication.
- bucket
Name string - Applies to type: GCS_LOG_EXPORT, S3_LOG_EXPORT. Name of the bucket to store log files.
- hec
Token string - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) token for authentication.
- hec
Url string - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) endpoint URL.
- iam
Role stringId - Applies to type: S3_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the AWS IAM role that Atlas uses to access the S3 bucket.
- integration
Id string - Unique 24-character hexadecimal digit string that identifies the log integration configuration.
- kms
Key string - Applies to type: S3_LOG_EXPORT. AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings.
- log
Types string[] - Array of log types exported by this integration.
- otel
Endpoint string - Applies to type: OTEL_LOG_EXPORT. OpenTelemetry collector endpoint URL.
- otel
Supplied GetHeaders Log Integrations Result Otel Supplied Header[] - Applies to type: OTEL_LOG_EXPORT. HTTP headers for authentication and configuration. Maximum 10 headers, total size limit 2KB.
- prefix
Path string - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT, S3_LOG_EXPORT. Path prefix where the log files will be stored. Atlas will add further sub-directories based on the log type.
- region string
- Applies to type: DATADOG_LOG_EXPORT. Datadog site/region for log ingestion. Valid values: US1, US3, US5, EU, AP1, AP2, US1_FED.
- role
Id string - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the Atlas Cloud Provider Access role.
- storage
Account stringName - Applies to type: AZURE_LOG_EXPORT. Storage account name where logs will be stored.
- storage
Container stringName - Applies to type: AZURE_LOG_EXPORT. Storage container name for log files.
- type string
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- api_
key str - Applies to type: DATADOG_LOG_EXPORT. API key for authentication.
- bucket_
name str - Applies to type: GCS_LOG_EXPORT, S3_LOG_EXPORT. Name of the bucket to store log files.
- hec_
token str - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) token for authentication.
- hec_
url str - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) endpoint URL.
- iam_
role_ strid - Applies to type: S3_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the AWS IAM role that Atlas uses to access the S3 bucket.
- integration_
id str - Unique 24-character hexadecimal digit string that identifies the log integration configuration.
- kms_
key str - Applies to type: S3_LOG_EXPORT. AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings.
- log_
types Sequence[str] - Array of log types exported by this integration.
- otel_
endpoint str - Applies to type: OTEL_LOG_EXPORT. OpenTelemetry collector endpoint URL.
- otel_
supplied_ Sequence[Getheaders Log Integrations Result Otel Supplied Header] - Applies to type: OTEL_LOG_EXPORT. HTTP headers for authentication and configuration. Maximum 10 headers, total size limit 2KB.
- prefix_
path str - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT, S3_LOG_EXPORT. Path prefix where the log files will be stored. Atlas will add further sub-directories based on the log type.
- region str
- Applies to type: DATADOG_LOG_EXPORT. Datadog site/region for log ingestion. Valid values: US1, US3, US5, EU, AP1, AP2, US1_FED.
- role_
id str - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the Atlas Cloud Provider Access role.
- storage_
account_ strname - Applies to type: AZURE_LOG_EXPORT. Storage account name where logs will be stored.
- storage_
container_ strname - Applies to type: AZURE_LOG_EXPORT. Storage container name for log files.
- type str
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- api
Key String - Applies to type: DATADOG_LOG_EXPORT. API key for authentication.
- bucket
Name String - Applies to type: GCS_LOG_EXPORT, S3_LOG_EXPORT. Name of the bucket to store log files.
- hec
Token String - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) token for authentication.
- hec
Url String - Applies to type: SPLUNK_LOG_EXPORT. HTTP Event Collector (HEC) endpoint URL.
- iam
Role StringId - Applies to type: S3_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the AWS IAM role that Atlas uses to access the S3 bucket.
- integration
Id String - Unique 24-character hexadecimal digit string that identifies the log integration configuration.
- kms
Key String - Applies to type: S3_LOG_EXPORT. AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings.
- log
Types List<String> - Array of log types exported by this integration.
- otel
Endpoint String - Applies to type: OTEL_LOG_EXPORT. OpenTelemetry collector endpoint URL.
- otel
Supplied List<Property Map>Headers - Applies to type: OTEL_LOG_EXPORT. HTTP headers for authentication and configuration. Maximum 10 headers, total size limit 2KB.
- prefix
Path String - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT, S3_LOG_EXPORT. Path prefix where the log files will be stored. Atlas will add further sub-directories based on the log type.
- region String
- Applies to type: DATADOG_LOG_EXPORT. Datadog site/region for log ingestion. Valid values: US1, US3, US5, EU, AP1, AP2, US1_FED.
- role
Id String - Applies to type: AZURE_LOG_EXPORT, GCS_LOG_EXPORT. Unique 24-character hexadecimal string that identifies the Atlas Cloud Provider Access role.
- storage
Account StringName - Applies to type: AZURE_LOG_EXPORT. Storage account name where logs will be stored.
- storage
Container StringName - Applies to type: AZURE_LOG_EXPORT. Storage container name for log files.
- type String
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
GetLogIntegrationsResultOtelSuppliedHeader
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.
Viewing docs for MongoDB Atlas v4.5.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
