sumologic.PollingSource
Explore with Pulumi AI
!> WARNING: This data source is deprecated and will be removed in the next major version.
Provides a Sumologic Polling source. This source is used to import data from various AWS products, eg. AWS S3 buckets, Cloudwatch Metrics etc.
IMPORTANT: The AWS credentials are stored in plain-text in the state. This is a potential security issue.
Example Usage
Coming soon!
Coming soon!
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.PollingSource;
import com.pulumi.sumologic.PollingSourceArgs;
import com.pulumi.sumologic.inputs.PollingSourceFilterArgs;
import com.pulumi.sumologic.inputs.PollingSourceAuthenticationArgs;
import com.pulumi.sumologic.inputs.PollingSourcePathArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var tagfilters =
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
var collector = new Collector("collector", CollectorArgs.builder()
.description("Just testing this")
.build());
var s3Audit = new PollingSource("s3Audit", PollingSourceArgs.builder()
.description("My description")
.category("aws/s3audit")
.contentType("AwsS3AuditBucket")
.scanInterval(300000)
.paused(false)
.collectorId(collector.id())
.filters(PollingSourceFilterArgs.builder()
.name("Exclude Comments")
.filterType("Exclude")
.regexp("#.*")
.build())
.authentication(PollingSourceAuthenticationArgs.builder()
.type("S3BucketAuthentication")
.accessKey("someKey")
.secretKey("******")
.build())
.path(PollingSourcePathArgs.builder()
.type("S3BucketPathExpression")
.bucketName("Bucket1")
.pathExpression("*")
.build())
.build());
var cwMetrics = new PollingSource("cwMetrics", PollingSourceArgs.builder()
.description("My description")
.category("aws/cw")
.contentType("AwsCloudWatch")
.scanInterval(300000)
.paused(false)
.collectorId(collector.id())
.authentication(PollingSourceAuthenticationArgs.builder()
.type("AWSRoleBasedAuthentication")
.roleArn("arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI")
.build())
.path(PollingSourcePathArgs.builder()
.type("CloudWatchPath")
.limitToRegions("us-west-2")
.limitToNamespaces(
"AWS/Route53",
"AWS/S3",
"customNamespace")
.dynamic(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build());
}
}
Coming soon!
Coming soon!
resources:
s3Audit:
type: sumologic:PollingSource
properties:
description: My description
category: aws/s3audit
contentType: AwsS3AuditBucket
scanInterval: 300000
paused: false
collectorId: ${collector.id}
filters:
- name: Exclude Comments
filterType: Exclude
regexp: '#.*'
authentication:
type: S3BucketAuthentication
accessKey: someKey
secretKey: '******'
path:
type: S3BucketPathExpression
bucketName: Bucket1
pathExpression: '*'
cwMetrics:
type: sumologic:PollingSource
properties:
description: My description
category: aws/cw
contentType: AwsCloudWatch
scanInterval: 300000
paused: false
collectorId: ${collector.id}
authentication:
type: AWSRoleBasedAuthentication
roleArn: arn:aws:iam::604066827510:role/cw-role-SumoRole-4AOLS73TGKYI
path:
type: CloudWatchPath
limitToRegions:
- us-west-2
limitToNamespaces:
- AWS/Route53
- AWS/S3
- customNamespace
dynamic:
- forEach: ${tagfilters}
content:
- type: ${tag_filters.value.type}
namespace: ${tag_filters.value.namespace}
tags: ${tag_filters.value.tags}
collector:
type: sumologic:Collector
properties:
description: Just testing this
variables:
tagfilters:
- type: TagFilters
namespace: All
tags:
- k3=v3
- type: TagFilters
namespace: AWS/Route53
tags:
- k1=v1
- type: TagFilters
namespace: AWS/S3
tags:
- k2=v2
Create PollingSource Resource
new PollingSource(name: string, args: PollingSourceArgs, opts?: CustomResourceOptions);
@overload
def PollingSource(resource_name: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[PollingSourceAuthenticationArgs] = 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[PollingSourceDefaultDateFormatArgs]] = None,
description: Optional[str] = None,
fields: Optional[Mapping[str, str]] = None,
filters: Optional[Sequence[PollingSourceFilterArgs]] = None,
force_timezone: Optional[bool] = None,
host_name: Optional[str] = None,
manual_prefix_regexp: Optional[str] = None,
multiline_processing_enabled: Optional[bool] = None,
name: Optional[str] = None,
path: Optional[PollingSourcePathArgs] = None,
paused: Optional[bool] = None,
scan_interval: Optional[int] = None,
timezone: Optional[str] = None,
use_autoline_matching: Optional[bool] = None)
@overload
def PollingSource(resource_name: str,
args: PollingSourceArgs,
opts: Optional[ResourceOptions] = None)
func NewPollingSource(ctx *Context, name string, args PollingSourceArgs, opts ...ResourceOption) (*PollingSource, error)
public PollingSource(string name, PollingSourceArgs args, CustomResourceOptions? opts = null)
public PollingSource(String name, PollingSourceArgs args)
public PollingSource(String name, PollingSourceArgs args, CustomResourceOptions options)
type: sumologic:PollingSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PollingSourceArgs
- 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 PollingSourceArgs
- 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 PollingSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PollingSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PollingSourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PollingSource 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 PollingSource resource accepts the following input properties:
- Authentication
Pulumi.
Sumo Logic. Inputs. Polling Source Authentication Authentication details for connecting to the S3 bucket.
- Collector
Id int - Content
Type string The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Path
Pulumi.
Sumo Logic. Inputs. Polling Source Path 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.
- Automatic
Date boolParsing - Category string
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date List<Pulumi.Formats Sumo Logic. Inputs. Polling Source Default Date Format> - Description string
- Fields Dictionary<string, string>
- Filters
List<Pulumi.
Sumo Logic. Inputs. Polling Source Filter> - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Timezone string
- Use
Autoline boolMatching
- Authentication
Polling
Source Authentication Args Authentication details for connecting to the S3 bucket.
- Collector
Id int - Content
Type string The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- Path
Polling
Source Path Args 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.
- Automatic
Date boolParsing - Category string
- Cutoff
Relative stringTime - Cutoff
Timestamp int - Default
Date []PollingFormats Source Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]Polling
Source Filter Args - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Timezone string
- Use
Autoline boolMatching
- authentication
Polling
Source Authentication Authentication details for connecting to the S3 bucket.
- collector
Id Integer - content
Type String The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- path
Polling
Source Path The location to scan for new data.
- paused Boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval Integer Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
- automatic
Date BooleanParsing - category String
- cutoff
Relative StringTime - cutoff
Timestamp Integer - default
Date List<PollingFormats Source Default Date Format> - description String
- fields Map<String,String>
- filters
List<Polling
Source Filter> - force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- timezone String
- use
Autoline BooleanMatching
- authentication
Polling
Source Authentication Authentication details for connecting to the S3 bucket.
- collector
Id number - content
Type string The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- path
Polling
Source Path The location to scan for new data.
- paused boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval number Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
- automatic
Date booleanParsing - category string
- cutoff
Relative stringTime - cutoff
Timestamp number - default
Date PollingFormats Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Polling
Source Filter[] - force
Timezone boolean - host
Name string - manual
Prefix stringRegexp - multiline
Processing booleanEnabled - name string
- timezone string
- use
Autoline booleanMatching
- authentication
Polling
Source Authentication Args Authentication details for connecting to the S3 bucket.
- collector_
id int - content_
type str The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- path
Polling
Source Path Args 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.
- automatic_
date_ boolparsing - category str
- cutoff_
relative_ strtime - cutoff_
timestamp int - default_
date_ Sequence[Pollingformats Source Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[Polling
Source Filter Args] - force_
timezone bool - host_
name str - manual_
prefix_ strregexp - multiline_
processing_ boolenabled - name str
- timezone str
- use_
autoline_ boolmatching
- authentication Property Map
Authentication details for connecting to the S3 bucket.
- collector
Id Number - content
Type String The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
- path Property Map
The location to scan for new data.
- paused Boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval Number Time interval in milliseconds of scans for new data. The default is 300000 and the minimum value is 1000 milliseconds.
- 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 - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- timezone String
- use
Autoline BooleanMatching
Outputs
All input properties are implicitly available as output properties. Additionally, the PollingSource 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 PollingSource Resource
Get an existing PollingSource 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?: PollingSourceState, opts?: CustomResourceOptions): PollingSource
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authentication: Optional[PollingSourceAuthenticationArgs] = 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[PollingSourceDefaultDateFormatArgs]] = None,
description: Optional[str] = None,
fields: Optional[Mapping[str, str]] = None,
filters: Optional[Sequence[PollingSourceFilterArgs]] = None,
force_timezone: Optional[bool] = None,
host_name: Optional[str] = None,
manual_prefix_regexp: Optional[str] = None,
multiline_processing_enabled: Optional[bool] = None,
name: Optional[str] = None,
path: Optional[PollingSourcePathArgs] = None,
paused: Optional[bool] = None,
scan_interval: Optional[int] = None,
timezone: Optional[str] = None,
url: Optional[str] = None,
use_autoline_matching: Optional[bool] = None) -> PollingSource
func GetPollingSource(ctx *Context, name string, id IDInput, state *PollingSourceState, opts ...ResourceOption) (*PollingSource, error)
public static PollingSource Get(string name, Input<string> id, PollingSourceState? state, CustomResourceOptions? opts = null)
public static PollingSource get(String name, Output<String> id, PollingSourceState 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. Polling 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. Polling Source Default Date Format> - Description string
- Fields Dictionary<string, string>
- Filters
List<Pulumi.
Sumo Logic. Inputs. Polling Source Filter> - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Pulumi.
Sumo Logic. Inputs. Polling Source Path 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 string
- Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
- Use
Autoline boolMatching
- Authentication
Polling
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 []PollingFormats Source Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]Polling
Source Filter Args - Force
Timezone bool - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Polling
Source Path Args 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 string
- Url string
The HTTP endpoint to use with SNS to notify Sumo Logic of new files.
- Use
Autoline boolMatching
- authentication
Polling
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<PollingFormats Source Default Date Format> - description String
- fields Map<String,String>
- filters
List<Polling
Source Filter> - force
Timezone Boolean - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path
Polling
Source Path The location to scan for new data.
- paused Boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval 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.
- use
Autoline BooleanMatching
- authentication
Polling
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 PollingFormats Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Polling
Source Filter[] - force
Timezone boolean - host
Name string - manual
Prefix stringRegexp - multiline
Processing booleanEnabled - name string
- path
Polling
Source Path The location to scan for new data.
- paused boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval 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.
- use
Autoline booleanMatching
- authentication
Polling
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[Pollingformats Source Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[Polling
Source Filter Args] - force_
timezone bool - host_
name str - manual_
prefix_ strregexp - multiline_
processing_ boolenabled - name str
- path
Polling
Source Path Args 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_ 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 - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path Property Map
The location to scan for new data.
- paused Boolean
When set to true, the scanner is paused. To disable, set to false.
- scan
Interval 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.
- use
Autoline BooleanMatching
Supporting Types
PollingSourceAuthentication, PollingSourceAuthenticationArgs
- type str
This value has to be set to
TagFilters
- 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
PollingSourceDefaultDateFormat, PollingSourceDefaultDateFormatArgs
PollingSourceFilter, PollingSourceFilterArgs
- 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
PollingSourcePath, PollingSourcePathArgs
- Type string
This value has to be set to
TagFilters
- Bucket
Name string The name of the bucket. This is needed if using type
S3BucketPathExpression
.- Limit
To List<string>Namespaces List of namespaces to limit metrics collection. By default all namespaces are selected. Details can be found here. You can also specify custom namespace. This is a valid parameter if using type
CloudWatchPath
.- Limit
To List<string>Regions List of Amazon regions to limit metricscollection. This is a valid parameter if using type
CloudWatchPath
.- Path
Expression string The path to the data. This is needed if using type
S3BucketPathExpression
.- Tag
Filters List<Pulumi.Sumo Logic. Inputs. Polling Source Path Tag Filter> Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. This is a valid parameter if using type
CloudWatchPath
More info on tag filters can be found here
- Type string
This value has to be set to
TagFilters
- Bucket
Name string The name of the bucket. This is needed if using type
S3BucketPathExpression
.- Limit
To []stringNamespaces List of namespaces to limit metrics collection. By default all namespaces are selected. Details can be found here. You can also specify custom namespace. This is a valid parameter if using type
CloudWatchPath
.- Limit
To []stringRegions List of Amazon regions to limit metricscollection. This is a valid parameter if using type
CloudWatchPath
.- Path
Expression string The path to the data. This is needed if using type
S3BucketPathExpression
.- Tag
Filters []PollingSource Path Tag Filter Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. This is a valid parameter if using type
CloudWatchPath
More info on tag filters can be found here
- type String
This value has to be set to
TagFilters
- bucket
Name String The name of the bucket. This is needed if using type
S3BucketPathExpression
.- limit
To List<String>Namespaces List of namespaces to limit metrics collection. By default all namespaces are selected. Details can be found here. You can also specify custom namespace. This is a valid parameter if using type
CloudWatchPath
.- limit
To List<String>Regions List of Amazon regions to limit metricscollection. This is a valid parameter if using type
CloudWatchPath
.- path
Expression String The path to the data. This is needed if using type
S3BucketPathExpression
.- tag
Filters List<PollingSource Path Tag Filter> Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. This is a valid parameter if using type
CloudWatchPath
More info on tag filters can be found here
- type string
This value has to be set to
TagFilters
- bucket
Name string The name of the bucket. This is needed if using type
S3BucketPathExpression
.- limit
To string[]Namespaces List of namespaces to limit metrics collection. By default all namespaces are selected. Details can be found here. You can also specify custom namespace. This is a valid parameter if using type
CloudWatchPath
.- limit
To string[]Regions List of Amazon regions to limit metricscollection. This is a valid parameter if using type
CloudWatchPath
.- path
Expression string The path to the data. This is needed if using type
S3BucketPathExpression
.- tag
Filters PollingSource Path Tag Filter[] Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. This is a valid parameter if using type
CloudWatchPath
More info on tag filters can be found here
- type str
This value has to be set to
TagFilters
- bucket_
name str The name of the bucket. This is needed if using type
S3BucketPathExpression
.- limit_
to_ Sequence[str]namespaces List of namespaces to limit metrics collection. By default all namespaces are selected. Details can be found here. You can also specify custom namespace. This is a valid parameter if using type
CloudWatchPath
.- limit_
to_ Sequence[str]regions List of Amazon regions to limit metricscollection. This is a valid parameter if using type
CloudWatchPath
.- path_
expression str The path to the data. This is needed if using type
S3BucketPathExpression
.- tag_
filters Sequence[PollingSource Path Tag Filter] Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. This is a valid parameter if using type
CloudWatchPath
More info on tag filters can be found here
- type String
This value has to be set to
TagFilters
- bucket
Name String The name of the bucket. This is needed if using type
S3BucketPathExpression
.- limit
To List<String>Namespaces List of namespaces to limit metrics collection. By default all namespaces are selected. Details can be found here. You can also specify custom namespace. This is a valid parameter if using type
CloudWatchPath
.- limit
To List<String>Regions List of Amazon regions to limit metricscollection. This is a valid parameter if using type
CloudWatchPath
.- path
Expression String The path to the data. This is needed if using type
S3BucketPathExpression
.- tag
Filters List<Property Map> Tag filters allow you to filter the CloudWatch metrics you collect by the AWS tags you have assigned to your AWS resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the regions and namespaces you configured for the source above. This is a valid parameter if using type
CloudWatchPath
More info on tag filters can be found here
PollingSourcePathTagFilter, PollingSourcePathTagFilterArgs
Import
Polling sources can be imported using the collector and source IDs (collector/source
), e.g.hcl
$ pulumi import sumologic:index/pollingSource:PollingSource test 123/456
HTTP sources can be imported using the collector name and source name (collectorName/sourceName
), e.g.hcl
$ pulumi import sumologic:index/pollingSource:PollingSource test my-test-collector/my-test-source
[1]https://help.sumologic.com/Send_Data/Sources/03Use_JSON_to_Configure_Sources/JSON_Parameters_for_Hosted_Sources
Package Details
- Repository
- Sumo Logic pulumi/pulumi-sumologic
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
sumologic
Terraform Provider.