1. Packages
  2. Sumologic Provider
  3. API Docs
  4. MetadataSource
Sumo Logic v1.0.7 published on Friday, Apr 11, 2025 by Pulumi

sumologic.MetadataSource

Explore with Pulumi AI

Provides a Sumologic Metadata (Tag) source. This source allows you to collect tags from EC2 instances running on AWS.

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

Create MetadataSource Resource

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

Constructor syntax

new MetadataSource(name: string, args: MetadataSourceArgs, opts?: CustomResourceOptions);
@overload
def MetadataSource(resource_name: str,
                   args: MetadataSourceArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def MetadataSource(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   authentication: Optional[MetadataSourceAuthenticationArgs] = None,
                   scan_interval: Optional[int] = None,
                   paused: Optional[bool] = None,
                   collector_id: Optional[int] = None,
                   content_type: Optional[str] = None,
                   path: Optional[MetadataSourcePathArgs] = None,
                   filters: Optional[Sequence[MetadataSourceFilterArgs]] = None,
                   host_name: Optional[str] = None,
                   description: Optional[str] = None,
                   fields: Optional[Mapping[str, str]] = None,
                   cutoff_timestamp: Optional[int] = None,
                   force_timezone: Optional[bool] = None,
                   hash_algorithm: Optional[str] = None,
                   default_date_formats: Optional[Sequence[MetadataSourceDefaultDateFormatArgs]] = None,
                   manual_prefix_regexp: Optional[str] = None,
                   multiline_processing_enabled: Optional[bool] = None,
                   name: Optional[str] = None,
                   cutoff_relative_time: Optional[str] = None,
                   category: Optional[str] = None,
                   automatic_date_parsing: Optional[bool] = None,
                   timezone: Optional[str] = None,
                   use_autoline_matching: Optional[bool] = None)
func NewMetadataSource(ctx *Context, name string, args MetadataSourceArgs, opts ...ResourceOption) (*MetadataSource, error)
public MetadataSource(string name, MetadataSourceArgs args, CustomResourceOptions? opts = null)
public MetadataSource(String name, MetadataSourceArgs args)
public MetadataSource(String name, MetadataSourceArgs args, CustomResourceOptions options)
type: sumologic:MetadataSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MetadataSourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MetadataSourceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MetadataSourceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MetadataSourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MetadataSourceArgs
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 metadataSourceResource = new SumoLogic.MetadataSource("metadataSourceResource", new()
{
    Authentication = new SumoLogic.Inputs.MetadataSourceAuthenticationArgs
    {
        Type = "string",
        AccessKey = "string",
        RoleArn = "string",
        SecretKey = "string",
    },
    ScanInterval = 0,
    Paused = false,
    CollectorId = 0,
    ContentType = "string",
    Path = new SumoLogic.Inputs.MetadataSourcePathArgs
    {
        Type = "string",
        LimitToNamespaces = new[]
        {
            "string",
        },
        LimitToRegions = new[]
        {
            "string",
        },
        TagFilters = new[]
        {
            "string",
        },
    },
    Filters = new[]
    {
        new SumoLogic.Inputs.MetadataSourceFilterArgs
        {
            FilterType = "string",
            Name = "string",
            Regexp = "string",
            Mask = "string",
        },
    },
    HostName = "string",
    Description = "string",
    Fields = 
    {
        { "string", "string" },
    },
    CutoffTimestamp = 0,
    ForceTimezone = false,
    HashAlgorithm = "string",
    DefaultDateFormats = new[]
    {
        new SumoLogic.Inputs.MetadataSourceDefaultDateFormatArgs
        {
            Format = "string",
            Locator = "string",
        },
    },
    ManualPrefixRegexp = "string",
    MultilineProcessingEnabled = false,
    Name = "string",
    CutoffRelativeTime = "string",
    Category = "string",
    AutomaticDateParsing = false,
    Timezone = "string",
    UseAutolineMatching = false,
});
Copy
example, err := sumologic.NewMetadataSource(ctx, "metadataSourceResource", &sumologic.MetadataSourceArgs{
	Authentication: &sumologic.MetadataSourceAuthenticationArgs{
		Type:      pulumi.String("string"),
		AccessKey: pulumi.String("string"),
		RoleArn:   pulumi.String("string"),
		SecretKey: pulumi.String("string"),
	},
	ScanInterval: pulumi.Int(0),
	Paused:       pulumi.Bool(false),
	CollectorId:  pulumi.Int(0),
	ContentType:  pulumi.String("string"),
	Path: &sumologic.MetadataSourcePathArgs{
		Type: pulumi.String("string"),
		LimitToNamespaces: pulumi.StringArray{
			pulumi.String("string"),
		},
		LimitToRegions: pulumi.StringArray{
			pulumi.String("string"),
		},
		TagFilters: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Filters: sumologic.MetadataSourceFilterArray{
		&sumologic.MetadataSourceFilterArgs{
			FilterType: pulumi.String("string"),
			Name:       pulumi.String("string"),
			Regexp:     pulumi.String("string"),
			Mask:       pulumi.String("string"),
		},
	},
	HostName:    pulumi.String("string"),
	Description: pulumi.String("string"),
	Fields: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	CutoffTimestamp: pulumi.Int(0),
	ForceTimezone:   pulumi.Bool(false),
	HashAlgorithm:   pulumi.String("string"),
	DefaultDateFormats: sumologic.MetadataSourceDefaultDateFormatArray{
		&sumologic.MetadataSourceDefaultDateFormatArgs{
			Format:  pulumi.String("string"),
			Locator: pulumi.String("string"),
		},
	},
	ManualPrefixRegexp:         pulumi.String("string"),
	MultilineProcessingEnabled: pulumi.Bool(false),
	Name:                       pulumi.String("string"),
	CutoffRelativeTime:         pulumi.String("string"),
	Category:                   pulumi.String("string"),
	AutomaticDateParsing:       pulumi.Bool(false),
	Timezone:                   pulumi.String("string"),
	UseAutolineMatching:        pulumi.Bool(false),
})
Copy
var metadataSourceResource = new MetadataSource("metadataSourceResource", MetadataSourceArgs.builder()
    .authentication(MetadataSourceAuthenticationArgs.builder()
        .type("string")
        .accessKey("string")
        .roleArn("string")
        .secretKey("string")
        .build())
    .scanInterval(0)
    .paused(false)
    .collectorId(0)
    .contentType("string")
    .path(MetadataSourcePathArgs.builder()
        .type("string")
        .limitToNamespaces("string")
        .limitToRegions("string")
        .tagFilters("string")
        .build())
    .filters(MetadataSourceFilterArgs.builder()
        .filterType("string")
        .name("string")
        .regexp("string")
        .mask("string")
        .build())
    .hostName("string")
    .description("string")
    .fields(Map.of("string", "string"))
    .cutoffTimestamp(0)
    .forceTimezone(false)
    .hashAlgorithm("string")
    .defaultDateFormats(MetadataSourceDefaultDateFormatArgs.builder()
        .format("string")
        .locator("string")
        .build())
    .manualPrefixRegexp("string")
    .multilineProcessingEnabled(false)
    .name("string")
    .cutoffRelativeTime("string")
    .category("string")
    .automaticDateParsing(false)
    .timezone("string")
    .useAutolineMatching(false)
    .build());
Copy
metadata_source_resource = sumologic.MetadataSource("metadataSourceResource",
    authentication={
        "type": "string",
        "access_key": "string",
        "role_arn": "string",
        "secret_key": "string",
    },
    scan_interval=0,
    paused=False,
    collector_id=0,
    content_type="string",
    path={
        "type": "string",
        "limit_to_namespaces": ["string"],
        "limit_to_regions": ["string"],
        "tag_filters": ["string"],
    },
    filters=[{
        "filter_type": "string",
        "name": "string",
        "regexp": "string",
        "mask": "string",
    }],
    host_name="string",
    description="string",
    fields={
        "string": "string",
    },
    cutoff_timestamp=0,
    force_timezone=False,
    hash_algorithm="string",
    default_date_formats=[{
        "format": "string",
        "locator": "string",
    }],
    manual_prefix_regexp="string",
    multiline_processing_enabled=False,
    name="string",
    cutoff_relative_time="string",
    category="string",
    automatic_date_parsing=False,
    timezone="string",
    use_autoline_matching=False)
Copy
const metadataSourceResource = new sumologic.MetadataSource("metadataSourceResource", {
    authentication: {
        type: "string",
        accessKey: "string",
        roleArn: "string",
        secretKey: "string",
    },
    scanInterval: 0,
    paused: false,
    collectorId: 0,
    contentType: "string",
    path: {
        type: "string",
        limitToNamespaces: ["string"],
        limitToRegions: ["string"],
        tagFilters: ["string"],
    },
    filters: [{
        filterType: "string",
        name: "string",
        regexp: "string",
        mask: "string",
    }],
    hostName: "string",
    description: "string",
    fields: {
        string: "string",
    },
    cutoffTimestamp: 0,
    forceTimezone: false,
    hashAlgorithm: "string",
    defaultDateFormats: [{
        format: "string",
        locator: "string",
    }],
    manualPrefixRegexp: "string",
    multilineProcessingEnabled: false,
    name: "string",
    cutoffRelativeTime: "string",
    category: "string",
    automaticDateParsing: false,
    timezone: "string",
    useAutolineMatching: false,
});
Copy
type: sumologic:MetadataSource
properties:
    authentication:
        accessKey: string
        roleArn: string
        secretKey: string
        type: string
    automaticDateParsing: false
    category: string
    collectorId: 0
    contentType: string
    cutoffRelativeTime: string
    cutoffTimestamp: 0
    defaultDateFormats:
        - format: string
          locator: string
    description: string
    fields:
        string: string
    filters:
        - filterType: string
          mask: string
          name: string
          regexp: string
    forceTimezone: false
    hashAlgorithm: string
    hostName: string
    manualPrefixRegexp: string
    multilineProcessingEnabled: false
    name: string
    path:
        limitToNamespaces:
            - string
        limitToRegions:
            - string
        tagFilters:
            - string
        type: string
    paused: false
    scanInterval: 0
    timezone: string
    useAutolineMatching: false
Copy

MetadataSource 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 MetadataSource resource accepts the following input properties:

Authentication
This property is required.
Changes to this property will trigger replacement.
Pulumi.SumoLogic.Inputs.MetadataSourceAuthentication
Authentication details for AWS access.
CollectorId
This property is required.
Changes to this property will trigger replacement.
int
ContentType
This property is required.
Changes to this property will trigger replacement.
string
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
Path
This property is required.
Changes to this property will trigger replacement.
Pulumi.SumoLogic.Inputs.MetadataSourcePath
The location to scan for new data.
Paused This property is required. bool
When set to true, the scanner is paused. To disable, set to false.
ScanInterval This property is required. int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
AutomaticDateParsing bool
Category string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats List<Pulumi.SumoLogic.Inputs.MetadataSourceDefaultDateFormat>
Description string
Fields Dictionary<string, string>
Filters List<Pulumi.SumoLogic.Inputs.MetadataSourceFilter>
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Timezone string
UseAutolineMatching bool
Authentication
This property is required.
Changes to this property will trigger replacement.
MetadataSourceAuthenticationArgs
Authentication details for AWS access.
CollectorId
This property is required.
Changes to this property will trigger replacement.
int
ContentType
This property is required.
Changes to this property will trigger replacement.
string
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
Path
This property is required.
Changes to this property will trigger replacement.
MetadataSourcePathArgs
The location to scan for new data.
Paused This property is required. bool
When set to true, the scanner is paused. To disable, set to false.
ScanInterval This property is required. int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
AutomaticDateParsing bool
Category string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats []MetadataSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []MetadataSourceFilterArgs
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Timezone string
UseAutolineMatching bool
authentication
This property is required.
Changes to this property will trigger replacement.
MetadataSourceAuthentication
Authentication details for AWS access.
collectorId
This property is required.
Changes to this property will trigger replacement.
Integer
contentType
This property is required.
Changes to this property will trigger replacement.
String
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
path
This property is required.
Changes to this property will trigger replacement.
MetadataSourcePath
The location to scan for new data.
paused This property is required. Boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval This property is required. Integer
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
automaticDateParsing Boolean
category String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Integer
defaultDateFormats List<MetadataSourceDefaultDateFormat>
description String
fields Map<String,String>
filters List<MetadataSourceFilter>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
timezone String
useAutolineMatching Boolean
authentication
This property is required.
Changes to this property will trigger replacement.
MetadataSourceAuthentication
Authentication details for AWS access.
collectorId
This property is required.
Changes to this property will trigger replacement.
number
contentType
This property is required.
Changes to this property will trigger replacement.
string
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
path
This property is required.
Changes to this property will trigger replacement.
MetadataSourcePath
The location to scan for new data.
paused This property is required. boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval This property is required. number
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
automaticDateParsing boolean
category string
cutoffRelativeTime Changes to this property will trigger replacement. string
cutoffTimestamp number
defaultDateFormats MetadataSourceDefaultDateFormat[]
description string
fields {[key: string]: string}
filters MetadataSourceFilter[]
forceTimezone boolean
hashAlgorithm string
hostName string
manualPrefixRegexp string
multilineProcessingEnabled boolean
name string
timezone string
useAutolineMatching boolean
authentication
This property is required.
Changes to this property will trigger replacement.
MetadataSourceAuthenticationArgs
Authentication details for AWS access.
collector_id
This property is required.
Changes to this property will trigger replacement.
int
content_type
This property is required.
Changes to this property will trigger replacement.
str
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
path
This property is required.
Changes to this property will trigger replacement.
MetadataSourcePathArgs
The location to scan for new data.
paused This property is required. bool
When set to true, the scanner is paused. To disable, set to false.
scan_interval This property is required. int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
automatic_date_parsing bool
category str
cutoff_relative_time Changes to this property will trigger replacement. str
cutoff_timestamp int
default_date_formats Sequence[MetadataSourceDefaultDateFormatArgs]
description str
fields Mapping[str, str]
filters Sequence[MetadataSourceFilterArgs]
force_timezone bool
hash_algorithm str
host_name str
manual_prefix_regexp str
multiline_processing_enabled bool
name str
timezone str
use_autoline_matching bool
authentication
This property is required.
Changes to this property will trigger replacement.
Property Map
Authentication details for AWS access.
collectorId
This property is required.
Changes to this property will trigger replacement.
Number
contentType
This property is required.
Changes to this property will trigger replacement.
String
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
path
This property is required.
Changes to this property will trigger replacement.
Property Map
The location to scan for new data.
paused This property is required. Boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval This property is required. Number
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
automaticDateParsing Boolean
category String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
timezone String
useAutolineMatching Boolean

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
Id string
The provider-assigned unique ID for this managed resource.
Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
id String
The provider-assigned unique ID for this managed resource.
url String
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
id string
The provider-assigned unique ID for this managed resource.
url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
id str
The provider-assigned unique ID for this managed resource.
url str
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
id String
The provider-assigned unique ID for this managed resource.
url String
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.

Look up Existing MetadataSource Resource

Get an existing MetadataSource 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?: MetadataSourceState, opts?: CustomResourceOptions): MetadataSource
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication: Optional[MetadataSourceAuthenticationArgs] = 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[MetadataSourceDefaultDateFormatArgs]] = None,
        description: Optional[str] = None,
        fields: Optional[Mapping[str, str]] = None,
        filters: Optional[Sequence[MetadataSourceFilterArgs]] = None,
        force_timezone: Optional[bool] = None,
        hash_algorithm: Optional[str] = None,
        host_name: Optional[str] = None,
        manual_prefix_regexp: Optional[str] = None,
        multiline_processing_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        path: Optional[MetadataSourcePathArgs] = None,
        paused: Optional[bool] = None,
        scan_interval: Optional[int] = None,
        timezone: Optional[str] = None,
        url: Optional[str] = None,
        use_autoline_matching: Optional[bool] = None) -> MetadataSource
func GetMetadataSource(ctx *Context, name string, id IDInput, state *MetadataSourceState, opts ...ResourceOption) (*MetadataSource, error)
public static MetadataSource Get(string name, Input<string> id, MetadataSourceState? state, CustomResourceOptions? opts = null)
public static MetadataSource get(String name, Output<String> id, MetadataSourceState state, CustomResourceOptions options)
resources:  _:    type: sumologic:MetadataSource    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. Pulumi.SumoLogic.Inputs.MetadataSourceAuthentication
Authentication details for AWS access.
AutomaticDateParsing bool
Category string
CollectorId Changes to this property will trigger replacement. int
ContentType Changes to this property will trigger replacement. string
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats List<Pulumi.SumoLogic.Inputs.MetadataSourceDefaultDateFormat>
Description string
Fields Dictionary<string, string>
Filters List<Pulumi.SumoLogic.Inputs.MetadataSourceFilter>
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Path Changes to this property will trigger replacement. Pulumi.SumoLogic.Inputs.MetadataSourcePath
The location to scan for new data.
Paused bool
When set to true, the scanner is paused. To disable, set to false.
ScanInterval int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
Timezone string
Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
UseAutolineMatching bool
Authentication Changes to this property will trigger replacement. MetadataSourceAuthenticationArgs
Authentication details for AWS access.
AutomaticDateParsing bool
Category string
CollectorId Changes to this property will trigger replacement. int
ContentType Changes to this property will trigger replacement. string
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats []MetadataSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []MetadataSourceFilterArgs
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Path Changes to this property will trigger replacement. MetadataSourcePathArgs
The location to scan for new data.
Paused bool
When set to true, the scanner is paused. To disable, set to false.
ScanInterval int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
Timezone string
Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
UseAutolineMatching bool
authentication Changes to this property will trigger replacement. MetadataSourceAuthentication
Authentication details for AWS access.
automaticDateParsing Boolean
category String
collectorId Changes to this property will trigger replacement. Integer
contentType Changes to this property will trigger replacement. String
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Integer
defaultDateFormats List<MetadataSourceDefaultDateFormat>
description String
fields Map<String,String>
filters List<MetadataSourceFilter>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path Changes to this property will trigger replacement. MetadataSourcePath
The location to scan for new data.
paused Boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval Integer
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone String
url String
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
useAutolineMatching Boolean
authentication Changes to this property will trigger replacement. MetadataSourceAuthentication
Authentication details for AWS access.
automaticDateParsing boolean
category string
collectorId Changes to this property will trigger replacement. number
contentType Changes to this property will trigger replacement. string
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
cutoffRelativeTime Changes to this property will trigger replacement. string
cutoffTimestamp number
defaultDateFormats MetadataSourceDefaultDateFormat[]
description string
fields {[key: string]: string}
filters MetadataSourceFilter[]
forceTimezone boolean
hashAlgorithm string
hostName string
manualPrefixRegexp string
multilineProcessingEnabled boolean
name string
path Changes to this property will trigger replacement. MetadataSourcePath
The location to scan for new data.
paused boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval number
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone string
url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
useAutolineMatching boolean
authentication Changes to this property will trigger replacement. MetadataSourceAuthenticationArgs
Authentication details for AWS access.
automatic_date_parsing bool
category str
collector_id Changes to this property will trigger replacement. int
content_type Changes to this property will trigger replacement. str
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
cutoff_relative_time Changes to this property will trigger replacement. str
cutoff_timestamp int
default_date_formats Sequence[MetadataSourceDefaultDateFormatArgs]
description str
fields Mapping[str, str]
filters Sequence[MetadataSourceFilterArgs]
force_timezone bool
hash_algorithm str
host_name str
manual_prefix_regexp str
multiline_processing_enabled bool
name str
path Changes to this property will trigger replacement. MetadataSourcePathArgs
The location to scan for new data.
paused bool
When set to true, the scanner is paused. To disable, set to false.
scan_interval int
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone str
url str
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
use_autoline_matching bool
authentication Changes to this property will trigger replacement. Property Map
Authentication details for AWS access.
automaticDateParsing Boolean
category String
collectorId Changes to this property will trigger replacement. Number
contentType Changes to this property will trigger replacement. String
The content-type of the collected data. For Metadata source this is AwsMetadata. Details can be found in the Sumologic documentation for hosted sources.
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path Changes to this property will trigger replacement. Property Map
The location to scan for new data.
paused Boolean
When set to true, the scanner is paused. To disable, set to false.
scanInterval Number
Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
timezone String
url String
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
useAutolineMatching Boolean

Supporting Types

MetadataSourceAuthentication
, MetadataSourceAuthenticationArgs

Type This property is required. string
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
AccessKey string
Your AWS access key if using type S3BucketAuthentication
RoleArn string
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
SecretKey string
Your AWS secret key if using type S3BucketAuthentication
Type This property is required. string
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
AccessKey string
Your AWS access key if using type S3BucketAuthentication
RoleArn string
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
SecretKey string
Your AWS secret key if using type S3BucketAuthentication
type This property is required. String
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
accessKey String
Your AWS access key if using type S3BucketAuthentication
roleArn String
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
secretKey String
Your AWS secret key if using type S3BucketAuthentication
type This property is required. string
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
accessKey string
Your AWS access key if using type S3BucketAuthentication
roleArn string
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
secretKey string
Your AWS secret key if using type S3BucketAuthentication
type This property is required. str
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
access_key str
Your AWS access key if using type S3BucketAuthentication
role_arn str
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
secret_key str
Your AWS secret key if using type S3BucketAuthentication
type This property is required. String
Must be either S3BucketAuthentication or AWSRoleBasedAuthentication
accessKey String
Your AWS access key if using type S3BucketAuthentication
roleArn String
Your AWS role ARN if using type AWSRoleBasedAuthentication. This is not supported for AWS China regions.
secretKey String
Your AWS secret key if using type S3BucketAuthentication

MetadataSourceDefaultDateFormat
, MetadataSourceDefaultDateFormatArgs

Format This property is required. string
Locator string
Format This property is required. string
Locator string
format This property is required. String
locator String
format This property is required. string
locator string
format This property is required. str
locator str
format This property is required. String
locator String

MetadataSourceFilter
, MetadataSourceFilterArgs

FilterType This property is required. string
Name This property is required. string
Regexp This property is required. string
Mask string
FilterType This property is required. string
Name This property is required. string
Regexp This property is required. string
Mask string
filterType This property is required. String
name This property is required. String
regexp This property is required. String
mask String
filterType This property is required. string
name This property is required. string
regexp This property is required. string
mask string
filter_type This property is required. str
name This property is required. str
regexp This property is required. str
mask str
filterType This property is required. String
name This property is required. String
regexp This property is required. String
mask String

MetadataSourcePath
, MetadataSourcePathArgs

Type This property is required. string
type of polling source. Only allowed value is AwsMetadataPath.
LimitToNamespaces List<string>
List of namespaces. For AwsMetadataPath the only valid namespace is AWS/EC2.
LimitToRegions List<string>
List of Amazon regions.
TagFilters List<string>
Leave this field blank to collect all tags configured for the EC2 instance. To collect a subset of tags, follow the instructions in [Define EC2 tag filters][2]
Type This property is required. string
type of polling source. Only allowed value is AwsMetadataPath.
LimitToNamespaces []string
List of namespaces. For AwsMetadataPath the only valid namespace is AWS/EC2.
LimitToRegions []string
List of Amazon regions.
TagFilters []string
Leave this field blank to collect all tags configured for the EC2 instance. To collect a subset of tags, follow the instructions in [Define EC2 tag filters][2]
type This property is required. String
type of polling source. Only allowed value is AwsMetadataPath.
limitToNamespaces List<String>
List of namespaces. For AwsMetadataPath the only valid namespace is AWS/EC2.
limitToRegions List<String>
List of Amazon regions.
tagFilters List<String>
Leave this field blank to collect all tags configured for the EC2 instance. To collect a subset of tags, follow the instructions in [Define EC2 tag filters][2]
type This property is required. string
type of polling source. Only allowed value is AwsMetadataPath.
limitToNamespaces string[]
List of namespaces. For AwsMetadataPath the only valid namespace is AWS/EC2.
limitToRegions string[]
List of Amazon regions.
tagFilters string[]
Leave this field blank to collect all tags configured for the EC2 instance. To collect a subset of tags, follow the instructions in [Define EC2 tag filters][2]
type This property is required. str
type of polling source. Only allowed value is AwsMetadataPath.
limit_to_namespaces Sequence[str]
List of namespaces. For AwsMetadataPath the only valid namespace is AWS/EC2.
limit_to_regions Sequence[str]
List of Amazon regions.
tag_filters Sequence[str]
Leave this field blank to collect all tags configured for the EC2 instance. To collect a subset of tags, follow the instructions in [Define EC2 tag filters][2]
type This property is required. String
type of polling source. Only allowed value is AwsMetadataPath.
limitToNamespaces List<String>
List of namespaces. For AwsMetadataPath the only valid namespace is AWS/EC2.
limitToRegions List<String>
List of Amazon regions.
tagFilters List<String>
Leave this field blank to collect all tags configured for the EC2 instance. To collect a subset of tags, follow the instructions in [Define EC2 tag filters][2]

Import

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

hcl

$ pulumi import sumologic:index/metadataSource:MetadataSource test 123/456
Copy

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

hcl

$ pulumi import sumologic:index/metadataSource:MetadataSource test my-test-collector/my-test-source
Copy

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.