sumologic.KineisLogSource
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const collector = new sumologic.Collector("collector", {
name: "my-collector",
description: "Just testing this",
});
const kinesisLogAccessKey = new sumologic.KinesisLogSource("kinesis_log_access_key", {
name: "Kinesis Log",
description: "Description for Kinesis Log Source",
category: "prod/kinesis/log",
contentType: "KinesisLog",
collectorId: collector.id,
authentication: {
type: "S3BucketAuthentication",
accessKey: "someKey",
secretKey: "******",
},
path: {
type: "KinesisLogPath",
bucketName: "testBucket",
pathExpression: "http-endpoint-failed/*",
scanInterval: 30000,
},
});
const kinesisLogRoleArn = new sumologic.KinesisLogSource("kinesis_log_role_arn", {
name: "Kinesis Log",
description: "Description for Kinesis Log Source",
category: "prod/kinesis/log",
contentType: "KinesisLog",
collectorId: collector.id,
authentication: {
type: "AWSRoleBasedAuthentication",
roleArn: "arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI",
},
path: {
type: "KinesisLogPath",
bucketName: "testBucket",
pathExpression: "http-endpoint-failed/*",
scanInterval: 30000,
},
});
import pulumi
import pulumi_sumologic as sumologic
collector = sumologic.Collector("collector",
name="my-collector",
description="Just testing this")
kinesis_log_access_key = sumologic.KinesisLogSource("kinesis_log_access_key",
name="Kinesis Log",
description="Description for Kinesis Log Source",
category="prod/kinesis/log",
content_type="KinesisLog",
collector_id=collector.id,
authentication={
"type": "S3BucketAuthentication",
"access_key": "someKey",
"secret_key": "******",
},
path={
"type": "KinesisLogPath",
"bucket_name": "testBucket",
"path_expression": "http-endpoint-failed/*",
"scan_interval": 30000,
})
kinesis_log_role_arn = sumologic.KinesisLogSource("kinesis_log_role_arn",
name="Kinesis Log",
description="Description for Kinesis Log Source",
category="prod/kinesis/log",
content_type="KinesisLog",
collector_id=collector.id,
authentication={
"type": "AWSRoleBasedAuthentication",
"role_arn": "arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI",
},
path={
"type": "KinesisLogPath",
"bucket_name": "testBucket",
"path_expression": "http-endpoint-failed/*",
"scan_interval": 30000,
})
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{
Name: pulumi.String("my-collector"),
Description: pulumi.String("Just testing this"),
})
if err != nil {
return err
}
_, err = sumologic.NewKinesisLogSource(ctx, "kinesis_log_access_key", &sumologic.KinesisLogSourceArgs{
Name: pulumi.String("Kinesis Log"),
Description: pulumi.String("Description for Kinesis Log Source"),
Category: pulumi.String("prod/kinesis/log"),
ContentType: pulumi.String("KinesisLog"),
CollectorId: collector.ID(),
Authentication: &sumologic.KinesisLogSourceAuthenticationArgs{
Type: pulumi.String("S3BucketAuthentication"),
AccessKey: pulumi.String("someKey"),
SecretKey: pulumi.String("******"),
},
Path: &sumologic.KinesisLogSourcePathArgs{
Type: pulumi.String("KinesisLogPath"),
BucketName: pulumi.String("testBucket"),
PathExpression: pulumi.String("http-endpoint-failed/*"),
ScanInterval: pulumi.Int(30000),
},
})
if err != nil {
return err
}
_, err = sumologic.NewKinesisLogSource(ctx, "kinesis_log_role_arn", &sumologic.KinesisLogSourceArgs{
Name: pulumi.String("Kinesis Log"),
Description: pulumi.String("Description for Kinesis Log Source"),
Category: pulumi.String("prod/kinesis/log"),
ContentType: pulumi.String("KinesisLog"),
CollectorId: collector.ID(),
Authentication: &sumologic.KinesisLogSourceAuthenticationArgs{
Type: pulumi.String("AWSRoleBasedAuthentication"),
RoleArn: pulumi.String("arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI"),
},
Path: &sumologic.KinesisLogSourcePathArgs{
Type: pulumi.String("KinesisLogPath"),
BucketName: pulumi.String("testBucket"),
PathExpression: pulumi.String("http-endpoint-failed/*"),
ScanInterval: pulumi.Int(30000),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;
return await Deployment.RunAsync(() =>
{
var collector = new SumoLogic.Collector("collector", new()
{
Name = "my-collector",
Description = "Just testing this",
});
var kinesisLogAccessKey = new SumoLogic.KinesisLogSource("kinesis_log_access_key", new()
{
Name = "Kinesis Log",
Description = "Description for Kinesis Log Source",
Category = "prod/kinesis/log",
ContentType = "KinesisLog",
CollectorId = collector.Id,
Authentication = new SumoLogic.Inputs.KinesisLogSourceAuthenticationArgs
{
Type = "S3BucketAuthentication",
AccessKey = "someKey",
SecretKey = "******",
},
Path = new SumoLogic.Inputs.KinesisLogSourcePathArgs
{
Type = "KinesisLogPath",
BucketName = "testBucket",
PathExpression = "http-endpoint-failed/*",
ScanInterval = 30000,
},
});
var kinesisLogRoleArn = new SumoLogic.KinesisLogSource("kinesis_log_role_arn", new()
{
Name = "Kinesis Log",
Description = "Description for Kinesis Log Source",
Category = "prod/kinesis/log",
ContentType = "KinesisLog",
CollectorId = collector.Id,
Authentication = new SumoLogic.Inputs.KinesisLogSourceAuthenticationArgs
{
Type = "AWSRoleBasedAuthentication",
RoleArn = "arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI",
},
Path = new SumoLogic.Inputs.KinesisLogSourcePathArgs
{
Type = "KinesisLogPath",
BucketName = "testBucket",
PathExpression = "http-endpoint-failed/*",
ScanInterval = 30000,
},
});
});
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.KinesisLogSource;
import com.pulumi.sumologic.KinesisLogSourceArgs;
import com.pulumi.sumologic.inputs.KinesisLogSourceAuthenticationArgs;
import com.pulumi.sumologic.inputs.KinesisLogSourcePathArgs;
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()
.name("my-collector")
.description("Just testing this")
.build());
var kinesisLogAccessKey = new KinesisLogSource("kinesisLogAccessKey", KinesisLogSourceArgs.builder()
.name("Kinesis Log")
.description("Description for Kinesis Log Source")
.category("prod/kinesis/log")
.contentType("KinesisLog")
.collectorId(collector.id())
.authentication(KinesisLogSourceAuthenticationArgs.builder()
.type("S3BucketAuthentication")
.accessKey("someKey")
.secretKey("******")
.build())
.path(KinesisLogSourcePathArgs.builder()
.type("KinesisLogPath")
.bucketName("testBucket")
.pathExpression("http-endpoint-failed/*")
.scanInterval(30000)
.build())
.build());
var kinesisLogRoleArn = new KinesisLogSource("kinesisLogRoleArn", KinesisLogSourceArgs.builder()
.name("Kinesis Log")
.description("Description for Kinesis Log Source")
.category("prod/kinesis/log")
.contentType("KinesisLog")
.collectorId(collector.id())
.authentication(KinesisLogSourceAuthenticationArgs.builder()
.type("AWSRoleBasedAuthentication")
.roleArn("arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI")
.build())
.path(KinesisLogSourcePathArgs.builder()
.type("KinesisLogPath")
.bucketName("testBucket")
.pathExpression("http-endpoint-failed/*")
.scanInterval(30000)
.build())
.build());
}
}
resources:
kinesisLogAccessKey:
type: sumologic:KinesisLogSource
name: kinesis_log_access_key
properties:
name: Kinesis Log
description: Description for Kinesis Log Source
category: prod/kinesis/log
contentType: KinesisLog
collectorId: ${collector.id}
authentication:
type: S3BucketAuthentication
accessKey: someKey
secretKey: '******'
path:
type: KinesisLogPath
bucketName: testBucket
pathExpression: http-endpoint-failed/*
scanInterval: 30000
kinesisLogRoleArn:
type: sumologic:KinesisLogSource
name: kinesis_log_role_arn
properties:
name: Kinesis Log
description: Description for Kinesis Log Source
category: prod/kinesis/log
contentType: KinesisLog
collectorId: ${collector.id}
authentication:
type: AWSRoleBasedAuthentication
roleArn: arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI
path:
type: KinesisLogPath
bucketName: testBucket
pathExpression: http-endpoint-failed/*
scanInterval: 30000
collector:
type: sumologic:Collector
properties:
name: my-collector
description: Just testing this
Create KineisLogSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KineisLogSource(name: string, args: KineisLogSourceArgs, opts?: CustomResourceOptions);
@overload
def KineisLogSource(resource_name: str,
args: KineisLogSourceArgs,
opts: Optional[ResourceOptions] = None)
@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,
hash_algorithm: Optional[str] = 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)
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.
Parameters
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The KineisLogSource resource accepts the following input properties:
- Collector
Id int - Content
Type string - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Authentication
Pulumi.
Sumo Logic. Inputs. Kineis Log Source Authentication - Authentication details for connecting to the S3 bucket.
- Automatic
Date boolParsing - Category string
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date List<Pulumi.Formats Sumo Logic. Inputs. Kineis Log Source Default Date Format> - Description string
- Fields Dictionary<string, string>
- Filters
List<Pulumi.
Sumo Logic. Inputs. Kineis Log Source Filter> - Force
Timezone bool - Hash
Algorithm string - Host
Name string - Manual
Prefix stringRegexp - Message
Per boolRequest - Multiline
Processing boolEnabled - Name string
- Path
Pulumi.
Sumo Logic. Inputs. Kineis Log Source Path - The location of S3 bucket for failed Kinesis log data.
- Timezone string
- Use
Autoline boolMatching
- Collector
Id int - Content
Type string - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Authentication
Kineis
Log Source Authentication Args - Authentication details for connecting to the S3 bucket.
- Automatic
Date boolParsing - Category string
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date []KineisFormats Log Source Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]Kineis
Log Source Filter Args - Force
Timezone bool - Hash
Algorithm string - Host
Name string - Manual
Prefix stringRegexp - Message
Per boolRequest - Multiline
Processing boolEnabled - Name string
- Path
Kineis
Log Source Path Args - The location of S3 bucket for failed Kinesis log data.
- Timezone string
- Use
Autoline boolMatching
- collector
Id Integer - content
Type String - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- authentication
Kineis
Log Source Authentication - Authentication details for connecting to the S3 bucket.
- automatic
Date BooleanParsing - category String
- cutoff
Relative StringTime - cutoff
Timestamp Integer - default
Date List<KineisFormats Log Source Default Date Format> - description String
- fields Map<String,String>
- filters
List<Kineis
Log Source Filter> - force
Timezone Boolean - hash
Algorithm String - host
Name String - manual
Prefix StringRegexp - message
Per BooleanRequest - multiline
Processing BooleanEnabled - name String
- path
Kineis
Log Source Path - The location of S3 bucket for failed Kinesis log data.
- timezone String
- use
Autoline BooleanMatching
- collector
Id number - content
Type string - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- authentication
Kineis
Log Source Authentication - Authentication details for connecting to the S3 bucket.
- automatic
Date booleanParsing - category string
- cutoff
Relative stringTime - cutoff
Timestamp number - default
Date KineisFormats Log Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Kineis
Log Source Filter[] - force
Timezone boolean - hash
Algorithm string - host
Name string - manual
Prefix stringRegexp - message
Per booleanRequest - multiline
Processing booleanEnabled - name string
- path
Kineis
Log Source Path - The location of S3 bucket for failed Kinesis log data.
- timezone string
- use
Autoline booleanMatching
- collector_
id int - content_
type str - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- authentication
Kineis
Log Source Authentication Args - Authentication details for connecting to the S3 bucket.
- automatic_
date_ boolparsing - category str
- cutoff_
relative_ strtime - cutoff_
timestamp int - default_
date_ Sequence[Kineisformats Log Source Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[Kineis
Log Source Filter Args] - force_
timezone bool - hash_
algorithm str - host_
name str - manual_
prefix_ strregexp - message_
per_ boolrequest - multiline_
processing_ boolenabled - name str
- path
Kineis
Log Source Path Args - The location of S3 bucket for failed Kinesis log data.
- timezone str
- use_
autoline_ boolmatching
- collector
Id Number - content
Type 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.
- automatic
Date BooleanParsing - category String
- cutoff
Relative StringTime - cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - hash
Algorithm String - host
Name String - manual
Prefix StringRegexp - message
Per BooleanRequest - multiline
Processing BooleanEnabled - name String
- path Property Map
- The location of S3 bucket for failed Kinesis log data.
- timezone String
- use
Autoline BooleanMatching
Outputs
All input properties are implicitly available as output properties. Additionally, the KineisLogSource resource produces the following output properties:
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,
hash_algorithm: Optional[str] = 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.
- Authentication
Pulumi.
Sumo Logic. Inputs. Kineis Log Source Authentication - Authentication details for connecting to the S3 bucket.
- Automatic
Date boolParsing - Category string
- Collector
Id int - Content
Type string - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date List<Pulumi.Formats Sumo Logic. Inputs. Kineis Log Source Default Date Format> - Description string
- Fields Dictionary<string, string>
- Filters
List<Pulumi.
Sumo Logic. Inputs. Kineis Log Source Filter> - Force
Timezone bool - Hash
Algorithm string - Host
Name string - Manual
Prefix stringRegexp - Message
Per boolRequest - Multiline
Processing boolEnabled - Name string
- Path
Pulumi.
Sumo Logic. Inputs. Kineis Log Source Path - 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.
- Use
Autoline boolMatching
- Authentication
Kineis
Log Source Authentication Args - Authentication details for connecting to the S3 bucket.
- Automatic
Date boolParsing - Category string
- Collector
Id int - Content
Type string - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date []KineisFormats Log Source Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]Kineis
Log Source Filter Args - Force
Timezone bool - Hash
Algorithm string - Host
Name string - Manual
Prefix stringRegexp - Message
Per boolRequest - Multiline
Processing boolEnabled - Name string
- Path
Kineis
Log Source Path Args - 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.
- Use
Autoline boolMatching
- authentication
Kineis
Log Source Authentication - Authentication details for connecting to the S3 bucket.
- automatic
Date BooleanParsing - category String
- collector
Id Integer - content
Type String - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- cutoff
Relative StringTime - cutoff
Timestamp Integer - default
Date List<KineisFormats Log Source Default Date Format> - description String
- fields Map<String,String>
- filters
List<Kineis
Log Source Filter> - force
Timezone Boolean - hash
Algorithm String - host
Name String - manual
Prefix StringRegexp - message
Per BooleanRequest - multiline
Processing BooleanEnabled - name String
- path
Kineis
Log Source Path - 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.
- use
Autoline BooleanMatching
- authentication
Kineis
Log Source Authentication - Authentication details for connecting to the S3 bucket.
- automatic
Date booleanParsing - category string
- collector
Id number - content
Type string - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- cutoff
Relative stringTime - cutoff
Timestamp number - default
Date KineisFormats Log Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Kineis
Log Source Filter[] - force
Timezone boolean - hash
Algorithm string - host
Name string - manual
Prefix stringRegexp - message
Per booleanRequest - multiline
Processing booleanEnabled - name string
- path
Kineis
Log Source Path - 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.
- use
Autoline booleanMatching
- authentication
Kineis
Log Source Authentication Args - Authentication details for connecting to the S3 bucket.
- automatic_
date_ boolparsing - 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_ strtime - cutoff_
timestamp int - default_
date_ Sequence[Kineisformats Log Source Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[Kineis
Log Source Filter Args] - force_
timezone bool - hash_
algorithm str - host_
name str - manual_
prefix_ strregexp - message_
per_ boolrequest - multiline_
processing_ boolenabled - name str
- path
Kineis
Log Source Path Args - 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_ boolmatching
- authentication Property Map
- Authentication details for connecting to the S3 bucket.
- automatic
Date BooleanParsing - category String
- collector
Id Number - content
Type String - The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- cutoff
Relative StringTime - cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - hash
Algorithm String - host
Name String - manual
Prefix StringRegexp - message
Per BooleanRequest - multiline
Processing BooleanEnabled - 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.
- use
Autoline BooleanMatching
Supporting Types
KineisLogSourceAuthentication, KineisLogSourceAuthenticationArgs
- Access
Key string - Your AWS access key if using type
S3BucketAuthentication
- Role
Arn string - Your AWS role ARN if using type
AWSRoleBasedAuthentication
- Secret
Key string - Your AWS secret key if using type
S3BucketAuthentication
- Type string
- Must be either
S3BucketAuthentication
orAWSRoleBasedAuthentication
orNoAuthentication
- Access
Key string - Your AWS access key if using type
S3BucketAuthentication
- Role
Arn string - Your AWS role ARN if using type
AWSRoleBasedAuthentication
- Secret
Key string - Your AWS secret key if using type
S3BucketAuthentication
- Type string
- Must be either
S3BucketAuthentication
orAWSRoleBasedAuthentication
orNoAuthentication
- access
Key String - Your AWS access key if using type
S3BucketAuthentication
- role
Arn String - Your AWS role ARN if using type
AWSRoleBasedAuthentication
- secret
Key String - Your AWS secret key if using type
S3BucketAuthentication
- type String
- Must be either
S3BucketAuthentication
orAWSRoleBasedAuthentication
orNoAuthentication
- access
Key string - Your AWS access key if using type
S3BucketAuthentication
- role
Arn string - Your AWS role ARN if using type
AWSRoleBasedAuthentication
- secret
Key string - Your AWS secret key if using type
S3BucketAuthentication
- type string
- Must be either
S3BucketAuthentication
orAWSRoleBasedAuthentication
orNoAuthentication
- 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
S3BucketAuthentication
orAWSRoleBasedAuthentication
orNoAuthentication
- access
Key String - Your AWS access key if using type
S3BucketAuthentication
- role
Arn String - Your AWS role ARN if using type
AWSRoleBasedAuthentication
- secret
Key String - Your AWS secret key if using type
S3BucketAuthentication
- type String
- Must be either
S3BucketAuthentication
orAWSRoleBasedAuthentication
orNoAuthentication
KineisLogSourceDefaultDateFormat, KineisLogSourceDefaultDateFormatArgs
KineisLogSourceFilter, KineisLogSourceFilterArgs
- Filter
Type string - Name string
- Regexp string
- Mask string
- Filter
Type string - Name string
- Regexp string
- Mask string
- filter
Type String - name String
- regexp String
- mask String
- filter
Type string - name string
- regexp string
- mask string
- filter_
type str - name str
- regexp str
- mask str
- filter
Type String - name String
- regexp String
- mask String
KineisLogSourcePath, KineisLogSourcePathArgs
- Bucket
Name string - The name of the bucket. This is needed if using type
KinesisLogPath
. - Path
Expression string - The path to the data. This is needed if using type
KinesisLogPath
. For Kinesis log source, it must includehttp-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 string
- Must be either
KinesisLogPath
orNoPathExpression
- Bucket
Name string - The name of the bucket. This is needed if using type
KinesisLogPath
. - Path
Expression string - The path to the data. This is needed if using type
KinesisLogPath
. For Kinesis log source, it must includehttp-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 string
- Must be either
KinesisLogPath
orNoPathExpression
- bucket
Name String - The name of the bucket. This is needed if using type
KinesisLogPath
. - path
Expression String - The path to the data. This is needed if using type
KinesisLogPath
. For Kinesis log source, it must includehttp-endpoint-failed/
. - scan
Interval 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
orNoPathExpression
- bucket
Name string - The name of the bucket. This is needed if using type
KinesisLogPath
. - path
Expression string - The path to the data. This is needed if using type
KinesisLogPath
. For Kinesis log source, it must includehttp-endpoint-failed/
. - scan
Interval 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
orNoPathExpression
- 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 includehttp-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
orNoPathExpression
- bucket
Name String - The name of the bucket. This is needed if using type
KinesisLogPath
. - path
Expression String - The path to the data. This is needed if using type
KinesisLogPath
. For Kinesis log source, it must includehttp-endpoint-failed/
. - scan
Interval 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
orNoPathExpression
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Sumo Logic pulumi/pulumi-sumologic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sumologic
Terraform Provider.