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

sumologic.PollingSource

Explore with Pulumi AI

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

    !> 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.SumoLogic.Inputs.PollingSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    Path Pulumi.SumoLogic.Inputs.PollingSourcePath
    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.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats List<Pulumi.SumoLogic.Inputs.PollingSourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.PollingSourceFilter>
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Timezone string
    UseAutolineMatching bool
    Authentication PollingSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    Path PollingSourcePathArgs
    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.
    AutomaticDateParsing bool
    Category string
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats []PollingSourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []PollingSourceFilterArgs
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Timezone string
    UseAutolineMatching bool
    authentication PollingSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    collectorId Integer
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    path PollingSourcePath
    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.
    automaticDateParsing Boolean
    category String
    cutoffRelativeTime String
    cutoffTimestamp Integer
    defaultDateFormats List<PollingSourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<PollingSourceFilter>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    timezone String
    useAutolineMatching Boolean
    authentication PollingSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    collectorId number
    contentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    path PollingSourcePath
    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.
    automaticDateParsing boolean
    category string
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats PollingSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters PollingSourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    multilineProcessingEnabled boolean
    name string
    timezone string
    useAutolineMatching boolean
    authentication PollingSourceAuthenticationArgs
    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 PollingSourcePathArgs
    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_parsing bool
    category str
    cutoff_relative_time str
    cutoff_timestamp int
    default_date_formats Sequence[PollingSourceDefaultDateFormatArgs]
    description str
    fields Mapping[str, str]
    filters Sequence[PollingSourceFilterArgs]
    force_timezone bool
    host_name str
    manual_prefix_regexp str
    multiline_processing_enabled bool
    name str
    timezone str
    use_autoline_matching bool
    authentication Property Map
    Authentication details for connecting to the S3 bucket.
    collectorId Number
    contentType 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.
    scanInterval 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 String
    cutoffTimestamp Number
    defaultDateFormats List<Property Map>
    description String
    fields Map<String>
    filters List<Property Map>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    timezone String
    useAutolineMatching Boolean

    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.
    The following state arguments are supported:
    Authentication Pulumi.SumoLogic.Inputs.PollingSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    AutomaticDateParsing bool
    Category string
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats List<Pulumi.SumoLogic.Inputs.PollingSourceDefaultDateFormat>
    Description string
    Fields Dictionary<string, string>
    Filters List<Pulumi.SumoLogic.Inputs.PollingSourceFilter>
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Path Pulumi.SumoLogic.Inputs.PollingSourcePath
    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 PollingSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    AutomaticDateParsing bool
    Category string
    CollectorId int
    ContentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    CutoffRelativeTime string
    CutoffTimestamp int
    DefaultDateFormats []PollingSourceDefaultDateFormatArgs
    Description string
    Fields map[string]string
    Filters []PollingSourceFilterArgs
    ForceTimezone bool
    HostName string
    ManualPrefixRegexp string
    MultilineProcessingEnabled bool
    Name string
    Path PollingSourcePathArgs
    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 PollingSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing Boolean
    category String
    collectorId Integer
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoffRelativeTime String
    cutoffTimestamp Integer
    defaultDateFormats List<PollingSourceDefaultDateFormat>
    description String
    fields Map<String,String>
    filters List<PollingSourceFilter>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    name String
    path PollingSourcePath
    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 PollingSourceAuthentication
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing boolean
    category string
    collectorId number
    contentType string
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoffRelativeTime string
    cutoffTimestamp number
    defaultDateFormats PollingSourceDefaultDateFormat[]
    description string
    fields {[key: string]: string}
    filters PollingSourceFilter[]
    forceTimezone boolean
    hostName string
    manualPrefixRegexp string
    multilineProcessingEnabled boolean
    name string
    path PollingSourcePath
    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 PollingSourceAuthenticationArgs
    Authentication details for connecting to the S3 bucket.
    automatic_date_parsing bool
    category str
    collector_id int
    content_type str
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoff_relative_time str
    cutoff_timestamp int
    default_date_formats Sequence[PollingSourceDefaultDateFormatArgs]
    description str
    fields Mapping[str, str]
    filters Sequence[PollingSourceFilterArgs]
    force_timezone bool
    host_name str
    manual_prefix_regexp str
    multiline_processing_enabled bool
    name str
    path PollingSourcePathArgs
    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 Property Map
    Authentication details for connecting to the S3 bucket.
    automaticDateParsing Boolean
    category String
    collectorId Number
    contentType String
    The content-type of the collected data. Details can be found in the Sumologic documentation for hosted sources.
    cutoffRelativeTime String
    cutoffTimestamp Number
    defaultDateFormats List<Property Map>
    description String
    fields Map<String>
    filters List<Property Map>
    forceTimezone Boolean
    hostName String
    manualPrefixRegexp String
    multilineProcessingEnabled Boolean
    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.
    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

    PollingSourceAuthentication, PollingSourceAuthenticationArgs

    Type string
    This value has to be set to TagFilters
    AccessKey string
    Your AWS access key if using type S3BucketAuthentication
    RoleArn string
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    SecretKey string
    Your AWS secret key if using type S3BucketAuthentication
    Type string
    This value has to be set to TagFilters
    AccessKey string
    Your AWS access key if using type S3BucketAuthentication
    RoleArn string
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    SecretKey string
    Your AWS secret key if using type S3BucketAuthentication
    type String
    This value has to be set to TagFilters
    accessKey String
    Your AWS access key if using type S3BucketAuthentication
    roleArn String
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    secretKey String
    Your AWS secret key if using type S3BucketAuthentication
    type string
    This value has to be set to TagFilters
    accessKey string
    Your AWS access key if using type S3BucketAuthentication
    roleArn string
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    secretKey string
    Your AWS secret key if using type S3BucketAuthentication
    type 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
    type String
    This value has to be set to TagFilters
    accessKey String
    Your AWS access key if using type S3BucketAuthentication
    roleArn String
    Your AWS role ARN if using type AWSRoleBasedAuthentication
    secretKey String
    Your AWS secret key if using type S3BucketAuthentication

    PollingSourceDefaultDateFormat, PollingSourceDefaultDateFormatArgs

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

    PollingSourceFilter, PollingSourceFilterArgs

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

    PollingSourcePath, PollingSourcePathArgs

    Type string
    This value has to be set to TagFilters
    BucketName string
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    LimitToNamespaces List<string>
    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.
    LimitToRegions List<string>
    List of Amazon regions to limit metricscollection. This is a valid parameter if using type CloudWatchPath.
    PathExpression string
    The path to the data. This is needed if using type S3BucketPathExpression.
    TagFilters List<Pulumi.SumoLogic.Inputs.PollingSourcePathTagFilter>
    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
    BucketName string
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    LimitToNamespaces []string
    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.
    LimitToRegions []string
    List of Amazon regions to limit metricscollection. This is a valid parameter if using type CloudWatchPath.
    PathExpression string
    The path to the data. This is needed if using type S3BucketPathExpression.
    TagFilters []PollingSourcePathTagFilter
    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
    bucketName String
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    limitToNamespaces List<String>
    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.
    limitToRegions List<String>
    List of Amazon regions to limit metricscollection. This is a valid parameter if using type CloudWatchPath.
    pathExpression String
    The path to the data. This is needed if using type S3BucketPathExpression.
    tagFilters List<PollingSourcePathTagFilter>
    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
    bucketName string
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    limitToNamespaces string[]
    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.
    limitToRegions string[]
    List of Amazon regions to limit metricscollection. This is a valid parameter if using type CloudWatchPath.
    pathExpression string
    The path to the data. This is needed if using type S3BucketPathExpression.
    tagFilters PollingSourcePathTagFilter[]
    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_namespaces Sequence[str]
    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_regions Sequence[str]
    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[PollingSourcePathTagFilter]
    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
    bucketName String
    The name of the bucket. This is needed if using type S3BucketPathExpression.
    limitToNamespaces List<String>
    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.
    limitToRegions List<String>
    List of Amazon regions to limit metricscollection. This is a valid parameter if using type CloudWatchPath.
    pathExpression String
    The path to the data. This is needed if using type S3BucketPathExpression.
    tagFilters 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

    Namespace string
    Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
    Tags List<string>
    List of key-value pairs of tag filters. Eg: ["k3=v3"]
    Type string
    This value has to be set to TagFilters
    Namespace string
    Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
    Tags []string
    List of key-value pairs of tag filters. Eg: ["k3=v3"]
    Type string
    This value has to be set to TagFilters
    namespace String
    Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
    tags List<String>
    List of key-value pairs of tag filters. Eg: ["k3=v3"]
    type String
    This value has to be set to TagFilters
    namespace string
    Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
    tags string[]
    List of key-value pairs of tag filters. Eg: ["k3=v3"]
    type string
    This value has to be set to TagFilters
    namespace str
    Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
    tags Sequence[str]
    List of key-value pairs of tag filters. Eg: ["k3=v3"]
    type str
    This value has to be set to TagFilters
    namespace String
    Namespace for which you want to define the tag filters. Use value as All to apply the tag filter for all namespaces.
    tags List<String>
    List of key-value pairs of tag filters. Eg: ["k3=v3"]
    type String
    This value has to be set to TagFilters

    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
    

    Package Details

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