1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LogAnalytics
  5. LogAnalyticsObjectCollectionRule
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.LogAnalytics.LogAnalyticsObjectCollectionRule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

    This resource provides the Log Analytics Object Collection Rule resource in Oracle Cloud Infrastructure Log Analytics service.

    Create a configuration to collect logs from object storage bucket.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testLogAnalyticsObjectCollectionRule = new oci.loganalytics.LogAnalyticsObjectCollectionRule("testLogAnalyticsObjectCollectionRule", {
        compartmentId: _var.compartment_id,
        logGroupId: oci_logging_log_group.test_log_group.id,
        logSourceName: _var.log_analytics_object_collection_rule_log_source_name,
        namespace: _var.log_analytics_object_collection_rule_namespace,
        osBucketName: oci_objectstorage_bucket.test_bucket.name,
        osNamespace: _var.log_analytics_object_collection_rule_os_namespace,
        charEncoding: _var.log_analytics_object_collection_rule_char_encoding,
        collectionType: _var.log_analytics_object_collection_rule_collection_type,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: _var.log_analytics_object_collection_rule_description,
        entityId: oci_log_analytics_entity.test_entity.id,
        freeformTags: {
            "bar-key": "value",
        },
        isEnabled: _var.log_analytics_object_collection_rule_is_enabled,
        isForceHistoricCollection: _var.log_analytics_object_collection_rule_is_force_historic_collection,
        logSet: _var.log_analytics_object_collection_rule_log_set,
        logSetExtRegex: _var.log_analytics_object_collection_rule_log_set_ext_regex,
        logSetKey: _var.log_analytics_object_collection_rule_log_set_key,
        logType: _var.log_analytics_object_collection_rule_log_type,
        objectNameFilters: _var.log_analytics_object_collection_rule_object_name_filters,
        overrides: _var.log_analytics_object_collection_rule_overrides,
        pollSince: _var.log_analytics_object_collection_rule_poll_since,
        pollTill: _var.log_analytics_object_collection_rule_poll_till,
        timezone: _var.log_analytics_object_collection_rule_timezone,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_log_analytics_object_collection_rule = oci.log_analytics.LogAnalyticsObjectCollectionRule("testLogAnalyticsObjectCollectionRule",
        compartment_id=var["compartment_id"],
        log_group_id=oci_logging_log_group["test_log_group"]["id"],
        log_source_name=var["log_analytics_object_collection_rule_log_source_name"],
        namespace=var["log_analytics_object_collection_rule_namespace"],
        os_bucket_name=oci_objectstorage_bucket["test_bucket"]["name"],
        os_namespace=var["log_analytics_object_collection_rule_os_namespace"],
        char_encoding=var["log_analytics_object_collection_rule_char_encoding"],
        collection_type=var["log_analytics_object_collection_rule_collection_type"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=var["log_analytics_object_collection_rule_description"],
        entity_id=oci_log_analytics_entity["test_entity"]["id"],
        freeform_tags={
            "bar-key": "value",
        },
        is_enabled=var["log_analytics_object_collection_rule_is_enabled"],
        is_force_historic_collection=var["log_analytics_object_collection_rule_is_force_historic_collection"],
        log_set=var["log_analytics_object_collection_rule_log_set"],
        log_set_ext_regex=var["log_analytics_object_collection_rule_log_set_ext_regex"],
        log_set_key=var["log_analytics_object_collection_rule_log_set_key"],
        log_type=var["log_analytics_object_collection_rule_log_type"],
        object_name_filters=var["log_analytics_object_collection_rule_object_name_filters"],
        overrides=var["log_analytics_object_collection_rule_overrides"],
        poll_since=var["log_analytics_object_collection_rule_poll_since"],
        poll_till=var["log_analytics_object_collection_rule_poll_till"],
        timezone=var["log_analytics_object_collection_rule_timezone"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/LogAnalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := LogAnalytics.NewLogAnalyticsObjectCollectionRule(ctx, "testLogAnalyticsObjectCollectionRule", &LogAnalytics.LogAnalyticsObjectCollectionRuleArgs{
    			CompartmentId:  pulumi.Any(_var.Compartment_id),
    			LogGroupId:     pulumi.Any(oci_logging_log_group.Test_log_group.Id),
    			LogSourceName:  pulumi.Any(_var.Log_analytics_object_collection_rule_log_source_name),
    			Namespace:      pulumi.Any(_var.Log_analytics_object_collection_rule_namespace),
    			OsBucketName:   pulumi.Any(oci_objectstorage_bucket.Test_bucket.Name),
    			OsNamespace:    pulumi.Any(_var.Log_analytics_object_collection_rule_os_namespace),
    			CharEncoding:   pulumi.Any(_var.Log_analytics_object_collection_rule_char_encoding),
    			CollectionType: pulumi.Any(_var.Log_analytics_object_collection_rule_collection_type),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			Description: pulumi.Any(_var.Log_analytics_object_collection_rule_description),
    			EntityId:    pulumi.Any(oci_log_analytics_entity.Test_entity.Id),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			IsEnabled:                 pulumi.Any(_var.Log_analytics_object_collection_rule_is_enabled),
    			IsForceHistoricCollection: pulumi.Any(_var.Log_analytics_object_collection_rule_is_force_historic_collection),
    			LogSet:                    pulumi.Any(_var.Log_analytics_object_collection_rule_log_set),
    			LogSetExtRegex:            pulumi.Any(_var.Log_analytics_object_collection_rule_log_set_ext_regex),
    			LogSetKey:                 pulumi.Any(_var.Log_analytics_object_collection_rule_log_set_key),
    			LogType:                   pulumi.Any(_var.Log_analytics_object_collection_rule_log_type),
    			ObjectNameFilters:         pulumi.Any(_var.Log_analytics_object_collection_rule_object_name_filters),
    			Overrides:                 pulumi.Any(_var.Log_analytics_object_collection_rule_overrides),
    			PollSince:                 pulumi.Any(_var.Log_analytics_object_collection_rule_poll_since),
    			PollTill:                  pulumi.Any(_var.Log_analytics_object_collection_rule_poll_till),
    			Timezone:                  pulumi.Any(_var.Log_analytics_object_collection_rule_timezone),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testLogAnalyticsObjectCollectionRule = new Oci.LogAnalytics.LogAnalyticsObjectCollectionRule("testLogAnalyticsObjectCollectionRule", new()
        {
            CompartmentId = @var.Compartment_id,
            LogGroupId = oci_logging_log_group.Test_log_group.Id,
            LogSourceName = @var.Log_analytics_object_collection_rule_log_source_name,
            Namespace = @var.Log_analytics_object_collection_rule_namespace,
            OsBucketName = oci_objectstorage_bucket.Test_bucket.Name,
            OsNamespace = @var.Log_analytics_object_collection_rule_os_namespace,
            CharEncoding = @var.Log_analytics_object_collection_rule_char_encoding,
            CollectionType = @var.Log_analytics_object_collection_rule_collection_type,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = @var.Log_analytics_object_collection_rule_description,
            EntityId = oci_log_analytics_entity.Test_entity.Id,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            IsEnabled = @var.Log_analytics_object_collection_rule_is_enabled,
            IsForceHistoricCollection = @var.Log_analytics_object_collection_rule_is_force_historic_collection,
            LogSet = @var.Log_analytics_object_collection_rule_log_set,
            LogSetExtRegex = @var.Log_analytics_object_collection_rule_log_set_ext_regex,
            LogSetKey = @var.Log_analytics_object_collection_rule_log_set_key,
            LogType = @var.Log_analytics_object_collection_rule_log_type,
            ObjectNameFilters = @var.Log_analytics_object_collection_rule_object_name_filters,
            Overrides = @var.Log_analytics_object_collection_rule_overrides,
            PollSince = @var.Log_analytics_object_collection_rule_poll_since,
            PollTill = @var.Log_analytics_object_collection_rule_poll_till,
            Timezone = @var.Log_analytics_object_collection_rule_timezone,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.LogAnalytics.LogAnalyticsObjectCollectionRule;
    import com.pulumi.oci.LogAnalytics.LogAnalyticsObjectCollectionRuleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testLogAnalyticsObjectCollectionRule = new LogAnalyticsObjectCollectionRule("testLogAnalyticsObjectCollectionRule", LogAnalyticsObjectCollectionRuleArgs.builder()        
                .compartmentId(var_.compartment_id())
                .logGroupId(oci_logging_log_group.test_log_group().id())
                .logSourceName(var_.log_analytics_object_collection_rule_log_source_name())
                .namespace(var_.log_analytics_object_collection_rule_namespace())
                .osBucketName(oci_objectstorage_bucket.test_bucket().name())
                .osNamespace(var_.log_analytics_object_collection_rule_os_namespace())
                .charEncoding(var_.log_analytics_object_collection_rule_char_encoding())
                .collectionType(var_.log_analytics_object_collection_rule_collection_type())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(var_.log_analytics_object_collection_rule_description())
                .entityId(oci_log_analytics_entity.test_entity().id())
                .freeformTags(Map.of("bar-key", "value"))
                .isEnabled(var_.log_analytics_object_collection_rule_is_enabled())
                .isForceHistoricCollection(var_.log_analytics_object_collection_rule_is_force_historic_collection())
                .logSet(var_.log_analytics_object_collection_rule_log_set())
                .logSetExtRegex(var_.log_analytics_object_collection_rule_log_set_ext_regex())
                .logSetKey(var_.log_analytics_object_collection_rule_log_set_key())
                .logType(var_.log_analytics_object_collection_rule_log_type())
                .objectNameFilters(var_.log_analytics_object_collection_rule_object_name_filters())
                .overrides(var_.log_analytics_object_collection_rule_overrides())
                .pollSince(var_.log_analytics_object_collection_rule_poll_since())
                .pollTill(var_.log_analytics_object_collection_rule_poll_till())
                .timezone(var_.log_analytics_object_collection_rule_timezone())
                .build());
    
        }
    }
    
    resources:
      testLogAnalyticsObjectCollectionRule:
        type: oci:LogAnalytics:LogAnalyticsObjectCollectionRule
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          logGroupId: ${oci_logging_log_group.test_log_group.id}
          logSourceName: ${var.log_analytics_object_collection_rule_log_source_name}
          namespace: ${var.log_analytics_object_collection_rule_namespace}
          osBucketName: ${oci_objectstorage_bucket.test_bucket.name}
          osNamespace: ${var.log_analytics_object_collection_rule_os_namespace}
          #Optional
          charEncoding: ${var.log_analytics_object_collection_rule_char_encoding}
          collectionType: ${var.log_analytics_object_collection_rule_collection_type}
          definedTags:
            foo-namespace.bar-key: value
          description: ${var.log_analytics_object_collection_rule_description}
          entityId: ${oci_log_analytics_entity.test_entity.id}
          freeformTags:
            bar-key: value
          isEnabled: ${var.log_analytics_object_collection_rule_is_enabled}
          isForceHistoricCollection: ${var.log_analytics_object_collection_rule_is_force_historic_collection}
          logSet: ${var.log_analytics_object_collection_rule_log_set}
          logSetExtRegex: ${var.log_analytics_object_collection_rule_log_set_ext_regex}
          logSetKey: ${var.log_analytics_object_collection_rule_log_set_key}
          logType: ${var.log_analytics_object_collection_rule_log_type}
          objectNameFilters: ${var.log_analytics_object_collection_rule_object_name_filters}
          overrides: ${var.log_analytics_object_collection_rule_overrides}
          pollSince: ${var.log_analytics_object_collection_rule_poll_since}
          pollTill: ${var.log_analytics_object_collection_rule_poll_till}
          timezone: ${var.log_analytics_object_collection_rule_timezone}
    

    Create LogAnalyticsObjectCollectionRule Resource

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

    Constructor syntax

    new LogAnalyticsObjectCollectionRule(name: string, args: LogAnalyticsObjectCollectionRuleArgs, opts?: CustomResourceOptions);
    @overload
    def LogAnalyticsObjectCollectionRule(resource_name: str,
                                         args: LogAnalyticsObjectCollectionRuleArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogAnalyticsObjectCollectionRule(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         log_group_id: Optional[str] = None,
                                         os_namespace: Optional[str] = None,
                                         compartment_id: Optional[str] = None,
                                         os_bucket_name: Optional[str] = None,
                                         namespace: Optional[str] = None,
                                         log_source_name: Optional[str] = None,
                                         freeform_tags: Optional[Mapping[str, Any]] = None,
                                         name: Optional[str] = None,
                                         is_force_historic_collection: Optional[bool] = None,
                                         char_encoding: Optional[str] = None,
                                         log_set: Optional[str] = None,
                                         log_set_ext_regex: Optional[str] = None,
                                         log_set_key: Optional[str] = None,
                                         entity_id: Optional[str] = None,
                                         log_type: Optional[str] = None,
                                         is_enabled: Optional[bool] = None,
                                         description: Optional[str] = None,
                                         object_name_filters: Optional[Sequence[str]] = None,
                                         defined_tags: Optional[Mapping[str, Any]] = None,
                                         collection_type: Optional[str] = None,
                                         overrides: Optional[Sequence[_loganalytics.LogAnalyticsObjectCollectionRuleOverrideArgs]] = None,
                                         poll_since: Optional[str] = None,
                                         poll_till: Optional[str] = None,
                                         timezone: Optional[str] = None)
    func NewLogAnalyticsObjectCollectionRule(ctx *Context, name string, args LogAnalyticsObjectCollectionRuleArgs, opts ...ResourceOption) (*LogAnalyticsObjectCollectionRule, error)
    public LogAnalyticsObjectCollectionRule(string name, LogAnalyticsObjectCollectionRuleArgs args, CustomResourceOptions? opts = null)
    public LogAnalyticsObjectCollectionRule(String name, LogAnalyticsObjectCollectionRuleArgs args)
    public LogAnalyticsObjectCollectionRule(String name, LogAnalyticsObjectCollectionRuleArgs args, CustomResourceOptions options)
    
    type: oci:LogAnalytics:LogAnalyticsObjectCollectionRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LogAnalyticsObjectCollectionRuleArgs
    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 LogAnalyticsObjectCollectionRuleArgs
    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 LogAnalyticsObjectCollectionRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogAnalyticsObjectCollectionRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogAnalyticsObjectCollectionRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var logAnalyticsObjectCollectionRuleResource = new Oci.LogAnalytics.LogAnalyticsObjectCollectionRule("logAnalyticsObjectCollectionRuleResource", new()
    {
        LogGroupId = "string",
        OsNamespace = "string",
        CompartmentId = "string",
        OsBucketName = "string",
        Namespace = "string",
        LogSourceName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        Name = "string",
        IsForceHistoricCollection = false,
        CharEncoding = "string",
        LogSet = "string",
        LogSetExtRegex = "string",
        LogSetKey = "string",
        EntityId = "string",
        LogType = "string",
        IsEnabled = false,
        Description = "string",
        ObjectNameFilters = new[]
        {
            "string",
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        CollectionType = "string",
        Overrides = new[]
        {
            new Oci.LogAnalytics.Inputs.LogAnalyticsObjectCollectionRuleOverrideArgs
            {
                MatchType = "string",
                MatchValue = "string",
                PropertyName = "string",
                PropertyValue = "string",
            },
        },
        PollSince = "string",
        PollTill = "string",
        Timezone = "string",
    });
    
    example, err := LogAnalytics.NewLogAnalyticsObjectCollectionRule(ctx, "logAnalyticsObjectCollectionRuleResource", &LogAnalytics.LogAnalyticsObjectCollectionRuleArgs{
    	LogGroupId:    pulumi.String("string"),
    	OsNamespace:   pulumi.String("string"),
    	CompartmentId: pulumi.String("string"),
    	OsBucketName:  pulumi.String("string"),
    	Namespace:     pulumi.String("string"),
    	LogSourceName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Name:                      pulumi.String("string"),
    	IsForceHistoricCollection: pulumi.Bool(false),
    	CharEncoding:              pulumi.String("string"),
    	LogSet:                    pulumi.String("string"),
    	LogSetExtRegex:            pulumi.String("string"),
    	LogSetKey:                 pulumi.String("string"),
    	EntityId:                  pulumi.String("string"),
    	LogType:                   pulumi.String("string"),
    	IsEnabled:                 pulumi.Bool(false),
    	Description:               pulumi.String("string"),
    	ObjectNameFilters: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	CollectionType: pulumi.String("string"),
    	Overrides: loganalytics.LogAnalyticsObjectCollectionRuleOverrideArray{
    		&loganalytics.LogAnalyticsObjectCollectionRuleOverrideArgs{
    			MatchType:     pulumi.String("string"),
    			MatchValue:    pulumi.String("string"),
    			PropertyName:  pulumi.String("string"),
    			PropertyValue: pulumi.String("string"),
    		},
    	},
    	PollSince: pulumi.String("string"),
    	PollTill:  pulumi.String("string"),
    	Timezone:  pulumi.String("string"),
    })
    
    var logAnalyticsObjectCollectionRuleResource = new LogAnalyticsObjectCollectionRule("logAnalyticsObjectCollectionRuleResource", LogAnalyticsObjectCollectionRuleArgs.builder()        
        .logGroupId("string")
        .osNamespace("string")
        .compartmentId("string")
        .osBucketName("string")
        .namespace("string")
        .logSourceName("string")
        .freeformTags(Map.of("string", "any"))
        .name("string")
        .isForceHistoricCollection(false)
        .charEncoding("string")
        .logSet("string")
        .logSetExtRegex("string")
        .logSetKey("string")
        .entityId("string")
        .logType("string")
        .isEnabled(false)
        .description("string")
        .objectNameFilters("string")
        .definedTags(Map.of("string", "any"))
        .collectionType("string")
        .overrides(LogAnalyticsObjectCollectionRuleOverrideArgs.builder()
            .matchType("string")
            .matchValue("string")
            .propertyName("string")
            .propertyValue("string")
            .build())
        .pollSince("string")
        .pollTill("string")
        .timezone("string")
        .build());
    
    log_analytics_object_collection_rule_resource = oci.log_analytics.LogAnalyticsObjectCollectionRule("logAnalyticsObjectCollectionRuleResource",
        log_group_id="string",
        os_namespace="string",
        compartment_id="string",
        os_bucket_name="string",
        namespace="string",
        log_source_name="string",
        freeform_tags={
            "string": "any",
        },
        name="string",
        is_force_historic_collection=False,
        char_encoding="string",
        log_set="string",
        log_set_ext_regex="string",
        log_set_key="string",
        entity_id="string",
        log_type="string",
        is_enabled=False,
        description="string",
        object_name_filters=["string"],
        defined_tags={
            "string": "any",
        },
        collection_type="string",
        overrides=[oci.log_analytics.LogAnalyticsObjectCollectionRuleOverrideArgs(
            match_type="string",
            match_value="string",
            property_name="string",
            property_value="string",
        )],
        poll_since="string",
        poll_till="string",
        timezone="string")
    
    const logAnalyticsObjectCollectionRuleResource = new oci.loganalytics.LogAnalyticsObjectCollectionRule("logAnalyticsObjectCollectionRuleResource", {
        logGroupId: "string",
        osNamespace: "string",
        compartmentId: "string",
        osBucketName: "string",
        namespace: "string",
        logSourceName: "string",
        freeformTags: {
            string: "any",
        },
        name: "string",
        isForceHistoricCollection: false,
        charEncoding: "string",
        logSet: "string",
        logSetExtRegex: "string",
        logSetKey: "string",
        entityId: "string",
        logType: "string",
        isEnabled: false,
        description: "string",
        objectNameFilters: ["string"],
        definedTags: {
            string: "any",
        },
        collectionType: "string",
        overrides: [{
            matchType: "string",
            matchValue: "string",
            propertyName: "string",
            propertyValue: "string",
        }],
        pollSince: "string",
        pollTill: "string",
        timezone: "string",
    });
    
    type: oci:LogAnalytics:LogAnalyticsObjectCollectionRule
    properties:
        charEncoding: string
        collectionType: string
        compartmentId: string
        definedTags:
            string: any
        description: string
        entityId: string
        freeformTags:
            string: any
        isEnabled: false
        isForceHistoricCollection: false
        logGroupId: string
        logSet: string
        logSetExtRegex: string
        logSetKey: string
        logSourceName: string
        logType: string
        name: string
        namespace: string
        objectNameFilters:
            - string
        osBucketName: string
        osNamespace: string
        overrides:
            - matchType: string
              matchValue: string
              propertyName: string
              propertyValue: string
        pollSince: string
        pollTill: string
        timezone: string
    

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

    CompartmentId string
    (Updatable) The OCID of the compartment to which this rule belongs.
    LogGroupId string
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    LogSourceName string
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    Namespace string
    The Logging Analytics namespace used for the request.
    OsBucketName string
    Name of the Object Storage bucket.
    OsNamespace string
    Object Storage namespace.
    CharEncoding string
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    CollectionType string
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    EntityId string
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEnabled bool
    (Updatable) Whether or not this rule is currently enabled.
    IsForceHistoricCollection bool
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    LogSet string
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    LogSetExtRegex string
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    LogSetKey string
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    LogType string
    Type of files/objects in this object collection rule.
    Name string
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    ObjectNameFilters List<string>
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    Overrides List<LogAnalyticsObjectCollectionRuleOverride>
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    PollSince string
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    PollTill string
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    Timezone string

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment to which this rule belongs.
    LogGroupId string
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    LogSourceName string
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    Namespace string
    The Logging Analytics namespace used for the request.
    OsBucketName string
    Name of the Object Storage bucket.
    OsNamespace string
    Object Storage namespace.
    CharEncoding string
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    CollectionType string
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    EntityId string
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEnabled bool
    (Updatable) Whether or not this rule is currently enabled.
    IsForceHistoricCollection bool
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    LogSet string
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    LogSetExtRegex string
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    LogSetKey string
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    LogType string
    Type of files/objects in this object collection rule.
    Name string
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    ObjectNameFilters []string
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    Overrides []LogAnalyticsObjectCollectionRuleOverrideArgs
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    PollSince string
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    PollTill string
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    Timezone string

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment to which this rule belongs.
    logGroupId String
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    logSourceName String
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    namespace String
    The Logging Analytics namespace used for the request.
    osBucketName String
    Name of the Object Storage bucket.
    osNamespace String
    Object Storage namespace.
    charEncoding String
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    collectionType String
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    entityId String
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled Boolean
    (Updatable) Whether or not this rule is currently enabled.
    isForceHistoricCollection Boolean
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    logSet String
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    logSetExtRegex String
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    logSetKey String
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    logType String
    Type of files/objects in this object collection rule.
    name String
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    objectNameFilters List<String>
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    overrides List<ObjectCollectionRuleOverride>
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    pollSince String
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    pollTill String
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    timezone String

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment to which this rule belongs.
    logGroupId string
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    logSourceName string
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    namespace string
    The Logging Analytics namespace used for the request.
    osBucketName string
    Name of the Object Storage bucket.
    osNamespace string
    Object Storage namespace.
    charEncoding string
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    collectionType string
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    entityId string
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled boolean
    (Updatable) Whether or not this rule is currently enabled.
    isForceHistoricCollection boolean
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    logSet string
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    logSetExtRegex string
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    logSetKey string
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    logType string
    Type of files/objects in this object collection rule.
    name string
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    objectNameFilters string[]
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    overrides LogAnalyticsObjectCollectionRuleOverride[]
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    pollSince string
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    pollTill string
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    timezone string

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The OCID of the compartment to which this rule belongs.
    log_group_id str
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    log_source_name str
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    namespace str
    The Logging Analytics namespace used for the request.
    os_bucket_name str
    Name of the Object Storage bucket.
    os_namespace str
    Object Storage namespace.
    char_encoding str
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    collection_type str
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    entity_id str
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_enabled bool
    (Updatable) Whether or not this rule is currently enabled.
    is_force_historic_collection bool
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    log_set str
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    log_set_ext_regex str
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    log_set_key str
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    log_type str
    Type of files/objects in this object collection rule.
    name str
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    object_name_filters Sequence[str]
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    overrides Sequence[loganalytics.LogAnalyticsObjectCollectionRuleOverrideArgs]
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    poll_since str
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    poll_till str
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    timezone str

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment to which this rule belongs.
    logGroupId String
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    logSourceName String
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    namespace String
    The Logging Analytics namespace used for the request.
    osBucketName String
    Name of the Object Storage bucket.
    osNamespace String
    Object Storage namespace.
    charEncoding String
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    collectionType String
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    entityId String
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled Boolean
    (Updatable) Whether or not this rule is currently enabled.
    isForceHistoricCollection Boolean
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    logSet String
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    logSetExtRegex String
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    logSetKey String
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    logType String
    Type of files/objects in this object collection rule.
    name String
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    objectNameFilters List<String>
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    overrides List<Property Map>
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    pollSince String
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    pollTill String
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    timezone String

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A detailed status of the life cycle state.
    State string
    The current state of the rule.
    TimeCreated string
    The time when this rule was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A detailed status of the life cycle state.
    State string
    The current state of the rule.
    TimeCreated string
    The time when this rule was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A detailed status of the life cycle state.
    state String
    The current state of the rule.
    timeCreated String
    The time when this rule was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A detailed status of the life cycle state.
    state string
    The current state of the rule.
    timeCreated string
    The time when this rule was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    A detailed status of the life cycle state.
    state str
    The current state of the rule.
    time_created str
    The time when this rule was created. An RFC3339 formatted datetime string.
    time_updated str
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A detailed status of the life cycle state.
    state String
    The current state of the rule.
    timeCreated String
    The time when this rule was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when this rule was last updated. An RFC3339 formatted datetime string.

    Look up Existing LogAnalyticsObjectCollectionRule Resource

    Get an existing LogAnalyticsObjectCollectionRule 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?: LogAnalyticsObjectCollectionRuleState, opts?: CustomResourceOptions): LogAnalyticsObjectCollectionRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            char_encoding: Optional[str] = None,
            collection_type: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            entity_id: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            is_enabled: Optional[bool] = None,
            is_force_historic_collection: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            log_group_id: Optional[str] = None,
            log_set: Optional[str] = None,
            log_set_ext_regex: Optional[str] = None,
            log_set_key: Optional[str] = None,
            log_source_name: Optional[str] = None,
            log_type: Optional[str] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            object_name_filters: Optional[Sequence[str]] = None,
            os_bucket_name: Optional[str] = None,
            os_namespace: Optional[str] = None,
            overrides: Optional[Sequence[_loganalytics.LogAnalyticsObjectCollectionRuleOverrideArgs]] = None,
            poll_since: Optional[str] = None,
            poll_till: Optional[str] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            timezone: Optional[str] = None) -> LogAnalyticsObjectCollectionRule
    func GetLogAnalyticsObjectCollectionRule(ctx *Context, name string, id IDInput, state *LogAnalyticsObjectCollectionRuleState, opts ...ResourceOption) (*LogAnalyticsObjectCollectionRule, error)
    public static LogAnalyticsObjectCollectionRule Get(string name, Input<string> id, LogAnalyticsObjectCollectionRuleState? state, CustomResourceOptions? opts = null)
    public static LogAnalyticsObjectCollectionRule get(String name, Output<String> id, LogAnalyticsObjectCollectionRuleState 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:
    CharEncoding string
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    CollectionType string
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    CompartmentId string
    (Updatable) The OCID of the compartment to which this rule belongs.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    EntityId string
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEnabled bool
    (Updatable) Whether or not this rule is currently enabled.
    IsForceHistoricCollection bool
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    LifecycleDetails string
    A detailed status of the life cycle state.
    LogGroupId string
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    LogSet string
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    LogSetExtRegex string
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    LogSetKey string
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    LogSourceName string
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    LogType string
    Type of files/objects in this object collection rule.
    Name string
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    Namespace string
    The Logging Analytics namespace used for the request.
    ObjectNameFilters List<string>
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    OsBucketName string
    Name of the Object Storage bucket.
    OsNamespace string
    Object Storage namespace.
    Overrides List<LogAnalyticsObjectCollectionRuleOverride>
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    PollSince string
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    PollTill string
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    State string
    The current state of the rule.
    TimeCreated string
    The time when this rule was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    Timezone string

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CharEncoding string
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    CollectionType string
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    CompartmentId string
    (Updatable) The OCID of the compartment to which this rule belongs.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    EntityId string
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsEnabled bool
    (Updatable) Whether or not this rule is currently enabled.
    IsForceHistoricCollection bool
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    LifecycleDetails string
    A detailed status of the life cycle state.
    LogGroupId string
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    LogSet string
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    LogSetExtRegex string
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    LogSetKey string
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    LogSourceName string
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    LogType string
    Type of files/objects in this object collection rule.
    Name string
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    Namespace string
    The Logging Analytics namespace used for the request.
    ObjectNameFilters []string
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    OsBucketName string
    Name of the Object Storage bucket.
    OsNamespace string
    Object Storage namespace.
    Overrides []LogAnalyticsObjectCollectionRuleOverrideArgs
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    PollSince string
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    PollTill string
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    State string
    The current state of the rule.
    TimeCreated string
    The time when this rule was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    Timezone string

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    charEncoding String
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    collectionType String
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    compartmentId String
    (Updatable) The OCID of the compartment to which this rule belongs.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    entityId String
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled Boolean
    (Updatable) Whether or not this rule is currently enabled.
    isForceHistoricCollection Boolean
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    lifecycleDetails String
    A detailed status of the life cycle state.
    logGroupId String
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    logSet String
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    logSetExtRegex String
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    logSetKey String
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    logSourceName String
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    logType String
    Type of files/objects in this object collection rule.
    name String
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    namespace String
    The Logging Analytics namespace used for the request.
    objectNameFilters List<String>
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    osBucketName String
    Name of the Object Storage bucket.
    osNamespace String
    Object Storage namespace.
    overrides List<ObjectCollectionRuleOverride>
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    pollSince String
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    pollTill String
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    state String
    The current state of the rule.
    timeCreated String
    The time when this rule was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    timezone String

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    charEncoding string
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    collectionType string
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    compartmentId string
    (Updatable) The OCID of the compartment to which this rule belongs.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    entityId string
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled boolean
    (Updatable) Whether or not this rule is currently enabled.
    isForceHistoricCollection boolean
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    lifecycleDetails string
    A detailed status of the life cycle state.
    logGroupId string
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    logSet string
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    logSetExtRegex string
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    logSetKey string
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    logSourceName string
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    logType string
    Type of files/objects in this object collection rule.
    name string
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    namespace string
    The Logging Analytics namespace used for the request.
    objectNameFilters string[]
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    osBucketName string
    Name of the Object Storage bucket.
    osNamespace string
    Object Storage namespace.
    overrides LogAnalyticsObjectCollectionRuleOverride[]
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    pollSince string
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    pollTill string
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    state string
    The current state of the rule.
    timeCreated string
    The time when this rule was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    timezone string

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    char_encoding str
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    collection_type str
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    compartment_id str
    (Updatable) The OCID of the compartment to which this rule belongs.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    entity_id str
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_enabled bool
    (Updatable) Whether or not this rule is currently enabled.
    is_force_historic_collection bool
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    lifecycle_details str
    A detailed status of the life cycle state.
    log_group_id str
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    log_set str
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    log_set_ext_regex str
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    log_set_key str
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    log_source_name str
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    log_type str
    Type of files/objects in this object collection rule.
    name str
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    namespace str
    The Logging Analytics namespace used for the request.
    object_name_filters Sequence[str]
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    os_bucket_name str
    Name of the Object Storage bucket.
    os_namespace str
    Object Storage namespace.
    overrides Sequence[loganalytics.LogAnalyticsObjectCollectionRuleOverrideArgs]
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    poll_since str
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    poll_till str
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    state str
    The current state of the rule.
    time_created str
    The time when this rule was created. An RFC3339 formatted datetime string.
    time_updated str
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    timezone str

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    charEncoding String
    (Updatable) An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8589_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs.
    collectionType String
    The type of collection. Supported collection types: LIVE, HISTORIC, HISTORIC_LIVE
    compartmentId String
    (Updatable) The OCID of the compartment to which this rule belongs.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information.
    entityId String
    (Updatable) Logging Analytics entity OCID. Associates the processed logs with the given entity (optional).
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isEnabled Boolean
    (Updatable) Whether or not this rule is currently enabled.
    isForceHistoricCollection Boolean
    Flag to allow historic collection if poll period overlaps with existing ACTIVE collection rule
    lifecycleDetails String
    A detailed status of the life cycle state.
    logGroupId String
    (Updatable) Logging Analytics Log group OCID to associate the processed logs with.
    logSet String
    (Updatable) The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex.
    logSetExtRegex String
    (Updatable) The regex to be applied against given logSetKey. Regex has to be in string escaped format.
    logSetKey String
    (Updatable) An optional parameter to indicate from where the logSet to be extracted using logSetExtRegex. Default value is OBJECT_PATH (e.g. /n//b//o/).
    logSourceName String
    (Updatable) Name of the Logging Analytics Source to use for the processing.
    logType String
    Type of files/objects in this object collection rule.
    name String
    A unique name given to the rule. The name must be unique within the tenancy, and cannot be modified.
    namespace String
    The Logging Analytics namespace used for the request.
    objectNameFilters List<String>
    (Updatable) When the filters are provided, only the objects matching the filters are picked up for processing. The matchType supported is exact match and accommodates wildcard "*". For more information on filters, see Event Filters.
    osBucketName String
    Name of the Object Storage bucket.
    osNamespace String
    Object Storage namespace.
    overrides List<Property Map>
    (Updatable) The override is used to modify some important configuration properties for objects matching a specific pattern inside the bucket. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains".
    pollSince String
    The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error.
    pollTill String
    The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error.
    state String
    The current state of the rule.
    timeCreated String
    The time when this rule was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time when this rule was last updated. An RFC3339 formatted datetime string.
    timezone String

    (Updatable) Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Supporting Types

    LogAnalyticsObjectCollectionRuleOverride, LogAnalyticsObjectCollectionRuleOverrideArgs

    Import

    LogAnalyticsObjectCollectionRules can be imported using the id, e.g.

    $ pulumi import oci:LogAnalytics/logAnalyticsObjectCollectionRule:LogAnalyticsObjectCollectionRule test_log_analytics_object_collection_rule "namespaces/{namespaceName}/logAnalyticsObjectCollectionRules/{logAnalyticsObjectCollectionRuleId}"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi