1. Packages
  2. Fivetran Provider
  3. API Docs
  4. getExternalLogging
Viewing docs for fivetran 1.9.26
published on Friday, Mar 20, 2026 by fivetran
fivetran logo
Viewing docs for fivetran 1.9.26
published on Friday, Mar 20, 2026 by fivetran

    This data source returns a logging service object.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fivetran from "@pulumi/fivetran";
    
    const extlog = fivetran.getExternalLogging({
        id: "anonymous_mystery",
    });
    
    import pulumi
    import pulumi_fivetran as fivetran
    
    extlog = fivetran.get_external_logging(id="anonymous_mystery")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fivetran/fivetran"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fivetran.LookupExternalLogging(ctx, &fivetran.LookupExternalLoggingArgs{
    			Id: "anonymous_mystery",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fivetran = Pulumi.Fivetran;
    
    return await Deployment.RunAsync(() => 
    {
        var extlog = Fivetran.GetExternalLogging.Invoke(new()
        {
            Id = "anonymous_mystery",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fivetran.FivetranFunctions;
    import com.pulumi.fivetran.inputs.GetExternalLoggingArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var extlog = FivetranFunctions.getExternalLogging(GetExternalLoggingArgs.builder()
                .id("anonymous_mystery")
                .build());
    
        }
    }
    
    variables:
      extlog:
        fn::invoke:
          function: fivetran:getExternalLogging
          arguments:
            id: anonymous_mystery
    

    Using getExternalLogging

    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 getExternalLogging(args: GetExternalLoggingArgs, opts?: InvokeOptions): Promise<GetExternalLoggingResult>
    function getExternalLoggingOutput(args: GetExternalLoggingOutputArgs, opts?: InvokeOptions): Output<GetExternalLoggingResult>
    def get_external_logging(config: Optional[GetExternalLoggingConfig] = None,
                             id: Optional[str] = None,
                             run_setup_tests: Optional[bool] = None,
                             opts: Optional[InvokeOptions] = None) -> GetExternalLoggingResult
    def get_external_logging_output(config: Optional[pulumi.Input[GetExternalLoggingConfigArgs]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             run_setup_tests: Optional[pulumi.Input[bool]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetExternalLoggingResult]
    func LookupExternalLogging(ctx *Context, args *LookupExternalLoggingArgs, opts ...InvokeOption) (*LookupExternalLoggingResult, error)
    func LookupExternalLoggingOutput(ctx *Context, args *LookupExternalLoggingOutputArgs, opts ...InvokeOption) LookupExternalLoggingResultOutput

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

    public static class GetExternalLogging 
    {
        public static Task<GetExternalLoggingResult> InvokeAsync(GetExternalLoggingArgs args, InvokeOptions? opts = null)
        public static Output<GetExternalLoggingResult> Invoke(GetExternalLoggingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExternalLoggingResult> getExternalLogging(GetExternalLoggingArgs args, InvokeOptions options)
    public static Output<GetExternalLoggingResult> getExternalLogging(GetExternalLoggingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: fivetran:index/getExternalLogging:getExternalLogging
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique identifier for the log service within the Fivetran system.
    Config GetExternalLoggingConfig
    RunSetupTests bool
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    Id string
    The unique identifier for the log service within the Fivetran system.
    Config GetExternalLoggingConfig
    RunSetupTests bool
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    id String
    The unique identifier for the log service within the Fivetran system.
    config GetExternalLoggingConfig
    runSetupTests Boolean
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    id string
    The unique identifier for the log service within the Fivetran system.
    config GetExternalLoggingConfig
    runSetupTests boolean
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    id str
    The unique identifier for the log service within the Fivetran system.
    config GetExternalLoggingConfig
    run_setup_tests bool
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    id String
    The unique identifier for the log service within the Fivetran system.
    config Property Map
    runSetupTests Boolean
    Specifies whether the setup tests should be run automatically. The default value is TRUE.

    getExternalLogging Result

    The following output properties are available:

    Enabled bool
    The boolean value specifying whether the log service is enabled.
    GroupId string
    The unique identifier for the log service within the Fivetran system.
    Id string
    The unique identifier for the log service within the Fivetran system.
    Service string
    The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
    Config GetExternalLoggingConfig
    RunSetupTests bool
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    Enabled bool
    The boolean value specifying whether the log service is enabled.
    GroupId string
    The unique identifier for the log service within the Fivetran system.
    Id string
    The unique identifier for the log service within the Fivetran system.
    Service string
    The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
    Config GetExternalLoggingConfig
    RunSetupTests bool
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    enabled Boolean
    The boolean value specifying whether the log service is enabled.
    groupId String
    The unique identifier for the log service within the Fivetran system.
    id String
    The unique identifier for the log service within the Fivetran system.
    service String
    The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
    config GetExternalLoggingConfig
    runSetupTests Boolean
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    enabled boolean
    The boolean value specifying whether the log service is enabled.
    groupId string
    The unique identifier for the log service within the Fivetran system.
    id string
    The unique identifier for the log service within the Fivetran system.
    service string
    The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
    config GetExternalLoggingConfig
    runSetupTests boolean
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    enabled bool
    The boolean value specifying whether the log service is enabled.
    group_id str
    The unique identifier for the log service within the Fivetran system.
    id str
    The unique identifier for the log service within the Fivetran system.
    service str
    The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
    config GetExternalLoggingConfig
    run_setup_tests bool
    Specifies whether the setup tests should be run automatically. The default value is TRUE.
    enabled Boolean
    The boolean value specifying whether the log service is enabled.
    groupId String
    The unique identifier for the log service within the Fivetran system.
    id String
    The unique identifier for the log service within the Fivetran system.
    service String
    The name for the log service type within the Fivetran system. We support the following log services: azuremonitorlog, cloudwatch, datadoglog, newrelic_log, splunkLog, stackdriver.
    config Property Map
    runSetupTests Boolean
    Specifies whether the setup tests should be run automatically. The default value is TRUE.

    Supporting Types

    GetExternalLoggingConfig

    AccessKeyId string
    AccessKeySecret string
    ApiKey string
    Channel string
    EnableSsl bool
    ExternalId string
    Host string
    Hostname string
    LogGroupName string
    Port double
    PrimaryKey string
    ProjectId string
    Region string
    RoleArn string
    ServiceAccountKey string
    SubDomain string
    Token string
    WorkspaceId string
    AccessKeyId string
    AccessKeySecret string
    ApiKey string
    Channel string
    EnableSsl bool
    ExternalId string
    Host string
    Hostname string
    LogGroupName string
    Port float64
    PrimaryKey string
    ProjectId string
    Region string
    RoleArn string
    ServiceAccountKey string
    SubDomain string
    Token string
    WorkspaceId string
    accessKeyId String
    accessKeySecret String
    apiKey String
    channel String
    enableSsl Boolean
    externalId String
    host String
    hostname String
    logGroupName String
    port Double
    primaryKey String
    projectId String
    region String
    roleArn String
    serviceAccountKey String
    subDomain String
    token String
    workspaceId String
    accessKeyId string
    accessKeySecret string
    apiKey string
    channel string
    enableSsl boolean
    externalId string
    host string
    hostname string
    logGroupName string
    port number
    primaryKey string
    projectId string
    region string
    roleArn string
    serviceAccountKey string
    subDomain string
    token string
    workspaceId string
    accessKeyId String
    accessKeySecret String
    apiKey String
    channel String
    enableSsl Boolean
    externalId String
    host String
    hostname String
    logGroupName String
    port Number
    primaryKey String
    projectId String
    region String
    roleArn String
    serviceAccountKey String
    subDomain String
    token String
    workspaceId String

    Package Details

    Repository
    fivetran fivetran/terraform-provider-fivetran
    License
    Notes
    This Pulumi package is based on the fivetran Terraform Provider.
    fivetran logo
    Viewing docs for fivetran 1.9.26
    published on Friday, Mar 20, 2026 by fivetran
      Try Pulumi Cloud free. Your team will thank you.