1. Registry
  2. Packages
  3. Mongodbatlas Provider
  4. API Docs
  5. getOrgLogIntegrations
Viewing docs for MongoDB Atlas v4.17.0
published on Thursday, Oct 1, 2026 by Pulumi
mongodbatlas logo mongodbatlas logo
Viewing docs for MongoDB Atlas v4.17.0
published on Thursday, Oct 1, 2026 by Pulumi

    mongodbatlas.getOrgLogIntegrations describes all log integrations configured at the organization level. Currently, OpenTelemetry is the only supported integration type.

    To use this data source, the requesting Service Account or API Key must have the Organization Owner role.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const example = mongodbatlas.getOrgLogIntegrations({
        orgId: exampleMongodbatlasOrgLogIntegration.orgId,
    });
    export const orgLogIntegrationIds = example.then(example => .map(r => (r.integrationId)));
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    example = mongodbatlas.get_org_log_integrations(org_id=example_mongodbatlas_org_log_integration["orgId"])
    pulumi.export("orgLogIntegrationIds", [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.GetOrgLogIntegrations.Invoke(new()
        {
            OrgId = exampleMongodbatlasOrgLogIntegration.OrgId,
        });
    
        return new Dictionary<string, object?>
        {
            ["orgLogIntegrationIds"] = .Select(r => 
            {
                return r.IntegrationId;
            }).ToList(),
        };
    });
    
    Example coming soon!
    
    Example coming soon!
    
    pulumi {
      required_providers {
        mongodbatlas = {
          source = "pulumi/mongodbatlas"
        }
      }
    }
    
    data "mongodbatlas_getorglogintegrations" "example" {
      org_id = exampleMongodbatlasOrgLogIntegration.orgId
    }
    
    output "orgLogIntegrationIds" {
      value = [for r in data.mongodbatlas_getorglogintegrations.example.results : r.integrationId]
    }
    

    Using getOrgLogIntegrations

    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 getOrgLogIntegrations(args: GetOrgLogIntegrationsArgs, opts?: InvokeOptions): Promise<GetOrgLogIntegrationsResult>
    function getOrgLogIntegrationsOutput(args: GetOrgLogIntegrationsOutputArgs, opts?: InvokeOutputOptions): Output<GetOrgLogIntegrationsResult>
    def get_org_log_integrations(org_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetOrgLogIntegrationsResult
    def get_org_log_integrations_output(org_id: pulumi.Input[Optional[str]] = None,
                                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetOrgLogIntegrationsResult]
    func LookupOrgLogIntegrations(ctx *Context, args *LookupOrgLogIntegrationsArgs, opts ...InvokeOption) (*LookupOrgLogIntegrationsResult, error)
    func LookupOrgLogIntegrationsOutput(ctx *Context, args *LookupOrgLogIntegrationsOutputArgs, opts ...InvokeOption) LookupOrgLogIntegrationsResultOutput

    > Note: This function is named LookupOrgLogIntegrations in the Go SDK.

    public static class GetOrgLogIntegrations 
    {
        public static Task<GetOrgLogIntegrationsResult> InvokeAsync(GetOrgLogIntegrationsArgs args, InvokeOptions? opts = null)
        public static Output<GetOrgLogIntegrationsResult> Invoke(GetOrgLogIntegrationsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetOrgLogIntegrationsResult> Invoke(GetOrgLogIntegrationsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetOrgLogIntegrationsResult> getOrgLogIntegrations(GetOrgLogIntegrationsArgs args, InvokeOptions options)
    public static Output<GetOrgLogIntegrationsResult> getOrgLogIntegrations(GetOrgLogIntegrationsArgs args, InvokeOptions options)
    public static Output<GetOrgLogIntegrationsResult> getOrgLogIntegrations(GetOrgLogIntegrationsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: mongodbatlas:index/getOrgLogIntegrations:getOrgLogIntegrations
      arguments:
        # arguments dictionary
    data "mongodbatlas_get_org_log_integrations" "name" {
        # arguments
    }

    The following arguments are supported:

    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    org_id string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    orgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    org_id str
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.

    getOrgLogIntegrations Result

    The following output properties are available:

    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    Results List<GetOrgLogIntegrationsResult>
    List of returned documents that MongoDB Cloud provides when completing this request.
    OrgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    Results []GetOrgLogIntegrationsResult
    List of returned documents that MongoDB Cloud provides when completing this request.
    org_id string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    results list(object)
    List of returned documents that MongoDB Cloud provides when completing this request.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    results List<GetOrgLogIntegrationsResult>
    List of returned documents that MongoDB Cloud provides when completing this request.
    orgId string
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    results GetOrgLogIntegrationsResult[]
    List of returned documents that MongoDB Cloud provides when completing this request.
    org_id str
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    results Sequence[GetOrgLogIntegrationsResult]
    List of returned documents that MongoDB Cloud provides when completing this request.
    orgId String
    Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
    results List<Property Map>
    List of returned documents that MongoDB Cloud provides when completing this request.

    Supporting Types

    GetOrgLogIntegrationsResult

    IntegrationId string
    Unique 24-character hexadecimal digit string that identifies the log integration configuration.
    LogTypes List<string>
    Array of log types exported by this integration.
    OtelEndpoint string
    OpenTelemetry collector endpoint URL.
    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.
    IntegrationId string
    Unique 24-character hexadecimal digit string that identifies the log integration configuration.
    LogTypes []string
    Array of log types exported by this integration.
    OtelEndpoint string
    OpenTelemetry collector endpoint URL.
    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.
    integration_id string
    Unique 24-character hexadecimal digit string that identifies the log integration configuration.
    log_types list(string)
    Array of log types exported by this integration.
    otel_endpoint string
    OpenTelemetry collector endpoint URL.
    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.
    integrationId String
    Unique 24-character hexadecimal digit string that identifies the log integration configuration.
    logTypes List<String>
    Array of log types exported by this integration.
    otelEndpoint String
    OpenTelemetry collector endpoint URL.
    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.
    integrationId string
    Unique 24-character hexadecimal digit string that identifies the log integration configuration.
    logTypes string[]
    Array of log types exported by this integration.
    otelEndpoint string
    OpenTelemetry collector endpoint URL.
    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.
    integration_id str
    Unique 24-character hexadecimal digit string that identifies the log integration configuration.
    log_types Sequence[str]
    Array of log types exported by this integration.
    otel_endpoint str
    OpenTelemetry collector endpoint URL.
    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.
    integrationId String
    Unique 24-character hexadecimal digit string that identifies the log integration configuration.
    logTypes List<String>
    Array of log types exported by this integration.
    otelEndpoint String
    OpenTelemetry collector endpoint URL.
    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.

    Package Details

    Repository
    MongoDB Atlas pulumi/pulumi-mongodbatlas
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mongodbatlas Terraform Provider.
    mongodbatlas logo mongodbatlas logo
    Viewing docs for MongoDB Atlas v4.17.0
    published on Thursday, Oct 1, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial