1. Packages
  2. Sumo Logic
  3. API Docs
  4. KineisLogSource
Sumo Logic v0.20.3 published on Wednesday, Mar 6, 2024 by Pulumi

sumologic.KineisLogSource

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.20.3 published on Wednesday, Mar 6, 2024 by Pulumi

    Provides a Sumologic Kinesis Log source. This source is used to ingest log via Kinesis Firehose from AWS.

    IMPORTANT: The AWS credentials are stored in plain-text in the state. This is a potential security issue.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SumoLogic = Pulumi.SumoLogic;
    
    return await Deployment.RunAsync(() => 
    {
        var collector = new SumoLogic.Collector("collector", new()
        {
            Description = "Just testing this",
        });
    
        var kinesisLogAccessKey = new SumoLogic.KineisLogSource("kinesisLogAccessKey", new()
        {
            Authentication = new SumoLogic.Inputs.KineisLogSourceAuthenticationArgs
            {
                AccessKey = "someKey",
                SecretKey = "******",
                Type = "S3BucketAuthentication",
            },
            Category = "prod/kinesis/log",
            CollectorId = collector.Id,
            ContentType = "KinesisLog",
            Description = "Description for Kinesis Log Source",
            Path = new SumoLogic.Inputs.KineisLogSourcePathArgs
            {
                BucketName = "testBucket",
                PathExpression = "http-endpoint-failed/*",
                ScanInterval = 30000,
                Type = "KinesisLogPath",
            },
        });
    
        var kinesisLogRoleArn = new SumoLogic.KineisLogSource("kinesisLogRoleArn", new()
        {
            Authentication = new SumoLogic.Inputs.KineisLogSourceAuthenticationArgs
            {
                RoleArn = "arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI",
                Type = "AWSRoleBasedAuthentication",
            },
            Category = "prod/kinesis/log",
            CollectorId = collector.Id,
            ContentType = "KinesisLog",
            Description = "Description for Kinesis Log Source",
            Path = new SumoLogic.Inputs.KineisLogSourcePathArgs
            {
                BucketName = "testBucket",
                PathExpression = "http-endpoint-failed/*",
                ScanInterval = 30000,
                Type = "KinesisLogPath",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		collector, err := sumologic.NewCollector(ctx, "collector", &sumologic.CollectorArgs{
    			Description: pulumi.String("Just testing this"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sumologic.NewKineisLogSource(ctx, "kinesisLogAccessKey", &sumologic.KineisLogSourceArgs{
    			Authentication: &sumologic.KineisLogSourceAuthenticationArgs{
    				AccessKey: pulumi.String("someKey"),
    				SecretKey: pulumi.String("******"),
    				Type:      pulumi.String("S3BucketAuthentication"),
    			},
    			Category:    pulumi.String("prod/kinesis/log"),
    			CollectorId: collector.ID(),
    			ContentType: pulumi.String("KinesisLog"),
    			Description: pulumi.String("Description for Kinesis Log Source"),
    			Path: &sumologic.KineisLogSourcePathArgs{
    				BucketName:     pulumi.String("testBucket"),
    				PathExpression: pulumi.String("http-endpoint-failed/*"),
    				ScanInterval:   pulumi.Int(30000),
    				Type:           pulumi.String("KinesisLogPath"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = sumologic.NewKineisLogSource(ctx, "kinesisLogRoleArn", &sumologic.KineisLogSourceArgs{
    			Authentication: &sumologic.KineisLogSourceAuthenticationArgs{
    				RoleArn: pulumi.String("arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI"),
    				Type:    pulumi.String("AWSRoleBasedAuthentication"),
    			},
    			Category:    pulumi.String("prod/kinesis/log"),
    			CollectorId: collector.ID(),
    			ContentType: pulumi.String("KinesisLog"),
    			Description: pulumi.String("Description for Kinesis Log Source"),
    			Path: &sumologic.KineisLogSourcePathArgs{
    				BucketName:     pulumi.String("testBucket"),
    				PathExpression: pulumi.String("http-endpoint-failed/*"),
    				ScanInterval:   pulumi.Int(30000),
    				Type:           pulumi.String("KinesisLogPath"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.Collector;
    import com.pulumi.sumologic.CollectorArgs;
    import com.pulumi.sumologic.KineisLogSource;
    import com.pulumi.sumologic.KineisLogSourceArgs;
    import com.pulumi.sumologic.inputs.KineisLogSourceAuthenticationArgs;
    import com.pulumi.sumologic.inputs.KineisLogSourcePathArgs;
    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 collector = new Collector("collector", CollectorArgs.builder()        
                .description("Just testing this")
                .build());
    
            var kinesisLogAccessKey = new KineisLogSource("kinesisLogAccessKey", KineisLogSourceArgs.builder()        
                .authentication(KineisLogSourceAuthenticationArgs.builder()
                    .accessKey("someKey")
                    .secretKey("******")
                    .type("S3BucketAuthentication")
                    .build())
                .category("prod/kinesis/log")
                .collectorId(collector.id())
                .contentType("KinesisLog")
                .description("Description for Kinesis Log Source")
                .path(KineisLogSourcePathArgs.builder()
                    .bucketName("testBucket")
                    .pathExpression("http-endpoint-failed/*")
                    .scanInterval(30000)
                    .type("KinesisLogPath")
                    .build())
                .build());
    
            var kinesisLogRoleArn = new KineisLogSource("kinesisLogRoleArn", KineisLogSourceArgs.builder()        
                .authentication(KineisLogSourceAuthenticationArgs.builder()
                    .roleArn("arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI")
                    .type("AWSRoleBasedAuthentication")
                    .build())
                .category("prod/kinesis/log")
                .collectorId(collector.id())
                .contentType("KinesisLog")
                .description("Description for Kinesis Log Source")
                .path(KineisLogSourcePathArgs.builder()
                    .bucketName("testBucket")
                    .pathExpression("http-endpoint-failed/*")
                    .scanInterval(30000)
                    .type("KinesisLogPath")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    collector = sumologic.Collector("collector", description="Just testing this")
    kinesis_log_access_key = sumologic.KineisLogSource("kinesisLogAccessKey",
        authentication=sumologic.KineisLogSourceAuthenticationArgs(
            access_key="someKey",
            secret_key="******",
            type="S3BucketAuthentication",
        ),
        category="prod/kinesis/log",
        collector_id=collector.id,
        content_type="KinesisLog",
        description="Description for Kinesis Log Source",
        path=sumologic.KineisLogSourcePathArgs(
            bucket_name="testBucket",
            path_expression="http-endpoint-failed/*",
            scan_interval=30000,
            type="KinesisLogPath",
        ))
    kinesis_log_role_arn = sumologic.KineisLogSource("kinesisLogRoleArn",
        authentication=sumologic.KineisLogSourceAuthenticationArgs(
            role_arn="arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI",
            type="AWSRoleBasedAuthentication",
        ),
        category="prod/kinesis/log",
        collector_id=collector.id,
        content_type="KinesisLog",
        description="Description for Kinesis Log Source",
        path=sumologic.KineisLogSourcePathArgs(
            bucket_name="testBucket",
            path_expression="http-endpoint-failed/*",
            scan_interval=30000,
            type="KinesisLogPath",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const collector = new sumologic.Collector("collector", {description: "Just testing this"});
    const kinesisLogAccessKey = new sumologic.KineisLogSource("kinesisLogAccessKey", {
        authentication: {
            accessKey: "someKey",
            secretKey: "******",
            type: "S3BucketAuthentication",
        },
        category: "prod/kinesis/log",
        collectorId: collector.id,
        contentType: "KinesisLog",
        description: "Description for Kinesis Log Source",
        path: {
            bucketName: "testBucket",
            pathExpression: "http-endpoint-failed/*",
            scanInterval: 30000,
            type: "KinesisLogPath",
        },
    });
    const kinesisLogRoleArn = new sumologic.KineisLogSource("kinesisLogRoleArn", {
        authentication: {
            roleArn: "arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI",
            type: "AWSRoleBasedAuthentication",
        },
        category: "prod/kinesis/log",
        collectorId: collector.id,
        contentType: "KinesisLog",
        description: "Description for Kinesis Log Source",
        path: {
            bucketName: "testBucket",
            pathExpression: "http-endpoint-failed/*",
            scanInterval: 30000,
            type: "KinesisLogPath",
        },
    });
    
    resources:
      kinesisLogAccessKey:
        type: sumologic:KineisLogSource
        properties:
          authentication:
            accessKey: someKey
            secretKey: '******'
            type: S3BucketAuthentication
          category: prod/kinesis/log
          collectorId: ${collector.id}
          contentType: KinesisLog
          description: Description for Kinesis Log Source
          path:
            bucketName: testBucket
            pathExpression: http-endpoint-failed/*
            scanInterval: 30000
            type: KinesisLogPath
      kinesisLogRoleArn:
        type: sumologic:KineisLogSource
        properties:
          authentication:
            roleArn: arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI
            type: AWSRoleBasedAuthentication
          category: prod/kinesis/log
          collectorId: ${collector.id}
          contentType: KinesisLog
          description: Description for Kinesis Log Source
          path:
            bucketName: testBucket
            pathExpression: http-endpoint-failed/*
            scanInterval: 30000
            type: KinesisLogPath
      collector:
        type: sumologic:Collector
        properties:
          description: Just testing this
    

    Create KineisLogSource Resource

    new KineisLogSource(name: string, args: KineisLogSourceArgs, opts?: CustomResourceOptions);
    @overload
    def KineisLogSource(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        authentication: Optional[KineisLogSourceAuthenticationArgs] = None,
                        automatic_date_parsing: Optional[bool] = None,
                        category: Optional[str] = None,
                        collector_id: Optional[int] = None,
                        content_type: Optional[str] = None,
                        cutoff_relative_time: Optional[str] = None,
                        cutoff_timestamp: Optional[int] = None,
                        default_date_formats: Optional[Sequence[KineisLogSourceDefaultDateFormatArgs]] = None,
                        description: Optional[str] = None,
                        fields: Optional[Mapping[str, str]] = None,
                        filters: Optional[Sequence[KineisLogSourceFilterArgs]] = None,
                        force_timezone: Optional[bool] = None,
                        host_name: Optional[str] = None,
                        manual_prefix_regexp: Optional[str] = None,
                        message_per_request: Optional[bool] = None,
                        multiline_processing_enabled: Optional[bool] = None,
                        name: Optional[str] = None,
                        path: Optional[KineisLogSourcePathArgs] = None,
                        timezone: Optional[str] = None,
                        use_autoline_matching: Optional[bool] = None)
    @overload
    def KineisLogSource(resource_name: str,
                        args: KineisLogSourceArgs,
                        opts: Optional[ResourceOptions] = None)
    func NewKineisLogSource(ctx *Context, name string, args KineisLogSourceArgs, opts ...ResourceOption) (*KineisLogSource, error)
    public KineisLogSource(string name, KineisLogSourceArgs args, CustomResourceOptions? opts = null)
    public KineisLogSource(String name, KineisLogSourceArgs args)
    public KineisLogSource(String name, KineisLogSourceArgs args, CustomResourceOptions options)
    
    type: sumologic:KineisLogSource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args KineisLogSourceArgs
    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 KineisLogSourceArgs
    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 KineisLogSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KineisLogSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KineisLogSourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    KineisLogSource Resource Properties

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

    Inputs

    The KineisLogSource resource accepts the following input properties:

    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    Authentication Pulumi.SumoLogic.Inputs.KineisLogSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats List<Pulumi.SumoLogic.Inputs.KineisLogSourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.KineisLogSourceFilter>
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MessagePerRequest bool
    MultilineProcessingEnabled bool
    Name string
    Path Pulumi.SumoLogic.Inputs.KineisLogSourcePath
    The location of S3 bucket for failed Kinesis log data.
    Timezone string
    UseAutolineMatching bool
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    Authentication KineisLogSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats []KineisLogSourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []KineisLogSourceFilterArgs
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MessagePerRequest bool
    MultilineProcessingEnabled bool
    Name string
    Path KineisLogSourcePathArgs
    The location of S3 bucket for failed Kinesis log data.
    Timezone string
    UseAutolineMatching bool
    collectorId Integer
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    authentication KineisLogSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing Boolean
    category String
    cutoffRelativeTime String
    cutoffTimestamp Integer
    defaultDateFormats List<KineisLogSourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<KineisLogSourceFilter>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    messagePerRequest Boolean
    multilineProcessingEnabled Boolean
    name String
    path KineisLogSourcePath
    The location of S3 bucket for failed Kinesis log data.
    timezone String
    useAutolineMatching Boolean
    collectorId number
    contentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    authentication KineisLogSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing boolean
    category string
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats KineisLogSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters KineisLogSourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    messagePerRequest boolean
    multilineProcessingEnabled boolean
    name string
    path KineisLogSourcePath
    The location of S3 bucket for failed Kinesis log data.
    timezone string
    useAutolineMatching boolean
    collectorId Number
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    authentication Property Map
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing Boolean
    category String
    cutoffRelativeTime String
    cutoffTimestamp Number
    defaultDateFormats List<Property Map>
    description String
    fields Map<String>
    filters List<Property Map>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    messagePerRequest Boolean
    multilineProcessingEnabled Boolean
    name String
    path Property Map
    The location of S3 bucket for failed Kinesis log data.
    timezone String
    useAutolineMatching Boolean

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    Id string
    The provider-assigned unique ID for this managed resource.
    Url string
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    id string
    The provider-assigned unique ID for this managed resource.
    url string
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    id str
    The provider-assigned unique ID for this managed resource.
    url str
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    id String
    The provider-assigned unique ID for this managed resource.
    url String
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.

    Look up Existing KineisLogSource Resource

    Get an existing KineisLogSource 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?: KineisLogSourceState, opts?: CustomResourceOptions): KineisLogSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[KineisLogSourceAuthenticationArgs] = None,
            automatic_date_parsing: Optional[bool] = None,
            category: Optional[str] = None,
            collector_id: Optional[int] = None,
            content_type: Optional[str] = None,
            cutoff_relative_time: Optional[str] = None,
            cutoff_timestamp: Optional[int] = None,
            default_date_formats: Optional[Sequence[KineisLogSourceDefaultDateFormatArgs]] = None,
            description: Optional[str] = None,
            fields: Optional[Mapping[str, str]] = None,
            filters: Optional[Sequence[KineisLogSourceFilterArgs]] = None,
            force_timezone: Optional[bool] = None,
            host_name: Optional[str] = None,
            manual_prefix_regexp: Optional[str] = None,
            message_per_request: Optional[bool] = None,
            multiline_processing_enabled: Optional[bool] = None,
            name: Optional[str] = None,
            path: Optional[KineisLogSourcePathArgs] = None,
            timezone: Optional[str] = None,
            url: Optional[str] = None,
            use_autoline_matching: Optional[bool] = None) -> KineisLogSource
    func GetKineisLogSource(ctx *Context, name string, id IDInput, state *KineisLogSourceState, opts ...ResourceOption) (*KineisLogSource, error)
    public static KineisLogSource Get(string name, Input<string> id, KineisLogSourceState? state, CustomResourceOptions? opts = null)
    public static KineisLogSource get(String name, Output<String> id, KineisLogSourceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Authentication Pulumi.SumoLogic.Inputs.KineisLogSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    AutomaticDateParsing bool
    Category string
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats List<Pulumi.SumoLogic.Inputs.KineisLogSourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.KineisLogSourceFilter>
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MessagePerRequest bool
    MultilineProcessingEnabled bool
    Name string
    Path Pulumi.SumoLogic.Inputs.KineisLogSourcePath
    The location of S3 bucket for failed Kinesis log data.
    Timezone string
    Url string
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    UseAutolineMatching bool
    Authentication KineisLogSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    AutomaticDateParsing bool
    Category string
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats []KineisLogSourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []KineisLogSourceFilterArgs
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MessagePerRequest bool
    MultilineProcessingEnabled bool
    Name string
    Path KineisLogSourcePathArgs
    The location of S3 bucket for failed Kinesis log data.
    Timezone string
    Url string
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    UseAutolineMatching bool
    authentication KineisLogSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing Boolean
    category String
    collectorId Integer
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoffRelativeTime String
    cutoffTimestamp Integer
    defaultDateFormats List<KineisLogSourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<KineisLogSourceFilter>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    messagePerRequest Boolean
    multilineProcessingEnabled Boolean
    name String
    path KineisLogSourcePath
    The location of S3 bucket for failed Kinesis log data.
    timezone String
    url String
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    useAutolineMatching Boolean
    authentication KineisLogSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing boolean
    category string
    collectorId number
    contentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats KineisLogSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters KineisLogSourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    messagePerRequest boolean
    multilineProcessingEnabled boolean
    name string
    path KineisLogSourcePath
    The location of S3 bucket for failed Kinesis log data.
    timezone string
    url string
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    useAutolineMatching boolean
    authentication KineisLogSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    automatic_date_parsing bool
    category str
    collector_id int
    content_type str
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoff_relative_time str
    cutoff_timestamp int
    default_date_formats Sequence[KineisLogSourceDefaultDateFormatArgs]
    description str
    fields Mapping[str, str]
    filters Sequence[KineisLogSourceFilterArgs]
    force_timezone bool
    host_name str
    manual_prefix_regexp str
    message_per_request bool
    multiline_processing_enabled bool
    name str
    path KineisLogSourcePathArgs
    The location of S3 bucket for failed Kinesis log data.
    timezone str
    url str
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    use_autoline_matching bool
    authentication Property Map
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing Boolean
    category String
    collectorId Number
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoffRelativeTime String
    cutoffTimestamp Number
    defaultDateFormats List<Property Map>
    description String
    fields Map<String>
    filters List<Property Map>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    messagePerRequest Boolean
    multilineProcessingEnabled Boolean
    name String
    path Property Map
    The location of S3 bucket for failed Kinesis log data.
    timezone String
    url String
    The HTTP endpoint to be used while creating Kinesis Firehose on AWS.
    useAutolineMatching Boolean

    Supporting Types

    KineisLogSourceAuthentication, KineisLogSourceAuthenticationArgs

    AccessKey string
    Your AWS access key if using type S3BucketAuthentication
    RoleArn string
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    SecretKey string
    Your AWS secret key if using type S3BucketAuthentication
    Type string
    Must be either KinesisLogPath or NoPathExpression
    AccessKey string
    Your AWS access key if using type S3BucketAuthentication
    RoleArn string
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    SecretKey string
    Your AWS secret key if using type S3BucketAuthentication
    Type string
    Must be either KinesisLogPath or NoPathExpression
    accessKey String
    Your AWS access key if using type S3BucketAuthentication
    roleArn String
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    secretKey String
    Your AWS secret key if using type S3BucketAuthentication
    type String
    Must be either KinesisLogPath or NoPathExpression
    accessKey string
    Your AWS access key if using type S3BucketAuthentication
    roleArn string
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    secretKey string
    Your AWS secret key if using type S3BucketAuthentication
    type string
    Must be either KinesisLogPath or NoPathExpression
    access_key str
    Your AWS access key if using type S3BucketAuthentication
    role_arn str
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    secret_key str
    Your AWS secret key if using type S3BucketAuthentication
    type str
    Must be either KinesisLogPath or NoPathExpression
    accessKey String
    Your AWS access key if using type S3BucketAuthentication
    roleArn String
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    secretKey String
    Your AWS secret key if using type S3BucketAuthentication
    type String
    Must be either KinesisLogPath or NoPathExpression

    KineisLogSourceDefaultDateFormat, KineisLogSourceDefaultDateFormatArgs

    Format string
    Locator string
    Format string
    Locator string
    format String
    locator String
    format string
    locator string
    format String
    locator String

    KineisLogSourceFilter, KineisLogSourceFilterArgs

    FilterType string
    Name string
    Regexp string
    Mask string
    FilterType string
    Name string
    Regexp string
    Mask string
    filterType String
    name String
    regexp String
    mask String
    filterType string
    name string
    regexp string
    mask string
    filterType String
    name String
    regexp String
    mask String

    KineisLogSourcePath, KineisLogSourcePathArgs

    BucketName string
    The name of the bucket. This is needed if using type KinesisLogPath.
    PathExpression string
    The path to the data. This is needed if using type KinesisLogPath. For Kinesis log source, it must include http-endpoint-failed/.
    ScanInterval int
    The Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
    Type string
    Must be either KinesisLogPath or NoPathExpression
    BucketName string
    The name of the bucket. This is needed if using type KinesisLogPath.
    PathExpression string
    The path to the data. This is needed if using type KinesisLogPath. For Kinesis log source, it must include http-endpoint-failed/.
    ScanInterval int
    The Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
    Type string
    Must be either KinesisLogPath or NoPathExpression
    bucketName String
    The name of the bucket. This is needed if using type KinesisLogPath.
    pathExpression String
    The path to the data. This is needed if using type KinesisLogPath. For Kinesis log source, it must include http-endpoint-failed/.
    scanInterval Integer
    The Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
    type String
    Must be either KinesisLogPath or NoPathExpression
    bucketName string
    The name of the bucket. This is needed if using type KinesisLogPath.
    pathExpression string
    The path to the data. This is needed if using type KinesisLogPath. For Kinesis log source, it must include http-endpoint-failed/.
    scanInterval number
    The Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
    type string
    Must be either KinesisLogPath or NoPathExpression
    bucket_name str
    The name of the bucket. This is needed if using type KinesisLogPath.
    path_expression str
    The path to the data. This is needed if using type KinesisLogPath. For Kinesis log source, it must include http-endpoint-failed/.
    scan_interval int
    The Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
    type str
    Must be either KinesisLogPath or NoPathExpression
    bucketName String
    The name of the bucket. This is needed if using type KinesisLogPath.
    pathExpression String
    The path to the data. This is needed if using type KinesisLogPath. For Kinesis log source, it must include http-endpoint-failed/.
    scanInterval Number
    The Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
    type String
    Must be either KinesisLogPath or NoPathExpression

    Import

    Kinesis Log sources can be imported using the collector and source IDs (collector/source), e.g.:

    hcl

    $ pulumi import sumologic:index/kineisLogSource:KineisLogSource test 123/456
    

    HTTP sources can be imported using the collector name and source name (collectorName/sourceName), e.g.:

    hcl

    $ pulumi import sumologic:index/kineisLogSource:KineisLogSource test my-test-collector/my-test-source
    

    Package Details

    Repository
    Sumo Logic pulumi/pulumi-sumologic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Sumo Logic v0.20.3 published on Wednesday, Mar 6, 2024 by Pulumi