1. Packages
  2. Cyral Provider
  3. API Docs
  4. IntegrationLogging
cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc

cyral.IntegrationLogging

Explore with Pulumi AI

cyral logo
cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc

    # cyral.IntegrationLogging (Resource)

    Manages a logging integration that can be used to push logs from Cyral to the corresponding logging system (E.g.: AWS CloudWatch, Splunk, SumoLogic, etc).

    Import ID syntax is {logging_integration_id}.

    Example Usage

    See the list of all the supported logging integrations in the resource schema. Refer to our public docs for more information.

    import * as pulumi from "@pulumi/pulumi";
    import * as cyral from "@pulumi/cyral";
    
    const cloudwatchLogGroupName = "cyral-example-loggroup";
    const cloudwatch = new cyral.IntegrationLogging("cloudwatch", {cloudwatch: {
        region: "us-east-1",
        group: cloudwatchLogGroupName,
        stream: "cyral-sidecar",
    }});
    const sidecar = new cyral.Sidecar("sidecar", {
        deploymentMethod: "terraform",
        activityLogIntegrationId: cloudwatch.id,
    });
    const creds = new cyral.SidecarCredentials("creds", {sidecarId: sidecar.id});
    
    import pulumi
    import pulumi_cyral as cyral
    
    cloudwatch_log_group_name = "cyral-example-loggroup"
    cloudwatch = cyral.IntegrationLogging("cloudwatch", cloudwatch={
        "region": "us-east-1",
        "group": cloudwatch_log_group_name,
        "stream": "cyral-sidecar",
    })
    sidecar = cyral.Sidecar("sidecar",
        deployment_method="terraform",
        activity_log_integration_id=cloudwatch.id)
    creds = cyral.SidecarCredentials("creds", sidecar_id=sidecar.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/cyral/v4/cyral"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cloudwatchLogGroupName := "cyral-example-loggroup"
    		cloudwatch, err := cyral.NewIntegrationLogging(ctx, "cloudwatch", &cyral.IntegrationLoggingArgs{
    			Cloudwatch: &cyral.IntegrationLoggingCloudwatchArgs{
    				Region: pulumi.String("us-east-1"),
    				Group:  pulumi.String(cloudwatchLogGroupName),
    				Stream: pulumi.String("cyral-sidecar"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		sidecar, err := cyral.NewSidecar(ctx, "sidecar", &cyral.SidecarArgs{
    			DeploymentMethod:         pulumi.String("terraform"),
    			ActivityLogIntegrationId: cloudwatch.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cyral.NewSidecarCredentials(ctx, "creds", &cyral.SidecarCredentialsArgs{
    			SidecarId: sidecar.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cyral = Pulumi.Cyral;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudwatchLogGroupName = "cyral-example-loggroup";
    
        var cloudwatch = new Cyral.IntegrationLogging("cloudwatch", new()
        {
            Cloudwatch = new Cyral.Inputs.IntegrationLoggingCloudwatchArgs
            {
                Region = "us-east-1",
                Group = cloudwatchLogGroupName,
                Stream = "cyral-sidecar",
            },
        });
    
        var sidecar = new Cyral.Sidecar("sidecar", new()
        {
            DeploymentMethod = "terraform",
            ActivityLogIntegrationId = cloudwatch.Id,
        });
    
        var creds = new Cyral.SidecarCredentials("creds", new()
        {
            SidecarId = sidecar.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cyral.IntegrationLogging;
    import com.pulumi.cyral.IntegrationLoggingArgs;
    import com.pulumi.cyral.inputs.IntegrationLoggingCloudwatchArgs;
    import com.pulumi.cyral.Sidecar;
    import com.pulumi.cyral.SidecarArgs;
    import com.pulumi.cyral.SidecarCredentials;
    import com.pulumi.cyral.SidecarCredentialsArgs;
    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 cloudwatchLogGroupName = "cyral-example-loggroup";
    
            var cloudwatch = new IntegrationLogging("cloudwatch", IntegrationLoggingArgs.builder()
                .cloudwatch(IntegrationLoggingCloudwatchArgs.builder()
                    .region("us-east-1")
                    .group(cloudwatchLogGroupName)
                    .stream("cyral-sidecar")
                    .build())
                .build());
    
            var sidecar = new Sidecar("sidecar", SidecarArgs.builder()
                .deploymentMethod("terraform")
                .activityLogIntegrationId(cloudwatch.id())
                .build());
    
            var creds = new SidecarCredentials("creds", SidecarCredentialsArgs.builder()
                .sidecarId(sidecar.id())
                .build());
    
        }
    }
    
    resources:
      sidecar:
        type: cyral:Sidecar
        properties:
          deploymentMethod: terraform
          activityLogIntegrationId: ${cloudwatch.id}
      cloudwatch:
        type: cyral:IntegrationLogging
        properties:
          cloudwatch:
            region: us-east-1
            group: ${cloudwatchLogGroupName}
            stream: cyral-sidecar
      creds:
        type: cyral:SidecarCredentials
        properties:
          sidecarId: ${sidecar.id}
    variables:
      cloudwatchLogGroupName: cyral-example-loggroup
    

    Custom Integration

    Advanced users can use the “Fluent Bit” logging integration to customize how the sidecar sends logs to their log management destination. Using the fluent_bit block, users can provide a customized Fluent Bit configuration (in “classic mode” INI format), using any combination of filter and output plugins. More information can be found in the official Fluent Bit documentation (see the “Filter” and “Output” sections).

    import * as pulumi from "@pulumi/pulumi";
    import * as cyral from "@pulumi/cyral";
    
    const s3 = new cyral.IntegrationLogging("s3", {fluentBit: {
        config: `[OUTPUT]
      Name s3
      Match *
      Region us-east-2
      Bucket example-bucket
      Total_file_size 1M
    `,
    }});
    // Configures `my-sidecar-fluent-bit` to push logs to a bucket named
    // `example-bucket` in AWS S3.
    const sidecarFluentBit = new cyral.Sidecar("sidecarFluentBit", {
        deploymentMethod: "terraform",
        activityLogIntegrationId: s3.id,
    });
    // Configures a raw Splunk integration with no sidecar associated.
    const splunkIntegration = new cyral.IntegrationLogging("splunkIntegration", {splunk: {
        hostname: "http://splunk.com",
        hecPort: "8088",
        accessToken: "XXXXXXXXXXX",
    }});
    
    import pulumi
    import pulumi_cyral as cyral
    
    s3 = cyral.IntegrationLogging("s3", fluent_bit={
        "config": """[OUTPUT]
      Name s3
      Match *
      Region us-east-2
      Bucket example-bucket
      Total_file_size 1M
    """,
    })
    # Configures `my-sidecar-fluent-bit` to push logs to a bucket named
    # `example-bucket` in AWS S3.
    sidecar_fluent_bit = cyral.Sidecar("sidecarFluentBit",
        deployment_method="terraform",
        activity_log_integration_id=s3.id)
    # Configures a raw Splunk integration with no sidecar associated.
    splunk_integration = cyral.IntegrationLogging("splunkIntegration", splunk={
        "hostname": "http://splunk.com",
        "hec_port": "8088",
        "access_token": "XXXXXXXXXXX",
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/cyral/v4/cyral"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		s3, err := cyral.NewIntegrationLogging(ctx, "s3", &cyral.IntegrationLoggingArgs{
    			FluentBit: &cyral.IntegrationLoggingFluentBitArgs{
    				Config: pulumi.String(`[OUTPUT]
      Name s3
      Match *
      Region us-east-2
      Bucket example-bucket
      Total_file_size 1M
    `),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Configures `my-sidecar-fluent-bit` to push logs to a bucket named
    		// `example-bucket` in AWS S3.
    		_, err = cyral.NewSidecar(ctx, "sidecarFluentBit", &cyral.SidecarArgs{
    			DeploymentMethod:         pulumi.String("terraform"),
    			ActivityLogIntegrationId: s3.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		// Configures a raw Splunk integration with no sidecar associated.
    		_, err = cyral.NewIntegrationLogging(ctx, "splunkIntegration", &cyral.IntegrationLoggingArgs{
    			Splunk: &cyral.IntegrationLoggingSplunkArgs{
    				Hostname:    pulumi.String("http://splunk.com"),
    				HecPort:     pulumi.String("8088"),
    				AccessToken: pulumi.String("XXXXXXXXXXX"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cyral = Pulumi.Cyral;
    
    return await Deployment.RunAsync(() => 
    {
        var s3 = new Cyral.IntegrationLogging("s3", new()
        {
            FluentBit = new Cyral.Inputs.IntegrationLoggingFluentBitArgs
            {
                Config = @"[OUTPUT]
      Name s3
      Match *
      Region us-east-2
      Bucket example-bucket
      Total_file_size 1M
    ",
            },
        });
    
        // Configures `my-sidecar-fluent-bit` to push logs to a bucket named
        // `example-bucket` in AWS S3.
        var sidecarFluentBit = new Cyral.Sidecar("sidecarFluentBit", new()
        {
            DeploymentMethod = "terraform",
            ActivityLogIntegrationId = s3.Id,
        });
    
        // Configures a raw Splunk integration with no sidecar associated.
        var splunkIntegration = new Cyral.IntegrationLogging("splunkIntegration", new()
        {
            Splunk = new Cyral.Inputs.IntegrationLoggingSplunkArgs
            {
                Hostname = "http://splunk.com",
                HecPort = "8088",
                AccessToken = "XXXXXXXXXXX",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cyral.IntegrationLogging;
    import com.pulumi.cyral.IntegrationLoggingArgs;
    import com.pulumi.cyral.inputs.IntegrationLoggingFluentBitArgs;
    import com.pulumi.cyral.Sidecar;
    import com.pulumi.cyral.SidecarArgs;
    import com.pulumi.cyral.inputs.IntegrationLoggingSplunkArgs;
    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) {
            var s3 = new IntegrationLogging("s3", IntegrationLoggingArgs.builder()
                .fluentBit(IntegrationLoggingFluentBitArgs.builder()
                    .config("""
    [OUTPUT]
      Name s3
      Match *
      Region us-east-2
      Bucket example-bucket
      Total_file_size 1M
                    """)
                    .build())
                .build());
    
            // Configures `my-sidecar-fluent-bit` to push logs to a bucket named
            // `example-bucket` in AWS S3.
            var sidecarFluentBit = new Sidecar("sidecarFluentBit", SidecarArgs.builder()
                .deploymentMethod("terraform")
                .activityLogIntegrationId(s3.id())
                .build());
    
            // Configures a raw Splunk integration with no sidecar associated.
            var splunkIntegration = new IntegrationLogging("splunkIntegration", IntegrationLoggingArgs.builder()
                .splunk(IntegrationLoggingSplunkArgs.builder()
                    .hostname("http://splunk.com")
                    .hecPort("8088")
                    .accessToken("XXXXXXXXXXX")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Configures `my-sidecar-fluent-bit` to push logs to a bucket named
      # `example-bucket` in AWS S3.
      sidecarFluentBit:
        type: cyral:Sidecar
        properties:
          deploymentMethod: terraform
          activityLogIntegrationId: ${s3.id}
      s3:
        type: cyral:IntegrationLogging
        properties:
          fluentBit:
            config: |
              [OUTPUT]
                Name s3
                Match *
                Region us-east-2
                Bucket example-bucket
                Total_file_size 1M          
      # Configures a raw Splunk integration with no sidecar associated.
      splunkIntegration:
        type: cyral:IntegrationLogging
        properties:
          splunk:
            hostname: http://splunk.com
            hecPort: '8088'
            accessToken: XXXXXXXXXXX
    

    Create IntegrationLogging Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IntegrationLogging(name: string, args?: IntegrationLoggingArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationLogging(resource_name: str,
                           args: Optional[IntegrationLoggingArgs] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationLogging(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           cloudwatch: Optional[IntegrationLoggingCloudwatchArgs] = None,
                           datadog: Optional[IntegrationLoggingDatadogArgs] = None,
                           elk: Optional[IntegrationLoggingElkArgs] = None,
                           fluent_bit: Optional[IntegrationLoggingFluentBitArgs] = None,
                           name: Optional[str] = None,
                           receive_audit_logs: Optional[bool] = None,
                           splunk: Optional[IntegrationLoggingSplunkArgs] = None,
                           sumo_logic: Optional[IntegrationLoggingSumoLogicArgs] = None)
    func NewIntegrationLogging(ctx *Context, name string, args *IntegrationLoggingArgs, opts ...ResourceOption) (*IntegrationLogging, error)
    public IntegrationLogging(string name, IntegrationLoggingArgs? args = null, CustomResourceOptions? opts = null)
    public IntegrationLogging(String name, IntegrationLoggingArgs args)
    public IntegrationLogging(String name, IntegrationLoggingArgs args, CustomResourceOptions options)
    
    type: cyral:IntegrationLogging
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IntegrationLoggingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IntegrationLoggingArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IntegrationLoggingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationLoggingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationLoggingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var integrationLoggingResource = new Cyral.IntegrationLogging("integrationLoggingResource", new()
    {
        Cloudwatch = new Cyral.Inputs.IntegrationLoggingCloudwatchArgs
        {
            Group = "string",
            Region = "string",
            Stream = "string",
        },
        Datadog = new Cyral.Inputs.IntegrationLoggingDatadogArgs
        {
            ApiKey = "string",
        },
        FluentBit = new Cyral.Inputs.IntegrationLoggingFluentBitArgs
        {
            Config = "string",
            SkipValidate = false,
        },
        Name = "string",
        ReceiveAuditLogs = false,
        Splunk = new Cyral.Inputs.IntegrationLoggingSplunkArgs
        {
            AccessToken = "string",
            HecPort = "string",
            Hostname = "string",
            Index = "string",
            UseTls = false,
        },
        SumoLogic = new Cyral.Inputs.IntegrationLoggingSumoLogicArgs
        {
            Address = "string",
        },
    });
    
    example, err := cyral.NewIntegrationLogging(ctx, "integrationLoggingResource", &cyral.IntegrationLoggingArgs{
    	Cloudwatch: &cyral.IntegrationLoggingCloudwatchArgs{
    		Group:  pulumi.String("string"),
    		Region: pulumi.String("string"),
    		Stream: pulumi.String("string"),
    	},
    	Datadog: &cyral.IntegrationLoggingDatadogArgs{
    		ApiKey: pulumi.String("string"),
    	},
    	FluentBit: &cyral.IntegrationLoggingFluentBitArgs{
    		Config:       pulumi.String("string"),
    		SkipValidate: pulumi.Bool(false),
    	},
    	Name:             pulumi.String("string"),
    	ReceiveAuditLogs: pulumi.Bool(false),
    	Splunk: &cyral.IntegrationLoggingSplunkArgs{
    		AccessToken: pulumi.String("string"),
    		HecPort:     pulumi.String("string"),
    		Hostname:    pulumi.String("string"),
    		Index:       pulumi.String("string"),
    		UseTls:      pulumi.Bool(false),
    	},
    	SumoLogic: &cyral.IntegrationLoggingSumoLogicArgs{
    		Address: pulumi.String("string"),
    	},
    })
    
    var integrationLoggingResource = new IntegrationLogging("integrationLoggingResource", IntegrationLoggingArgs.builder()
        .cloudwatch(IntegrationLoggingCloudwatchArgs.builder()
            .group("string")
            .region("string")
            .stream("string")
            .build())
        .datadog(IntegrationLoggingDatadogArgs.builder()
            .apiKey("string")
            .build())
        .fluentBit(IntegrationLoggingFluentBitArgs.builder()
            .config("string")
            .skipValidate(false)
            .build())
        .name("string")
        .receiveAuditLogs(false)
        .splunk(IntegrationLoggingSplunkArgs.builder()
            .accessToken("string")
            .hecPort("string")
            .hostname("string")
            .index("string")
            .useTls(false)
            .build())
        .sumoLogic(IntegrationLoggingSumoLogicArgs.builder()
            .address("string")
            .build())
        .build());
    
    integration_logging_resource = cyral.IntegrationLogging("integrationLoggingResource",
        cloudwatch={
            "group": "string",
            "region": "string",
            "stream": "string",
        },
        datadog={
            "api_key": "string",
        },
        fluent_bit={
            "config": "string",
            "skip_validate": False,
        },
        name="string",
        receive_audit_logs=False,
        splunk={
            "access_token": "string",
            "hec_port": "string",
            "hostname": "string",
            "index": "string",
            "use_tls": False,
        },
        sumo_logic={
            "address": "string",
        })
    
    const integrationLoggingResource = new cyral.IntegrationLogging("integrationLoggingResource", {
        cloudwatch: {
            group: "string",
            region: "string",
            stream: "string",
        },
        datadog: {
            apiKey: "string",
        },
        fluentBit: {
            config: "string",
            skipValidate: false,
        },
        name: "string",
        receiveAuditLogs: false,
        splunk: {
            accessToken: "string",
            hecPort: "string",
            hostname: "string",
            index: "string",
            useTls: false,
        },
        sumoLogic: {
            address: "string",
        },
    });
    
    type: cyral:IntegrationLogging
    properties:
        cloudwatch:
            group: string
            region: string
            stream: string
        datadog:
            apiKey: string
        fluentBit:
            config: string
            skipValidate: false
        name: string
        receiveAuditLogs: false
        splunk:
            accessToken: string
            hecPort: string
            hostname: string
            index: string
            useTls: false
        sumoLogic:
            address: string
    

    IntegrationLogging Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IntegrationLogging resource accepts the following input properties:

    Cloudwatch IntegrationLoggingCloudwatch
    Represents the configuration data required for the AWS CloudWatch log management system.
    Datadog IntegrationLoggingDatadog
    Represents the configuration data required for the Datadog's log management system.
    Elk IntegrationLoggingElk
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    FluentBit IntegrationLoggingFluentBit
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    Name string
    Name of the logging integration config.
    ReceiveAuditLogs bool
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    Splunk IntegrationLoggingSplunk
    Represents the configuration data required for the Splunk log management system.
    SumoLogic IntegrationLoggingSumoLogic
    Represents the configuration data required for the Sumo Logic log management system.
    Cloudwatch IntegrationLoggingCloudwatchArgs
    Represents the configuration data required for the AWS CloudWatch log management system.
    Datadog IntegrationLoggingDatadogArgs
    Represents the configuration data required for the Datadog's log management system.
    Elk IntegrationLoggingElkArgs
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    FluentBit IntegrationLoggingFluentBitArgs
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    Name string
    Name of the logging integration config.
    ReceiveAuditLogs bool
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    Splunk IntegrationLoggingSplunkArgs
    Represents the configuration data required for the Splunk log management system.
    SumoLogic IntegrationLoggingSumoLogicArgs
    Represents the configuration data required for the Sumo Logic log management system.
    cloudwatch IntegrationLoggingCloudwatch
    Represents the configuration data required for the AWS CloudWatch log management system.
    datadog IntegrationLoggingDatadog
    Represents the configuration data required for the Datadog's log management system.
    elk IntegrationLoggingElk
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    fluentBit IntegrationLoggingFluentBit
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    name String
    Name of the logging integration config.
    receiveAuditLogs Boolean
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    splunk IntegrationLoggingSplunk
    Represents the configuration data required for the Splunk log management system.
    sumoLogic IntegrationLoggingSumoLogic
    Represents the configuration data required for the Sumo Logic log management system.
    cloudwatch IntegrationLoggingCloudwatch
    Represents the configuration data required for the AWS CloudWatch log management system.
    datadog IntegrationLoggingDatadog
    Represents the configuration data required for the Datadog's log management system.
    elk IntegrationLoggingElk
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    fluentBit IntegrationLoggingFluentBit
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    name string
    Name of the logging integration config.
    receiveAuditLogs boolean
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    splunk IntegrationLoggingSplunk
    Represents the configuration data required for the Splunk log management system.
    sumoLogic IntegrationLoggingSumoLogic
    Represents the configuration data required for the Sumo Logic log management system.
    cloudwatch IntegrationLoggingCloudwatchArgs
    Represents the configuration data required for the AWS CloudWatch log management system.
    datadog IntegrationLoggingDatadogArgs
    Represents the configuration data required for the Datadog's log management system.
    elk IntegrationLoggingElkArgs
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    fluent_bit IntegrationLoggingFluentBitArgs
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    name str
    Name of the logging integration config.
    receive_audit_logs bool
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    splunk IntegrationLoggingSplunkArgs
    Represents the configuration data required for the Splunk log management system.
    sumo_logic IntegrationLoggingSumoLogicArgs
    Represents the configuration data required for the Sumo Logic log management system.
    cloudwatch Property Map
    Represents the configuration data required for the AWS CloudWatch log management system.
    datadog Property Map
    Represents the configuration data required for the Datadog's log management system.
    elk Property Map
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    fluentBit Property Map
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    name String
    Name of the logging integration config.
    receiveAuditLogs Boolean
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    splunk Property Map
    Represents the configuration data required for the Splunk log management system.
    sumoLogic Property Map
    Represents the configuration data required for the Sumo Logic log management system.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationLogging resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IntegrationLogging Resource

    Get an existing IntegrationLogging resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IntegrationLoggingState, opts?: CustomResourceOptions): IntegrationLogging
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloudwatch: Optional[IntegrationLoggingCloudwatchArgs] = None,
            datadog: Optional[IntegrationLoggingDatadogArgs] = None,
            elk: Optional[IntegrationLoggingElkArgs] = None,
            fluent_bit: Optional[IntegrationLoggingFluentBitArgs] = None,
            name: Optional[str] = None,
            receive_audit_logs: Optional[bool] = None,
            splunk: Optional[IntegrationLoggingSplunkArgs] = None,
            sumo_logic: Optional[IntegrationLoggingSumoLogicArgs] = None) -> IntegrationLogging
    func GetIntegrationLogging(ctx *Context, name string, id IDInput, state *IntegrationLoggingState, opts ...ResourceOption) (*IntegrationLogging, error)
    public static IntegrationLogging Get(string name, Input<string> id, IntegrationLoggingState? state, CustomResourceOptions? opts = null)
    public static IntegrationLogging get(String name, Output<String> id, IntegrationLoggingState state, CustomResourceOptions options)
    resources:  _:    type: cyral:IntegrationLogging    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Cloudwatch IntegrationLoggingCloudwatch
    Represents the configuration data required for the AWS CloudWatch log management system.
    Datadog IntegrationLoggingDatadog
    Represents the configuration data required for the Datadog's log management system.
    Elk IntegrationLoggingElk
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    FluentBit IntegrationLoggingFluentBit
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    Name string
    Name of the logging integration config.
    ReceiveAuditLogs bool
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    Splunk IntegrationLoggingSplunk
    Represents the configuration data required for the Splunk log management system.
    SumoLogic IntegrationLoggingSumoLogic
    Represents the configuration data required for the Sumo Logic log management system.
    Cloudwatch IntegrationLoggingCloudwatchArgs
    Represents the configuration data required for the AWS CloudWatch log management system.
    Datadog IntegrationLoggingDatadogArgs
    Represents the configuration data required for the Datadog's log management system.
    Elk IntegrationLoggingElkArgs
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    FluentBit IntegrationLoggingFluentBitArgs
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    Name string
    Name of the logging integration config.
    ReceiveAuditLogs bool
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    Splunk IntegrationLoggingSplunkArgs
    Represents the configuration data required for the Splunk log management system.
    SumoLogic IntegrationLoggingSumoLogicArgs
    Represents the configuration data required for the Sumo Logic log management system.
    cloudwatch IntegrationLoggingCloudwatch
    Represents the configuration data required for the AWS CloudWatch log management system.
    datadog IntegrationLoggingDatadog
    Represents the configuration data required for the Datadog's log management system.
    elk IntegrationLoggingElk
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    fluentBit IntegrationLoggingFluentBit
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    name String
    Name of the logging integration config.
    receiveAuditLogs Boolean
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    splunk IntegrationLoggingSplunk
    Represents the configuration data required for the Splunk log management system.
    sumoLogic IntegrationLoggingSumoLogic
    Represents the configuration data required for the Sumo Logic log management system.
    cloudwatch IntegrationLoggingCloudwatch
    Represents the configuration data required for the AWS CloudWatch log management system.
    datadog IntegrationLoggingDatadog
    Represents the configuration data required for the Datadog's log management system.
    elk IntegrationLoggingElk
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    fluentBit IntegrationLoggingFluentBit
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    name string
    Name of the logging integration config.
    receiveAuditLogs boolean
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    splunk IntegrationLoggingSplunk
    Represents the configuration data required for the Splunk log management system.
    sumoLogic IntegrationLoggingSumoLogic
    Represents the configuration data required for the Sumo Logic log management system.
    cloudwatch IntegrationLoggingCloudwatchArgs
    Represents the configuration data required for the AWS CloudWatch log management system.
    datadog IntegrationLoggingDatadogArgs
    Represents the configuration data required for the Datadog's log management system.
    elk IntegrationLoggingElkArgs
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    fluent_bit IntegrationLoggingFluentBitArgs
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    name str
    Name of the logging integration config.
    receive_audit_logs bool
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    splunk IntegrationLoggingSplunkArgs
    Represents the configuration data required for the Splunk log management system.
    sumo_logic IntegrationLoggingSumoLogicArgs
    Represents the configuration data required for the Sumo Logic log management system.
    cloudwatch Property Map
    Represents the configuration data required for the AWS CloudWatch log management system.
    datadog Property Map
    Represents the configuration data required for the Datadog's log management system.
    elk Property Map
    Represents the configuration data required for the ELK stack log management system.

    Deprecated: Deprecated

    fluentBit Property Map
    Represents a custom Fluent Bit configuration which will be utilized by the sidecar's log shipper.
    name String
    Name of the logging integration config.
    receiveAuditLogs Boolean
    Whether or not Cyral audit logs should be forwarded to this logging integration. Declaration not supported in conjunction with fluent_bit block.
    splunk Property Map
    Represents the configuration data required for the Splunk log management system.
    sumoLogic Property Map
    Represents the configuration data required for the Sumo Logic log management system.

    Supporting Types

    IntegrationLoggingCloudwatch, IntegrationLoggingCloudwatchArgs

    Group string
    CloudWatch log group.
    Region string
    AWS region.
    Stream string
    CloudWatch log stream. Defaults to cyral-sidecar if not set.
    Group string
    CloudWatch log group.
    Region string
    AWS region.
    Stream string
    CloudWatch log stream. Defaults to cyral-sidecar if not set.
    group String
    CloudWatch log group.
    region String
    AWS region.
    stream String
    CloudWatch log stream. Defaults to cyral-sidecar if not set.
    group string
    CloudWatch log group.
    region string
    AWS region.
    stream string
    CloudWatch log stream. Defaults to cyral-sidecar if not set.
    group str
    CloudWatch log group.
    region str
    AWS region.
    stream str
    CloudWatch log stream. Defaults to cyral-sidecar if not set.
    group String
    CloudWatch log group.
    region String
    AWS region.
    stream String
    CloudWatch log stream. Defaults to cyral-sidecar if not set.

    IntegrationLoggingDatadog, IntegrationLoggingDatadogArgs

    ApiKey string
    DataDog API key.
    ApiKey string
    DataDog API key.
    apiKey String
    DataDog API key.
    apiKey string
    DataDog API key.
    api_key str
    DataDog API key.
    apiKey String
    DataDog API key.

    IntegrationLoggingElk, IntegrationLoggingElkArgs

    EsUrl string
    Elasticsearch URL.
    EsCredentials IntegrationLoggingElkEsCredentials
    Credentials used to authenticate to Elastic Search.Can be omitted for unprotected instances.
    KibanaUrl string
    Kibana URL.
    EsUrl string
    Elasticsearch URL.
    EsCredentials IntegrationLoggingElkEsCredentials
    Credentials used to authenticate to Elastic Search.Can be omitted for unprotected instances.
    KibanaUrl string
    Kibana URL.
    esUrl String
    Elasticsearch URL.
    esCredentials IntegrationLoggingElkEsCredentials
    Credentials used to authenticate to Elastic Search.Can be omitted for unprotected instances.
    kibanaUrl String
    Kibana URL.
    esUrl string
    Elasticsearch URL.
    esCredentials IntegrationLoggingElkEsCredentials
    Credentials used to authenticate to Elastic Search.Can be omitted for unprotected instances.
    kibanaUrl string
    Kibana URL.
    es_url str
    Elasticsearch URL.
    es_credentials IntegrationLoggingElkEsCredentials
    Credentials used to authenticate to Elastic Search.Can be omitted for unprotected instances.
    kibana_url str
    Kibana URL.
    esUrl String
    Elasticsearch URL.
    esCredentials Property Map
    Credentials used to authenticate to Elastic Search.Can be omitted for unprotected instances.
    kibanaUrl String
    Kibana URL.

    IntegrationLoggingElkEsCredentials, IntegrationLoggingElkEsCredentialsArgs

    Password string
    Elasticsearch password.
    Username string
    Elasticsearch username.
    Password string
    Elasticsearch password.
    Username string
    Elasticsearch username.
    password String
    Elasticsearch password.
    username String
    Elasticsearch username.
    password string
    Elasticsearch password.
    username string
    Elasticsearch username.
    password str
    Elasticsearch password.
    username str
    Elasticsearch username.
    password String
    Elasticsearch password.
    username String
    Elasticsearch username.

    IntegrationLoggingFluentBit, IntegrationLoggingFluentBitArgs

    Config string
    Fluent Bit configuration, in 'classic mode' INI format. For more details, see: https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file
    SkipValidate bool
    Whether to validate the Fluent Bit config.
    Config string
    Fluent Bit configuration, in 'classic mode' INI format. For more details, see: https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file
    SkipValidate bool
    Whether to validate the Fluent Bit config.
    config String
    Fluent Bit configuration, in 'classic mode' INI format. For more details, see: https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file
    skipValidate Boolean
    Whether to validate the Fluent Bit config.
    config string
    Fluent Bit configuration, in 'classic mode' INI format. For more details, see: https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file
    skipValidate boolean
    Whether to validate the Fluent Bit config.
    config str
    Fluent Bit configuration, in 'classic mode' INI format. For more details, see: https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file
    skip_validate bool
    Whether to validate the Fluent Bit config.
    config String
    Fluent Bit configuration, in 'classic mode' INI format. For more details, see: https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file
    skipValidate Boolean
    Whether to validate the Fluent Bit config.

    IntegrationLoggingSplunk, IntegrationLoggingSplunkArgs

    AccessToken string
    Splunk access token.
    HecPort string
    Splunk HTTP Event Collector (HEC) port.
    Hostname string
    Splunk hostname.
    Index string
    Splunk index which logs should be indexed to.
    UseTls bool
    Whether or not to use TLS.
    AccessToken string
    Splunk access token.
    HecPort string
    Splunk HTTP Event Collector (HEC) port.
    Hostname string
    Splunk hostname.
    Index string
    Splunk index which logs should be indexed to.
    UseTls bool
    Whether or not to use TLS.
    accessToken String
    Splunk access token.
    hecPort String
    Splunk HTTP Event Collector (HEC) port.
    hostname String
    Splunk hostname.
    index String
    Splunk index which logs should be indexed to.
    useTls Boolean
    Whether or not to use TLS.
    accessToken string
    Splunk access token.
    hecPort string
    Splunk HTTP Event Collector (HEC) port.
    hostname string
    Splunk hostname.
    index string
    Splunk index which logs should be indexed to.
    useTls boolean
    Whether or not to use TLS.
    access_token str
    Splunk access token.
    hec_port str
    Splunk HTTP Event Collector (HEC) port.
    hostname str
    Splunk hostname.
    index str
    Splunk index which logs should be indexed to.
    use_tls bool
    Whether or not to use TLS.
    accessToken String
    Splunk access token.
    hecPort String
    Splunk HTTP Event Collector (HEC) port.
    hostname String
    Splunk hostname.
    index String
    Splunk index which logs should be indexed to.
    useTls Boolean
    Whether or not to use TLS.

    IntegrationLoggingSumoLogic, IntegrationLoggingSumoLogicArgs

    Address string
    Sumo Logic HTTP collector address. A full URL is expected
    Address string
    Sumo Logic HTTP collector address. A full URL is expected
    address String
    Sumo Logic HTTP collector address. A full URL is expected
    address string
    Sumo Logic HTTP collector address. A full URL is expected
    address str
    Sumo Logic HTTP collector address. A full URL is expected
    address String
    Sumo Logic HTTP collector address. A full URL is expected

    Package Details

    Repository
    cyral cyralinc/terraform-provider-cyral
    License
    Notes
    This Pulumi package is based on the cyral Terraform Provider.
    cyral logo
    cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc