Class UpdateLogAnalyticsObjectCollectionRuleDetails
Configuration of the collection rule to be updated.
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class UpdateLogAnalyticsObjectCollectionRuleDetails
Properties
CharEncoding
Declaration
[JsonProperty(PropertyName = "charEncoding")]
public string CharEncoding { get; set; }
Property Value
Type | Description |
---|---|
string | 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_8859_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. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A string that describes the details of the rule. Avoid entering confidential information. |
EntityId
Declaration
[JsonProperty(PropertyName = "entityId")]
public string EntityId { get; set; }
Property Value
Type | Description |
---|---|
string | Logging Analytics entity OCID. Associates the processed logs with the given entity (optional). |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
IsEnabled
Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether or not this rule is currently enabled. |
LogGroupId
Declaration
[JsonProperty(PropertyName = "logGroupId")]
public string LogGroupId { get; set; }
Property Value
Type | Description |
---|---|
string | Logging Analytics Log group OCID to associate the processed logs with. |
LogSet
Declaration
[JsonProperty(PropertyName = "logSet")]
public string LogSet { get; set; }
Property Value
Type | Description |
---|---|
string | 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
Declaration
[JsonProperty(PropertyName = "logSetExtRegex")]
public string LogSetExtRegex { get; set; }
Property Value
Type | Description |
---|---|
string | The regex to be applied against given logSetKey. Regex has to be in string escaped format. |
LogSetKey
Declaration
[JsonProperty(PropertyName = "logSetKey")]
[JsonConverter(typeof(StringEnumConverter))]
public LogSetKeyTypes? LogSetKey { get; set; }
Property Value
Type | Description |
---|---|
LogSetKeyTypes? |
LogSourceName
Declaration
[JsonProperty(PropertyName = "logSourceName")]
public string LogSourceName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the Logging Analytics Source to use for the processing. |
ObjectNameFilters
Declaration
[JsonProperty(PropertyName = "objectNameFilters")]
public List<string> ObjectNameFilters { get; set; }
Property Value
Type | Description |
---|---|
List<string> | 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
Declaration
[JsonProperty(PropertyName = "overrides")]
public Dictionary<string, List<PropertyOverride>> Overrides { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, List<PropertyOverride>> | Use this to override some property values which are defined at bucket level to the scope of object. Supported propeties for override are: logSourceName, charEncoding, entityId. Supported matchType for override are "contains". |
StreamCursorTime
Declaration
[JsonProperty(PropertyName = "streamCursorTime")]
public DateTime? StreamCursorTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time from which to consume the objects, if streamCursorType is AT_TIME. |
StreamCursorType
Declaration
[JsonProperty(PropertyName = "streamCursorType")]
[JsonConverter(typeof(StringEnumConverter))]
public StreamCursorTypes? StreamCursorType { get; set; }
Property Value
Type | Description |
---|---|
StreamCursorTypes? | Cursor type used to fetch messages from stream. When the streamCursorType is set to DEFAULT, the existing cursor position will be used if already set by any previous objection collection rule(s) using the same stream. Otherwise, the behaviour is to consume from the oldest available message in the stream. When the streamCursorType is set to TRIM_HORIZON, the behaviour is to start consuming from the oldest available message in the stream. When the streamCursorType is set to LATEST, the behavior is to start consuming messages that were published after the creation of this rule. When the streamCursorType is set to AT_TIME, the behavior is to start consuming from a given time. For more information on cursor types, see Stream Consumer Groups. |
StreamId
Declaration
[JsonProperty(PropertyName = "streamId")]
public string StreamId { get; set; }
Property Value
Type | Description |
---|---|
string | A Stream OCID is required for Object Collection rules of type LIVE or HISTORIC_LIVE, which will be used by Logging Analytics while creating Event Rule and consume the event notifications created by the Object Storage. |
Timezone
Declaration
[JsonProperty(PropertyName = "timezone")]
public string Timezone { get; set; }
Property Value
Type | Description |
---|---|
string | 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. |