ibm.LogsRuleGroup
Explore with Pulumi AI
Create, update, and delete logs_rule_groups with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const logsRuleGroupInstance = new ibm.LogsRuleGroup("logsRuleGroupInstance", {
instanceId: ibm_resource_instance.logs_instance.guid,
region: ibm_resource_instance.logs_instance.location,
description: "example rule group decription",
enabled: false,
ruleMatchers: [{
subsystemName: {
value: "mysql",
},
}],
ruleSubgroups: [{
rules: [{
name: "mysql-parse",
sourceField: "text",
parameters: {
parseParameters: {
destinationField: "text",
rule: "(?P<timestamp>[^,]+),(?P<hostname>[^,]+),(?P<username>[^,]+),(?P<ip>[^,]+),(?P<connectionId>[0-9]+),(?P<queryId>[0-9]+),(?P<operation>[^,]+),(?P<database>[^,]+),'?(?P<object>.*)'?,(?P<returnCode>[0-9]+)",
},
},
enabled: true,
order: 1,
}],
enabled: true,
order: 1,
}],
order: 4294967,
});
import pulumi
import pulumi_ibm as ibm
logs_rule_group_instance = ibm.LogsRuleGroup("logsRuleGroupInstance",
instance_id=ibm_resource_instance["logs_instance"]["guid"],
region=ibm_resource_instance["logs_instance"]["location"],
description="example rule group decription",
enabled=False,
rule_matchers=[{
"subsystem_name": {
"value": "mysql",
},
}],
rule_subgroups=[{
"rules": [{
"name": "mysql-parse",
"source_field": "text",
"parameters": {
"parse_parameters": {
"destination_field": "text",
"rule": "(?P<timestamp>[^,]+),(?P<hostname>[^,]+),(?P<username>[^,]+),(?P<ip>[^,]+),(?P<connectionId>[0-9]+),(?P<queryId>[0-9]+),(?P<operation>[^,]+),(?P<database>[^,]+),'?(?P<object>.*)'?,(?P<returnCode>[0-9]+)",
},
},
"enabled": True,
"order": 1,
}],
"enabled": True,
"order": 1,
}],
order=4294967)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewLogsRuleGroup(ctx, "logsRuleGroupInstance", &ibm.LogsRuleGroupArgs{
InstanceId: pulumi.Any(ibm_resource_instance.Logs_instance.Guid),
Region: pulumi.Any(ibm_resource_instance.Logs_instance.Location),
Description: pulumi.String("example rule group decription"),
Enabled: pulumi.Bool(false),
RuleMatchers: ibm.LogsRuleGroupRuleMatcherArray{
&ibm.LogsRuleGroupRuleMatcherArgs{
SubsystemName: &ibm.LogsRuleGroupRuleMatcherSubsystemNameArgs{
Value: pulumi.String("mysql"),
},
},
},
RuleSubgroups: ibm.LogsRuleGroupRuleSubgroupArray{
&ibm.LogsRuleGroupRuleSubgroupArgs{
Rules: ibm.LogsRuleGroupRuleSubgroupRuleArray{
&ibm.LogsRuleGroupRuleSubgroupRuleArgs{
Name: pulumi.String("mysql-parse"),
SourceField: pulumi.String("text"),
Parameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersArgs{
ParseParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersParseParametersArgs{
DestinationField: pulumi.String("text"),
Rule: pulumi.String("(?P<timestamp>[^,]+),(?P<hostname>[^,]+),(?P<username>[^,]+),(?P<ip>[^,]+),(?P<connectionId>[0-9]+),(?P<queryId>[0-9]+),(?P<operation>[^,]+),(?P<database>[^,]+),'?(?P<object>.*)'?,(?P<returnCode>[0-9]+)"),
},
},
Enabled: pulumi.Bool(true),
Order: pulumi.Float64(1),
},
},
Enabled: pulumi.Bool(true),
Order: pulumi.Float64(1),
},
},
Order: pulumi.Float64(4294967),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var logsRuleGroupInstance = new Ibm.LogsRuleGroup("logsRuleGroupInstance", new()
{
InstanceId = ibm_resource_instance.Logs_instance.Guid,
Region = ibm_resource_instance.Logs_instance.Location,
Description = "example rule group decription",
Enabled = false,
RuleMatchers = new[]
{
new Ibm.Inputs.LogsRuleGroupRuleMatcherArgs
{
SubsystemName = new Ibm.Inputs.LogsRuleGroupRuleMatcherSubsystemNameArgs
{
Value = "mysql",
},
},
},
RuleSubgroups = new[]
{
new Ibm.Inputs.LogsRuleGroupRuleSubgroupArgs
{
Rules = new[]
{
new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleArgs
{
Name = "mysql-parse",
SourceField = "text",
Parameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersArgs
{
ParseParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersParseParametersArgs
{
DestinationField = "text",
Rule = "(?P<timestamp>[^,]+),(?P<hostname>[^,]+),(?P<username>[^,]+),(?P<ip>[^,]+),(?P<connectionId>[0-9]+),(?P<queryId>[0-9]+),(?P<operation>[^,]+),(?P<database>[^,]+),'?(?P<object>.*)'?,(?P<returnCode>[0-9]+)",
},
},
Enabled = true,
Order = 1,
},
},
Enabled = true,
Order = 1,
},
},
Order = 4294967,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.LogsRuleGroup;
import com.pulumi.ibm.LogsRuleGroupArgs;
import com.pulumi.ibm.inputs.LogsRuleGroupRuleMatcherArgs;
import com.pulumi.ibm.inputs.LogsRuleGroupRuleMatcherSubsystemNameArgs;
import com.pulumi.ibm.inputs.LogsRuleGroupRuleSubgroupArgs;
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 logsRuleGroupInstance = new LogsRuleGroup("logsRuleGroupInstance", LogsRuleGroupArgs.builder()
.instanceId(ibm_resource_instance.logs_instance().guid())
.region(ibm_resource_instance.logs_instance().location())
.description("example rule group decription")
.enabled(false)
.ruleMatchers(LogsRuleGroupRuleMatcherArgs.builder()
.subsystemName(LogsRuleGroupRuleMatcherSubsystemNameArgs.builder()
.value("mysql")
.build())
.build())
.ruleSubgroups(LogsRuleGroupRuleSubgroupArgs.builder()
.rules(LogsRuleGroupRuleSubgroupRuleArgs.builder()
.name("mysql-parse")
.sourceField("text")
.parameters(LogsRuleGroupRuleSubgroupRuleParametersArgs.builder()
.parseParameters(LogsRuleGroupRuleSubgroupRuleParametersParseParametersArgs.builder()
.destinationField("text")
.rule("(?P<timestamp>[^,]+),(?P<hostname>[^,]+),(?P<username>[^,]+),(?P<ip>[^,]+),(?P<connectionId>[0-9]+),(?P<queryId>[0-9]+),(?P<operation>[^,]+),(?P<database>[^,]+),'?(?P<object>.*)'?,(?P<returnCode>[0-9]+)")
.build())
.build())
.enabled(true)
.order(1)
.build())
.enabled(true)
.order(1)
.build())
.order(4294967)
.build());
}
}
resources:
logsRuleGroupInstance:
type: ibm:LogsRuleGroup
properties:
instanceId: ${ibm_resource_instance.logs_instance.guid}
region: ${ibm_resource_instance.logs_instance.location}
description: example rule group decription
enabled: false
ruleMatchers:
- subsystemName:
value: mysql
ruleSubgroups:
- rules:
- name: mysql-parse
sourceField: text
parameters:
parseParameters:
destinationField: text
rule: (?P<timestamp>[^,]+),(?P<hostname>[^,]+),(?P<username>[^,]+),(?P<ip>[^,]+),(?P<connectionId>[0-9]+),(?P<queryId>[0-9]+),(?P<operation>[^,]+),(?P<database>[^,]+),'?(?P<object>.*)'?,(?P<returnCode>[0-9]+)
enabled: true
order: 1
enabled: true
order: 1
order: 4.294967e+06
Create LogsRuleGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogsRuleGroup(name: string, args: LogsRuleGroupArgs, opts?: CustomResourceOptions);
@overload
def LogsRuleGroup(resource_name: str,
args: LogsRuleGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogsRuleGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
rule_subgroups: Optional[Sequence[LogsRuleGroupRuleSubgroupArgs]] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
endpoint_type: Optional[str] = None,
logs_rule_group_id: Optional[str] = None,
name: Optional[str] = None,
order: Optional[float] = None,
region: Optional[str] = None,
rule_matchers: Optional[Sequence[LogsRuleGroupRuleMatcherArgs]] = None)
func NewLogsRuleGroup(ctx *Context, name string, args LogsRuleGroupArgs, opts ...ResourceOption) (*LogsRuleGroup, error)
public LogsRuleGroup(string name, LogsRuleGroupArgs args, CustomResourceOptions? opts = null)
public LogsRuleGroup(String name, LogsRuleGroupArgs args)
public LogsRuleGroup(String name, LogsRuleGroupArgs args, CustomResourceOptions options)
type: ibm:LogsRuleGroup
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 LogsRuleGroupArgs
- 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 LogsRuleGroupArgs
- 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 LogsRuleGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogsRuleGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogsRuleGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var logsRuleGroupResource = new Ibm.LogsRuleGroup("logsRuleGroupResource", new()
{
InstanceId = "string",
RuleSubgroups = new[]
{
new Ibm.Inputs.LogsRuleGroupRuleSubgroupArgs
{
Order = 0,
Rules = new[]
{
new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleArgs
{
Enabled = false,
Name = "string",
Order = 0,
Parameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersArgs
{
AllowParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersAllowParametersArgs
{
KeepBlockedLogs = false,
Rule = "string",
},
BlockParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersBlockParametersArgs
{
KeepBlockedLogs = false,
Rule = "string",
},
ExtractParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersExtractParametersArgs
{
Rule = "string",
},
ExtractTimestampParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersExtractTimestampParametersArgs
{
Format = "string",
Standard = "string",
},
JsonExtractParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersJsonExtractParametersArgs
{
DestinationField = "string",
},
JsonParseParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersJsonParseParametersArgs
{
DestinationField = "string",
OverrideDest = false,
DeleteSource = false,
},
JsonStringifyParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersJsonStringifyParametersArgs
{
DestinationField = "string",
DeleteSource = false,
},
ParseParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersParseParametersArgs
{
DestinationField = "string",
Rule = "string",
},
RemoveFieldsParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersRemoveFieldsParametersArgs
{
Fields = new[]
{
"string",
},
},
ReplaceParameters = new Ibm.Inputs.LogsRuleGroupRuleSubgroupRuleParametersReplaceParametersArgs
{
DestinationField = "string",
ReplaceNewVal = "string",
Rule = "string",
},
},
SourceField = "string",
Description = "string",
Id = "string",
},
},
Enabled = false,
Id = "string",
},
},
Description = "string",
Enabled = false,
EndpointType = "string",
LogsRuleGroupId = "string",
Name = "string",
Order = 0,
Region = "string",
RuleMatchers = new[]
{
new Ibm.Inputs.LogsRuleGroupRuleMatcherArgs
{
ApplicationName = new Ibm.Inputs.LogsRuleGroupRuleMatcherApplicationNameArgs
{
Value = "string",
},
Severity = new Ibm.Inputs.LogsRuleGroupRuleMatcherSeverityArgs
{
Value = "string",
},
SubsystemName = new Ibm.Inputs.LogsRuleGroupRuleMatcherSubsystemNameArgs
{
Value = "string",
},
},
},
});
example, err := ibm.NewLogsRuleGroup(ctx, "logsRuleGroupResource", &ibm.LogsRuleGroupArgs{
InstanceId: pulumi.String("string"),
RuleSubgroups: ibm.LogsRuleGroupRuleSubgroupArray{
&ibm.LogsRuleGroupRuleSubgroupArgs{
Order: pulumi.Float64(0),
Rules: ibm.LogsRuleGroupRuleSubgroupRuleArray{
&ibm.LogsRuleGroupRuleSubgroupRuleArgs{
Enabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Order: pulumi.Float64(0),
Parameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersArgs{
AllowParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersAllowParametersArgs{
KeepBlockedLogs: pulumi.Bool(false),
Rule: pulumi.String("string"),
},
BlockParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersBlockParametersArgs{
KeepBlockedLogs: pulumi.Bool(false),
Rule: pulumi.String("string"),
},
ExtractParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersExtractParametersArgs{
Rule: pulumi.String("string"),
},
ExtractTimestampParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersExtractTimestampParametersArgs{
Format: pulumi.String("string"),
Standard: pulumi.String("string"),
},
JsonExtractParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersJsonExtractParametersArgs{
DestinationField: pulumi.String("string"),
},
JsonParseParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersJsonParseParametersArgs{
DestinationField: pulumi.String("string"),
OverrideDest: pulumi.Bool(false),
DeleteSource: pulumi.Bool(false),
},
JsonStringifyParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersJsonStringifyParametersArgs{
DestinationField: pulumi.String("string"),
DeleteSource: pulumi.Bool(false),
},
ParseParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersParseParametersArgs{
DestinationField: pulumi.String("string"),
Rule: pulumi.String("string"),
},
RemoveFieldsParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersRemoveFieldsParametersArgs{
Fields: pulumi.StringArray{
pulumi.String("string"),
},
},
ReplaceParameters: &ibm.LogsRuleGroupRuleSubgroupRuleParametersReplaceParametersArgs{
DestinationField: pulumi.String("string"),
ReplaceNewVal: pulumi.String("string"),
Rule: pulumi.String("string"),
},
},
SourceField: pulumi.String("string"),
Description: pulumi.String("string"),
Id: pulumi.String("string"),
},
},
Enabled: pulumi.Bool(false),
Id: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Enabled: pulumi.Bool(false),
EndpointType: pulumi.String("string"),
LogsRuleGroupId: pulumi.String("string"),
Name: pulumi.String("string"),
Order: pulumi.Float64(0),
Region: pulumi.String("string"),
RuleMatchers: ibm.LogsRuleGroupRuleMatcherArray{
&ibm.LogsRuleGroupRuleMatcherArgs{
ApplicationName: &ibm.LogsRuleGroupRuleMatcherApplicationNameArgs{
Value: pulumi.String("string"),
},
Severity: &ibm.LogsRuleGroupRuleMatcherSeverityArgs{
Value: pulumi.String("string"),
},
SubsystemName: &ibm.LogsRuleGroupRuleMatcherSubsystemNameArgs{
Value: pulumi.String("string"),
},
},
},
})
var logsRuleGroupResource = new LogsRuleGroup("logsRuleGroupResource", LogsRuleGroupArgs.builder()
.instanceId("string")
.ruleSubgroups(LogsRuleGroupRuleSubgroupArgs.builder()
.order(0)
.rules(LogsRuleGroupRuleSubgroupRuleArgs.builder()
.enabled(false)
.name("string")
.order(0)
.parameters(LogsRuleGroupRuleSubgroupRuleParametersArgs.builder()
.allowParameters(LogsRuleGroupRuleSubgroupRuleParametersAllowParametersArgs.builder()
.keepBlockedLogs(false)
.rule("string")
.build())
.blockParameters(LogsRuleGroupRuleSubgroupRuleParametersBlockParametersArgs.builder()
.keepBlockedLogs(false)
.rule("string")
.build())
.extractParameters(LogsRuleGroupRuleSubgroupRuleParametersExtractParametersArgs.builder()
.rule("string")
.build())
.extractTimestampParameters(LogsRuleGroupRuleSubgroupRuleParametersExtractTimestampParametersArgs.builder()
.format("string")
.standard("string")
.build())
.jsonExtractParameters(LogsRuleGroupRuleSubgroupRuleParametersJsonExtractParametersArgs.builder()
.destinationField("string")
.build())
.jsonParseParameters(LogsRuleGroupRuleSubgroupRuleParametersJsonParseParametersArgs.builder()
.destinationField("string")
.overrideDest(false)
.deleteSource(false)
.build())
.jsonStringifyParameters(LogsRuleGroupRuleSubgroupRuleParametersJsonStringifyParametersArgs.builder()
.destinationField("string")
.deleteSource(false)
.build())
.parseParameters(LogsRuleGroupRuleSubgroupRuleParametersParseParametersArgs.builder()
.destinationField("string")
.rule("string")
.build())
.removeFieldsParameters(LogsRuleGroupRuleSubgroupRuleParametersRemoveFieldsParametersArgs.builder()
.fields("string")
.build())
.replaceParameters(LogsRuleGroupRuleSubgroupRuleParametersReplaceParametersArgs.builder()
.destinationField("string")
.replaceNewVal("string")
.rule("string")
.build())
.build())
.sourceField("string")
.description("string")
.id("string")
.build())
.enabled(false)
.id("string")
.build())
.description("string")
.enabled(false)
.endpointType("string")
.logsRuleGroupId("string")
.name("string")
.order(0)
.region("string")
.ruleMatchers(LogsRuleGroupRuleMatcherArgs.builder()
.applicationName(LogsRuleGroupRuleMatcherApplicationNameArgs.builder()
.value("string")
.build())
.severity(LogsRuleGroupRuleMatcherSeverityArgs.builder()
.value("string")
.build())
.subsystemName(LogsRuleGroupRuleMatcherSubsystemNameArgs.builder()
.value("string")
.build())
.build())
.build());
logs_rule_group_resource = ibm.LogsRuleGroup("logsRuleGroupResource",
instance_id="string",
rule_subgroups=[{
"order": 0,
"rules": [{
"enabled": False,
"name": "string",
"order": 0,
"parameters": {
"allow_parameters": {
"keep_blocked_logs": False,
"rule": "string",
},
"block_parameters": {
"keep_blocked_logs": False,
"rule": "string",
},
"extract_parameters": {
"rule": "string",
},
"extract_timestamp_parameters": {
"format": "string",
"standard": "string",
},
"json_extract_parameters": {
"destination_field": "string",
},
"json_parse_parameters": {
"destination_field": "string",
"override_dest": False,
"delete_source": False,
},
"json_stringify_parameters": {
"destination_field": "string",
"delete_source": False,
},
"parse_parameters": {
"destination_field": "string",
"rule": "string",
},
"remove_fields_parameters": {
"fields": ["string"],
},
"replace_parameters": {
"destination_field": "string",
"replace_new_val": "string",
"rule": "string",
},
},
"source_field": "string",
"description": "string",
"id": "string",
}],
"enabled": False,
"id": "string",
}],
description="string",
enabled=False,
endpoint_type="string",
logs_rule_group_id="string",
name="string",
order=0,
region="string",
rule_matchers=[{
"application_name": {
"value": "string",
},
"severity": {
"value": "string",
},
"subsystem_name": {
"value": "string",
},
}])
const logsRuleGroupResource = new ibm.LogsRuleGroup("logsRuleGroupResource", {
instanceId: "string",
ruleSubgroups: [{
order: 0,
rules: [{
enabled: false,
name: "string",
order: 0,
parameters: {
allowParameters: {
keepBlockedLogs: false,
rule: "string",
},
blockParameters: {
keepBlockedLogs: false,
rule: "string",
},
extractParameters: {
rule: "string",
},
extractTimestampParameters: {
format: "string",
standard: "string",
},
jsonExtractParameters: {
destinationField: "string",
},
jsonParseParameters: {
destinationField: "string",
overrideDest: false,
deleteSource: false,
},
jsonStringifyParameters: {
destinationField: "string",
deleteSource: false,
},
parseParameters: {
destinationField: "string",
rule: "string",
},
removeFieldsParameters: {
fields: ["string"],
},
replaceParameters: {
destinationField: "string",
replaceNewVal: "string",
rule: "string",
},
},
sourceField: "string",
description: "string",
id: "string",
}],
enabled: false,
id: "string",
}],
description: "string",
enabled: false,
endpointType: "string",
logsRuleGroupId: "string",
name: "string",
order: 0,
region: "string",
ruleMatchers: [{
applicationName: {
value: "string",
},
severity: {
value: "string",
},
subsystemName: {
value: "string",
},
}],
});
type: ibm:LogsRuleGroup
properties:
description: string
enabled: false
endpointType: string
instanceId: string
logsRuleGroupId: string
name: string
order: 0
region: string
ruleMatchers:
- applicationName:
value: string
severity:
value: string
subsystemName:
value: string
ruleSubgroups:
- enabled: false
id: string
order: 0
rules:
- description: string
enabled: false
id: string
name: string
order: 0
parameters:
allowParameters:
keepBlockedLogs: false
rule: string
blockParameters:
keepBlockedLogs: false
rule: string
extractParameters:
rule: string
extractTimestampParameters:
format: string
standard: string
jsonExtractParameters:
destinationField: string
jsonParseParameters:
deleteSource: false
destinationField: string
overrideDest: false
jsonStringifyParameters:
deleteSource: false
destinationField: string
parseParameters:
destinationField: string
rule: string
removeFieldsParameters:
fields:
- string
replaceParameters:
destinationField: string
replaceNewVal: string
rule: string
sourceField: string
LogsRuleGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LogsRuleGroup resource accepts the following input properties:
- Instance
Id string - Cloud Logs Instance GUID.
- Rule
Subgroups List<LogsRule Group Rule Subgroup> - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- Description string
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Enabled bool
- Whether or not the rule is enabled.
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Logs
Rule stringGroup Id - The unique identifier of the logs_rule_group resource.
- Name string
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Order double
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- Region string
- Cloud Logs Instance Region.
- Rule
Matchers List<LogsRule Group Rule Matcher> - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- Instance
Id string - Cloud Logs Instance GUID.
- Rule
Subgroups []LogsRule Group Rule Subgroup Args - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- Description string
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Enabled bool
- Whether or not the rule is enabled.
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Logs
Rule stringGroup Id - The unique identifier of the logs_rule_group resource.
- Name string
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Order float64
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- Region string
- Cloud Logs Instance Region.
- Rule
Matchers []LogsRule Group Rule Matcher Args - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- instance
Id String - Cloud Logs Instance GUID.
- rule
Subgroups List<LogsRule Group Rule Subgroup> - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- description String
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- enabled Boolean
- Whether or not the rule is enabled.
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- logs
Rule StringGroup Id - The unique identifier of the logs_rule_group resource.
- name String
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order Double
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- region String
- Cloud Logs Instance Region.
- rule
Matchers List<LogsRule Group Rule Matcher> - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- instance
Id string - Cloud Logs Instance GUID.
- rule
Subgroups LogsRule Group Rule Subgroup[] - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- description string
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- enabled boolean
- Whether or not the rule is enabled.
- endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- logs
Rule stringGroup Id - The unique identifier of the logs_rule_group resource.
- name string
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order number
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- region string
- Cloud Logs Instance Region.
- rule
Matchers LogsRule Group Rule Matcher[] - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- instance_
id str - Cloud Logs Instance GUID.
- rule_
subgroups Sequence[LogsRule Group Rule Subgroup Args] - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- description str
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- enabled bool
- Whether or not the rule is enabled.
- endpoint_
type str - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- logs_
rule_ strgroup_ id - The unique identifier of the logs_rule_group resource.
- name str
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order float
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- region str
- Cloud Logs Instance Region.
- rule_
matchers Sequence[LogsRule Group Rule Matcher Args] - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- instance
Id String - Cloud Logs Instance GUID.
- rule
Subgroups List<Property Map> - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- description String
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- enabled Boolean
- Whether or not the rule is enabled.
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- logs
Rule StringGroup Id - The unique identifier of the logs_rule_group resource.
- name String
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order Number
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- region String
- Cloud Logs Instance Region.
- rule
Matchers List<Property Map> - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the LogsRuleGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Group stringId - The unique identifier of the logs_rule_group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Group stringId - The unique identifier of the logs_rule_group.
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Group StringId - The unique identifier of the logs_rule_group.
- id string
- The provider-assigned unique ID for this managed resource.
- rule
Group stringId - The unique identifier of the logs_rule_group.
- id str
- The provider-assigned unique ID for this managed resource.
- rule_
group_ strid - The unique identifier of the logs_rule_group.
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Group StringId - The unique identifier of the logs_rule_group.
Look up Existing LogsRuleGroup Resource
Get an existing LogsRuleGroup 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?: LogsRuleGroupState, opts?: CustomResourceOptions): LogsRuleGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
endpoint_type: Optional[str] = None,
instance_id: Optional[str] = None,
logs_rule_group_id: Optional[str] = None,
name: Optional[str] = None,
order: Optional[float] = None,
region: Optional[str] = None,
rule_group_id: Optional[str] = None,
rule_matchers: Optional[Sequence[LogsRuleGroupRuleMatcherArgs]] = None,
rule_subgroups: Optional[Sequence[LogsRuleGroupRuleSubgroupArgs]] = None) -> LogsRuleGroup
func GetLogsRuleGroup(ctx *Context, name string, id IDInput, state *LogsRuleGroupState, opts ...ResourceOption) (*LogsRuleGroup, error)
public static LogsRuleGroup Get(string name, Input<string> id, LogsRuleGroupState? state, CustomResourceOptions? opts = null)
public static LogsRuleGroup get(String name, Output<String> id, LogsRuleGroupState state, CustomResourceOptions options)
resources: _: type: ibm:LogsRuleGroup get: id: ${id}
- 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.
- Description string
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Enabled bool
- Whether or not the rule is enabled.
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Instance
Id string - Cloud Logs Instance GUID.
- Logs
Rule stringGroup Id - The unique identifier of the logs_rule_group resource.
- Name string
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Order double
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- Region string
- Cloud Logs Instance Region.
- Rule
Group stringId - The unique identifier of the logs_rule_group.
- Rule
Matchers List<LogsRule Group Rule Matcher> - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- Rule
Subgroups List<LogsRule Group Rule Subgroup> - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- Description string
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Enabled bool
- Whether or not the rule is enabled.
- Endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Instance
Id string - Cloud Logs Instance GUID.
- Logs
Rule stringGroup Id - The unique identifier of the logs_rule_group resource.
- Name string
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Order float64
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- Region string
- Cloud Logs Instance Region.
- Rule
Group stringId - The unique identifier of the logs_rule_group.
- Rule
Matchers []LogsRule Group Rule Matcher Args - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- Rule
Subgroups []LogsRule Group Rule Subgroup Args - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- description String
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- enabled Boolean
- Whether or not the rule is enabled.
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- instance
Id String - Cloud Logs Instance GUID.
- logs
Rule StringGroup Id - The unique identifier of the logs_rule_group resource.
- name String
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order Double
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- region String
- Cloud Logs Instance Region.
- rule
Group StringId - The unique identifier of the logs_rule_group.
- rule
Matchers List<LogsRule Group Rule Matcher> - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- rule
Subgroups List<LogsRule Group Rule Subgroup> - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- description string
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- enabled boolean
- Whether or not the rule is enabled.
- endpoint
Type string - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- instance
Id string - Cloud Logs Instance GUID.
- logs
Rule stringGroup Id - The unique identifier of the logs_rule_group resource.
- name string
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order number
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- region string
- Cloud Logs Instance Region.
- rule
Group stringId - The unique identifier of the logs_rule_group.
- rule
Matchers LogsRule Group Rule Matcher[] - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- rule
Subgroups LogsRule Group Rule Subgroup[] - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- description str
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- enabled bool
- Whether or not the rule is enabled.
- endpoint_
type str - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- instance_
id str - Cloud Logs Instance GUID.
- logs_
rule_ strgroup_ id - The unique identifier of the logs_rule_group resource.
- name str
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order float
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- region str
- Cloud Logs Instance Region.
- rule_
group_ strid - The unique identifier of the logs_rule_group.
- rule_
matchers Sequence[LogsRule Group Rule Matcher Args] - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- rule_
subgroups Sequence[LogsRule Group Rule Subgroup Args] - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
- description String
- A description for the rule group, should express what is the rule group purpose.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- enabled Boolean
- Whether or not the rule is enabled.
- endpoint
Type String - Cloud Logs Instance Endpoint type. Allowed values
public
andprivate
.- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- instance
Id String - Cloud Logs Instance GUID.
- logs
Rule StringGroup Id - The unique identifier of the logs_rule_group resource.
- name String
- The name of the rule group.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order Number
- // The order in which the rule group will be evaluated. The lower the order, the more priority the group will have. Not providing the order will by default create a group with the last order.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- region String
- Cloud Logs Instance Region.
- rule
Group StringId - The unique identifier of the logs_rule_group.
- rule
Matchers List<Property Map> - // Optional rule matchers which if matched will make the rule go through the rule group.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for rule_matchers:
- Constraints: The maximum length is
- rule
Subgroups List<Property Map> - Rule subgroups. Will try to execute the first rule subgroup, and if not matched will try to match the next one in order.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rule_subgroups:
- Constraints: The maximum length is
Supporting Types
LogsRuleGroupRuleMatcher, LogsRuleGroupRuleMatcherArgs
- Application
Name LogsRule Group Rule Matcher Application Name - ApplicationName constraint. Nested schema for application_name:
- Severity
Logs
Rule Group Rule Matcher Severity - Severity constraint. Nested schema for severity:
- Subsystem
Name LogsRule Group Rule Matcher Subsystem Name - SubsystemName constraint. Nested schema for subsystem_name:
- Application
Name LogsRule Group Rule Matcher Application Name - ApplicationName constraint. Nested schema for application_name:
- Severity
Logs
Rule Group Rule Matcher Severity - Severity constraint. Nested schema for severity:
- Subsystem
Name LogsRule Group Rule Matcher Subsystem Name - SubsystemName constraint. Nested schema for subsystem_name:
- application
Name LogsRule Group Rule Matcher Application Name - ApplicationName constraint. Nested schema for application_name:
- severity
Logs
Rule Group Rule Matcher Severity - Severity constraint. Nested schema for severity:
- subsystem
Name LogsRule Group Rule Matcher Subsystem Name - SubsystemName constraint. Nested schema for subsystem_name:
- application
Name LogsRule Group Rule Matcher Application Name - ApplicationName constraint. Nested schema for application_name:
- severity
Logs
Rule Group Rule Matcher Severity - Severity constraint. Nested schema for severity:
- subsystem
Name LogsRule Group Rule Matcher Subsystem Name - SubsystemName constraint. Nested schema for subsystem_name:
- application_
name LogsRule Group Rule Matcher Application Name - ApplicationName constraint. Nested schema for application_name:
- severity
Logs
Rule Group Rule Matcher Severity - Severity constraint. Nested schema for severity:
- subsystem_
name LogsRule Group Rule Matcher Subsystem Name - SubsystemName constraint. Nested schema for subsystem_name:
- application
Name Property Map - ApplicationName constraint. Nested schema for application_name:
- severity Property Map
- Severity constraint. Nested schema for severity:
- subsystem
Name Property Map - SubsystemName constraint. Nested schema for subsystem_name:
LogsRuleGroupRuleMatcherApplicationName, LogsRuleGroupRuleMatcherApplicationNameArgs
- Value string
- Only logs with this ApplicationName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Value string
- Only logs with this ApplicationName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- value String
- Only logs with this ApplicationName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- value string
- Only logs with this ApplicationName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- value str
- Only logs with this ApplicationName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- value String
- Only logs with this ApplicationName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
LogsRuleGroupRuleMatcherSeverity, LogsRuleGroupRuleMatcherSeverityArgs
- Value string
- Only logs with this severity value will match.
- Constraints: Allowable values are:
debug_or_unspecified
,verbose
,info
,warning
,error
,critical
.
- Constraints: Allowable values are:
- Value string
- Only logs with this severity value will match.
- Constraints: Allowable values are:
debug_or_unspecified
,verbose
,info
,warning
,error
,critical
.
- Constraints: Allowable values are:
- value String
- Only logs with this severity value will match.
- Constraints: Allowable values are:
debug_or_unspecified
,verbose
,info
,warning
,error
,critical
.
- Constraints: Allowable values are:
- value string
- Only logs with this severity value will match.
- Constraints: Allowable values are:
debug_or_unspecified
,verbose
,info
,warning
,error
,critical
.
- Constraints: Allowable values are:
- value str
- Only logs with this severity value will match.
- Constraints: Allowable values are:
debug_or_unspecified
,verbose
,info
,warning
,error
,critical
.
- Constraints: Allowable values are:
- value String
- Only logs with this severity value will match.
- Constraints: Allowable values are:
debug_or_unspecified
,verbose
,info
,warning
,error
,critical
.
- Constraints: Allowable values are:
LogsRuleGroupRuleMatcherSubsystemName, LogsRuleGroupRuleMatcherSubsystemNameArgs
- Value string
- Only logs with this SubsystemName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Value string
- Only logs with this SubsystemName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- value String
- Only logs with this SubsystemName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- value string
- Only logs with this SubsystemName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- value str
- Only logs with this SubsystemName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- value String
- Only logs with this SubsystemName value will match.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
LogsRuleGroupRuleSubgroup, LogsRuleGroupRuleSubgroupArgs
- Order double
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- Rules
List<Logs
Rule Group Rule Subgroup Rule> - Rules to run on the log.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rules:
- Constraints: The maximum length is
- Enabled bool
- Whether or not the rule subgroup is enabled.
- Id string
- The ID of the rule subgroup.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- Order float64
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- Rules
[]Logs
Rule Group Rule Subgroup Rule - Rules to run on the log.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rules:
- Constraints: The maximum length is
- Enabled bool
- Whether or not the rule subgroup is enabled.
- Id string
- The ID of the rule subgroup.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- order Double
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- rules
List<Logs
Rule Group Rule Subgroup Rule> - Rules to run on the log.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rules:
- Constraints: The maximum length is
- enabled Boolean
- Whether or not the rule subgroup is enabled.
- id String
- The ID of the rule subgroup.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- order number
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- rules
Logs
Rule Group Rule Subgroup Rule[] - Rules to run on the log.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rules:
- Constraints: The maximum length is
- enabled boolean
- Whether or not the rule subgroup is enabled.
- id string
- The ID of the rule subgroup.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- order float
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- rules
Sequence[Logs
Rule Group Rule Subgroup Rule] - Rules to run on the log.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rules:
- Constraints: The maximum length is
- enabled bool
- Whether or not the rule subgroup is enabled.
- id str
- The ID of the rule subgroup.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- order Number
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- rules List<Property Map>
- Rules to run on the log.
- Constraints: The maximum length is
4096
items. The minimum length is1
item. Nested schema for rules:
- Constraints: The maximum length is
- enabled Boolean
- Whether or not the rule subgroup is enabled.
- id String
- The ID of the rule subgroup.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
LogsRuleGroupRuleSubgroupRule, LogsRuleGroupRuleSubgroupRuleArgs
- Enabled bool
- Whether or not to execute the rule.
- Name string
- Name of the rule.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Order double
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- Parameters
Logs
Rule Group Rule Subgroup Rule Parameters - Parameters for a rule which specifies how it should run. Nested schema for parameters:
- Source
Field string - A field on which value to execute the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Description string
- Description of the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- Id string
- Unique identifier of the rule.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- Enabled bool
- Whether or not to execute the rule.
- Name string
- Name of the rule.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Order float64
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- Parameters
Logs
Rule Group Rule Subgroup Rule Parameters - Parameters for a rule which specifies how it should run. Nested schema for parameters:
- Source
Field string - A field on which value to execute the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Description string
- Description of the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- Id string
- Unique identifier of the rule.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- enabled Boolean
- Whether or not to execute the rule.
- name String
- Name of the rule.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order Double
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- parameters
Logs
Rule Group Rule Subgroup Rule Parameters - Parameters for a rule which specifies how it should run. Nested schema for parameters:
- source
Field String - A field on which value to execute the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- description String
- Description of the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- id String
- Unique identifier of the rule.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- enabled boolean
- Whether or not to execute the rule.
- name string
- Name of the rule.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order number
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- parameters
Logs
Rule Group Rule Subgroup Rule Parameters - Parameters for a rule which specifies how it should run. Nested schema for parameters:
- source
Field string - A field on which value to execute the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- description string
- Description of the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- id string
- Unique identifier of the rule.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- enabled bool
- Whether or not to execute the rule.
- name str
- Name of the rule.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order float
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- parameters
Logs
Rule Group Rule Subgroup Rule Parameters - Parameters for a rule which specifies how it should run. Nested schema for parameters:
- source_
field str - A field on which value to execute the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- description str
- Description of the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- id str
- Unique identifier of the rule.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
- enabled Boolean
- Whether or not to execute the rule.
- name String
- Name of the rule.
- Constraints: The maximum length is
255
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- order Number
- The ordering of the rule subgroup. Lower order will run first. 0 is considered as no value.
- Constraints: The maximum value is
4294967295
. The minimum value is0
.
- Constraints: The maximum value is
- parameters Property Map
- Parameters for a rule which specifies how it should run. Nested schema for parameters:
- source
Field String - A field on which value to execute the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- description String
- Description of the rule.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^[A-Za-z0-9_\\-\\s]+$/
.
- Constraints: The maximum length is
- id String
- Unique identifier of the rule.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
.
- Constraints: The maximum length is
LogsRuleGroupRuleSubgroupRuleParameters, LogsRuleGroupRuleSubgroupRuleParametersArgs
- Allow
Parameters LogsRule Group Rule Subgroup Rule Parameters Allow Parameters - Parameters for allow rule. Nested schema for allow_parameters:
- Block
Parameters LogsRule Group Rule Subgroup Rule Parameters Block Parameters - Parameters for block rule. Nested schema for block_parameters:
- Extract
Parameters LogsRule Group Rule Subgroup Rule Parameters Extract Parameters - Parameters for text extraction rule. Nested schema for extract_parameters:
- Extract
Timestamp LogsParameters Rule Group Rule Subgroup Rule Parameters Extract Timestamp Parameters - Parameters for extract timestamp rule. Nested schema for extract_timestamp_parameters:
- Json
Extract LogsParameters Rule Group Rule Subgroup Rule Parameters Json Extract Parameters - Parameters for json extract rule. Nested schema for json_extract_parameters:
- Json
Parse LogsParameters Rule Group Rule Subgroup Rule Parameters Json Parse Parameters - Parameters for json parse rule. Nested schema for json_parse_parameters:
- Json
Stringify LogsParameters Rule Group Rule Subgroup Rule Parameters Json Stringify Parameters - Parameters for json stringify rule. Nested schema for json_stringify_parameters:
- Parse
Parameters LogsRule Group Rule Subgroup Rule Parameters Parse Parameters - Parameters for parse rule. Nested schema for parse_parameters:
- Remove
Fields LogsParameters Rule Group Rule Subgroup Rule Parameters Remove Fields Parameters - Parameters for remove fields rule. Nested schema for remove_fields_parameters:
- Replace
Parameters LogsRule Group Rule Subgroup Rule Parameters Replace Parameters - Parameters for replace rule. Nested schema for replace_parameters:
- Allow
Parameters LogsRule Group Rule Subgroup Rule Parameters Allow Parameters - Parameters for allow rule. Nested schema for allow_parameters:
- Block
Parameters LogsRule Group Rule Subgroup Rule Parameters Block Parameters - Parameters for block rule. Nested schema for block_parameters:
- Extract
Parameters LogsRule Group Rule Subgroup Rule Parameters Extract Parameters - Parameters for text extraction rule. Nested schema for extract_parameters:
- Extract
Timestamp LogsParameters Rule Group Rule Subgroup Rule Parameters Extract Timestamp Parameters - Parameters for extract timestamp rule. Nested schema for extract_timestamp_parameters:
- Json
Extract LogsParameters Rule Group Rule Subgroup Rule Parameters Json Extract Parameters - Parameters for json extract rule. Nested schema for json_extract_parameters:
- Json
Parse LogsParameters Rule Group Rule Subgroup Rule Parameters Json Parse Parameters - Parameters for json parse rule. Nested schema for json_parse_parameters:
- Json
Stringify LogsParameters Rule Group Rule Subgroup Rule Parameters Json Stringify Parameters - Parameters for json stringify rule. Nested schema for json_stringify_parameters:
- Parse
Parameters LogsRule Group Rule Subgroup Rule Parameters Parse Parameters - Parameters for parse rule. Nested schema for parse_parameters:
- Remove
Fields LogsParameters Rule Group Rule Subgroup Rule Parameters Remove Fields Parameters - Parameters for remove fields rule. Nested schema for remove_fields_parameters:
- Replace
Parameters LogsRule Group Rule Subgroup Rule Parameters Replace Parameters - Parameters for replace rule. Nested schema for replace_parameters:
- allow
Parameters LogsRule Group Rule Subgroup Rule Parameters Allow Parameters - Parameters for allow rule. Nested schema for allow_parameters:
- block
Parameters LogsRule Group Rule Subgroup Rule Parameters Block Parameters - Parameters for block rule. Nested schema for block_parameters:
- extract
Parameters LogsRule Group Rule Subgroup Rule Parameters Extract Parameters - Parameters for text extraction rule. Nested schema for extract_parameters:
- extract
Timestamp LogsParameters Rule Group Rule Subgroup Rule Parameters Extract Timestamp Parameters - Parameters for extract timestamp rule. Nested schema for extract_timestamp_parameters:
- json
Extract LogsParameters Rule Group Rule Subgroup Rule Parameters Json Extract Parameters - Parameters for json extract rule. Nested schema for json_extract_parameters:
- json
Parse LogsParameters Rule Group Rule Subgroup Rule Parameters Json Parse Parameters - Parameters for json parse rule. Nested schema for json_parse_parameters:
- json
Stringify LogsParameters Rule Group Rule Subgroup Rule Parameters Json Stringify Parameters - Parameters for json stringify rule. Nested schema for json_stringify_parameters:
- parse
Parameters LogsRule Group Rule Subgroup Rule Parameters Parse Parameters - Parameters for parse rule. Nested schema for parse_parameters:
- remove
Fields LogsParameters Rule Group Rule Subgroup Rule Parameters Remove Fields Parameters - Parameters for remove fields rule. Nested schema for remove_fields_parameters:
- replace
Parameters LogsRule Group Rule Subgroup Rule Parameters Replace Parameters - Parameters for replace rule. Nested schema for replace_parameters:
- allow
Parameters LogsRule Group Rule Subgroup Rule Parameters Allow Parameters - Parameters for allow rule. Nested schema for allow_parameters:
- block
Parameters LogsRule Group Rule Subgroup Rule Parameters Block Parameters - Parameters for block rule. Nested schema for block_parameters:
- extract
Parameters LogsRule Group Rule Subgroup Rule Parameters Extract Parameters - Parameters for text extraction rule. Nested schema for extract_parameters:
- extract
Timestamp LogsParameters Rule Group Rule Subgroup Rule Parameters Extract Timestamp Parameters - Parameters for extract timestamp rule. Nested schema for extract_timestamp_parameters:
- json
Extract LogsParameters Rule Group Rule Subgroup Rule Parameters Json Extract Parameters - Parameters for json extract rule. Nested schema for json_extract_parameters:
- json
Parse LogsParameters Rule Group Rule Subgroup Rule Parameters Json Parse Parameters - Parameters for json parse rule. Nested schema for json_parse_parameters:
- json
Stringify LogsParameters Rule Group Rule Subgroup Rule Parameters Json Stringify Parameters - Parameters for json stringify rule. Nested schema for json_stringify_parameters:
- parse
Parameters LogsRule Group Rule Subgroup Rule Parameters Parse Parameters - Parameters for parse rule. Nested schema for parse_parameters:
- remove
Fields LogsParameters Rule Group Rule Subgroup Rule Parameters Remove Fields Parameters - Parameters for remove fields rule. Nested schema for remove_fields_parameters:
- replace
Parameters LogsRule Group Rule Subgroup Rule Parameters Replace Parameters - Parameters for replace rule. Nested schema for replace_parameters:
- allow_
parameters LogsRule Group Rule Subgroup Rule Parameters Allow Parameters - Parameters for allow rule. Nested schema for allow_parameters:
- block_
parameters LogsRule Group Rule Subgroup Rule Parameters Block Parameters - Parameters for block rule. Nested schema for block_parameters:
- extract_
parameters LogsRule Group Rule Subgroup Rule Parameters Extract Parameters - Parameters for text extraction rule. Nested schema for extract_parameters:
- extract_
timestamp_ Logsparameters Rule Group Rule Subgroup Rule Parameters Extract Timestamp Parameters - Parameters for extract timestamp rule. Nested schema for extract_timestamp_parameters:
- json_
extract_ Logsparameters Rule Group Rule Subgroup Rule Parameters Json Extract Parameters - Parameters for json extract rule. Nested schema for json_extract_parameters:
- json_
parse_ Logsparameters Rule Group Rule Subgroup Rule Parameters Json Parse Parameters - Parameters for json parse rule. Nested schema for json_parse_parameters:
- json_
stringify_ Logsparameters Rule Group Rule Subgroup Rule Parameters Json Stringify Parameters - Parameters for json stringify rule. Nested schema for json_stringify_parameters:
- parse_
parameters LogsRule Group Rule Subgroup Rule Parameters Parse Parameters - Parameters for parse rule. Nested schema for parse_parameters:
- remove_
fields_ Logsparameters Rule Group Rule Subgroup Rule Parameters Remove Fields Parameters - Parameters for remove fields rule. Nested schema for remove_fields_parameters:
- replace_
parameters LogsRule Group Rule Subgroup Rule Parameters Replace Parameters - Parameters for replace rule. Nested schema for replace_parameters:
- allow
Parameters Property Map - Parameters for allow rule. Nested schema for allow_parameters:
- block
Parameters Property Map - Parameters for block rule. Nested schema for block_parameters:
- extract
Parameters Property Map - Parameters for text extraction rule. Nested schema for extract_parameters:
- extract
Timestamp Property MapParameters - Parameters for extract timestamp rule. Nested schema for extract_timestamp_parameters:
- json
Extract Property MapParameters - Parameters for json extract rule. Nested schema for json_extract_parameters:
- json
Parse Property MapParameters - Parameters for json parse rule. Nested schema for json_parse_parameters:
- json
Stringify Property MapParameters - Parameters for json stringify rule. Nested schema for json_stringify_parameters:
- parse
Parameters Property Map - Parameters for parse rule. Nested schema for parse_parameters:
- remove
Fields Property MapParameters - Parameters for remove fields rule. Nested schema for remove_fields_parameters:
- replace
Parameters Property Map - Parameters for replace rule. Nested schema for replace_parameters:
LogsRuleGroupRuleSubgroupRuleParametersAllowParameters, LogsRuleGroupRuleSubgroupRuleParametersAllowParametersArgs
- Keep
Blocked boolLogs - If true matched logs will be blocked, otherwise matched logs will be kept.
- Rule string
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Keep
Blocked boolLogs - If true matched logs will be blocked, otherwise matched logs will be kept.
- Rule string
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- keep
Blocked BooleanLogs - If true matched logs will be blocked, otherwise matched logs will be kept.
- rule String
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- keep
Blocked booleanLogs - If true matched logs will be blocked, otherwise matched logs will be kept.
- rule string
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- keep_
blocked_ boollogs - If true matched logs will be blocked, otherwise matched logs will be kept.
- rule str
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- keep
Blocked BooleanLogs - If true matched logs will be blocked, otherwise matched logs will be kept.
- rule String
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
LogsRuleGroupRuleSubgroupRuleParametersBlockParameters, LogsRuleGroupRuleSubgroupRuleParametersBlockParametersArgs
- Keep
Blocked boolLogs - If true matched logs will be kept, otherwise matched logs will be blocked.
- Rule string
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Keep
Blocked boolLogs - If true matched logs will be kept, otherwise matched logs will be blocked.
- Rule string
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- keep
Blocked BooleanLogs - If true matched logs will be kept, otherwise matched logs will be blocked.
- rule String
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- keep
Blocked booleanLogs - If true matched logs will be kept, otherwise matched logs will be blocked.
- rule string
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- keep_
blocked_ boollogs - If true matched logs will be kept, otherwise matched logs will be blocked.
- rule str
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- keep
Blocked BooleanLogs - If true matched logs will be kept, otherwise matched logs will be blocked.
- rule String
- Regex which will match the source field and decide if the rule will apply.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
LogsRuleGroupRuleSubgroupRuleParametersExtractParameters, LogsRuleGroupRuleSubgroupRuleParametersExtractParametersArgs
- Rule string
- Regex which will parse the source field and extract the json keys from it while retaining the original log.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Rule string
- Regex which will parse the source field and extract the json keys from it while retaining the original log.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- rule String
- Regex which will parse the source field and extract the json keys from it while retaining the original log.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- rule string
- Regex which will parse the source field and extract the json keys from it while retaining the original log.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- rule str
- Regex which will parse the source field and extract the json keys from it while retaining the original log.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- rule String
- Regex which will parse the source field and extract the json keys from it while retaining the original log.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
LogsRuleGroupRuleSubgroupRuleParametersExtractTimestampParameters, LogsRuleGroupRuleSubgroupRuleParametersExtractTimestampParametersArgs
- Format string
- What time format the the source field to extract from has.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Standard string
- What time format to use on the extracted time.
- Constraints: Allowable values are:
strftime_or_unspecified
,javasdf
,golang
,secondsts
,millits
,microts
,nanots
.
- Constraints: Allowable values are:
- Format string
- What time format the the source field to extract from has.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Standard string
- What time format to use on the extracted time.
- Constraints: Allowable values are:
strftime_or_unspecified
,javasdf
,golang
,secondsts
,millits
,microts
,nanots
.
- Constraints: Allowable values are:
- format String
- What time format the the source field to extract from has.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- standard String
- What time format to use on the extracted time.
- Constraints: Allowable values are:
strftime_or_unspecified
,javasdf
,golang
,secondsts
,millits
,microts
,nanots
.
- Constraints: Allowable values are:
- format string
- What time format the the source field to extract from has.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- standard string
- What time format to use on the extracted time.
- Constraints: Allowable values are:
strftime_or_unspecified
,javasdf
,golang
,secondsts
,millits
,microts
,nanots
.
- Constraints: Allowable values are:
- format str
- What time format the the source field to extract from has.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- standard str
- What time format to use on the extracted time.
- Constraints: Allowable values are:
strftime_or_unspecified
,javasdf
,golang
,secondsts
,millits
,microts
,nanots
.
- Constraints: Allowable values are:
- format String
- What time format the the source field to extract from has.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- standard String
- What time format to use on the extracted time.
- Constraints: Allowable values are:
strftime_or_unspecified
,javasdf
,golang
,secondsts
,millits
,microts
,nanots
.
- Constraints: Allowable values are:
LogsRuleGroupRuleSubgroupRuleParametersJsonExtractParameters, LogsRuleGroupRuleSubgroupRuleParametersJsonExtractParametersArgs
- Destination
Field string - In which metadata field to store the extracted value.
- Constraints: Allowable values are:
category_or_unspecified
,classname
,methodname
,threadid
,severity
.
- Constraints: Allowable values are:
- Destination
Field string - In which metadata field to store the extracted value.
- Constraints: Allowable values are:
category_or_unspecified
,classname
,methodname
,threadid
,severity
.
- Constraints: Allowable values are:
- destination
Field String - In which metadata field to store the extracted value.
- Constraints: Allowable values are:
category_or_unspecified
,classname
,methodname
,threadid
,severity
.
- Constraints: Allowable values are:
- destination
Field string - In which metadata field to store the extracted value.
- Constraints: Allowable values are:
category_or_unspecified
,classname
,methodname
,threadid
,severity
.
- Constraints: Allowable values are:
- destination_
field str - In which metadata field to store the extracted value.
- Constraints: Allowable values are:
category_or_unspecified
,classname
,methodname
,threadid
,severity
.
- Constraints: Allowable values are:
- destination
Field String - In which metadata field to store the extracted value.
- Constraints: Allowable values are:
category_or_unspecified
,classname
,methodname
,threadid
,severity
.
- Constraints: Allowable values are:
LogsRuleGroupRuleSubgroupRuleParametersJsonParseParameters, LogsRuleGroupRuleSubgroupRuleParametersJsonParseParametersArgs
- Destination
Field string - Destination field under which to put the json object.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Override
Dest bool - Destination field in which to put the json stringified content.
- Delete
Source bool - Whether or not to delete the source field after running this rule.
- Destination
Field string - Destination field under which to put the json object.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Override
Dest bool - Destination field in which to put the json stringified content.
- Delete
Source bool - Whether or not to delete the source field after running this rule.
- destination
Field String - Destination field under which to put the json object.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- override
Dest Boolean - Destination field in which to put the json stringified content.
- delete
Source Boolean - Whether or not to delete the source field after running this rule.
- destination
Field string - Destination field under which to put the json object.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- override
Dest boolean - Destination field in which to put the json stringified content.
- delete
Source boolean - Whether or not to delete the source field after running this rule.
- destination_
field str - Destination field under which to put the json object.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- override_
dest bool - Destination field in which to put the json stringified content.
- delete_
source bool - Whether or not to delete the source field after running this rule.
- destination
Field String - Destination field under which to put the json object.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- override
Dest Boolean - Destination field in which to put the json stringified content.
- delete
Source Boolean - Whether or not to delete the source field after running this rule.
LogsRuleGroupRuleSubgroupRuleParametersJsonStringifyParameters, LogsRuleGroupRuleSubgroupRuleParametersJsonStringifyParametersArgs
- Destination
Field string - Destination field in which to put the json stringified content.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Delete
Source bool - Whether or not to delete the source field after running this rule.
- Destination
Field string - Destination field in which to put the json stringified content.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Delete
Source bool - Whether or not to delete the source field after running this rule.
- destination
Field String - Destination field in which to put the json stringified content.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- delete
Source Boolean - Whether or not to delete the source field after running this rule.
- destination
Field string - Destination field in which to put the json stringified content.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- delete
Source boolean - Whether or not to delete the source field after running this rule.
- destination_
field str - Destination field in which to put the json stringified content.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- delete_
source bool - Whether or not to delete the source field after running this rule.
- destination
Field String - Destination field in which to put the json stringified content.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- delete
Source Boolean - Whether or not to delete the source field after running this rule.
LogsRuleGroupRuleSubgroupRuleParametersParseParameters, LogsRuleGroupRuleSubgroupRuleParametersParseParametersArgs
- Destination
Field string - In which field to put the parsed text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Rule string
- Regex which will parse the source field and extract the json keys from it while removing the source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Destination
Field string - In which field to put the parsed text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Rule string
- Regex which will parse the source field and extract the json keys from it while removing the source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- destination
Field String - In which field to put the parsed text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- rule String
- Regex which will parse the source field and extract the json keys from it while removing the source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- destination
Field string - In which field to put the parsed text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- rule string
- Regex which will parse the source field and extract the json keys from it while removing the source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- destination_
field str - In which field to put the parsed text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- rule str
- Regex which will parse the source field and extract the json keys from it while removing the source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- destination
Field String - In which field to put the parsed text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- rule String
- Regex which will parse the source field and extract the json keys from it while removing the source field.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
LogsRuleGroupRuleSubgroupRuleParametersRemoveFieldsParameters, LogsRuleGroupRuleSubgroupRuleParametersRemoveFieldsParametersArgs
- Fields List<string>
- Json field paths to drop from the log.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is1
item.
- Constraints: The list items must match regular expression
- Fields []string
- Json field paths to drop from the log.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is1
item.
- Constraints: The list items must match regular expression
- fields List<String>
- Json field paths to drop from the log.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is1
item.
- Constraints: The list items must match regular expression
- fields string[]
- Json field paths to drop from the log.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is1
item.
- Constraints: The list items must match regular expression
- fields Sequence[str]
- Json field paths to drop from the log.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is1
item.
- Constraints: The list items must match regular expression
- fields List<String>
- Json field paths to drop from the log.
- Constraints: The list items must match regular expression
^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
. The maximum length is4096
items. The minimum length is1
item.
- Constraints: The list items must match regular expression
LogsRuleGroupRuleSubgroupRuleParametersReplaceParameters, LogsRuleGroupRuleSubgroupRuleParametersReplaceParametersArgs
- Destination
Field string - In which field to put the modified text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Replace
New stringVal - The value to replace the matched text with.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Rule string
- Regex which will match parts in the text to replace.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Destination
Field string - In which field to put the modified text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Replace
New stringVal - The value to replace the matched text with.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Rule string
- Regex which will match parts in the text to replace.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- destination
Field String - In which field to put the modified text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- replace
New StringVal - The value to replace the matched text with.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- rule String
- Regex which will match parts in the text to replace.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- destination
Field string - In which field to put the modified text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- replace
New stringVal - The value to replace the matched text with.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- rule string
- Regex which will match parts in the text to replace.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- destination_
field str - In which field to put the modified text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- replace_
new_ strval - The value to replace the matched text with.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- rule str
- Regex which will match parts in the text to replace.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- destination
Field String - In which field to put the modified text.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- replace
New StringVal - The value to replace the matched text with.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- rule String
- Regex which will match parts in the text to replace.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
Import
You can import the ibm_logs_rule_group
resource by using id
. id
combination of region
, instance_id
and rule_group_id
.
Syntax
```sh $ pulumi import ibm:index/logsRuleGroup:LogsRuleGroup logs_rule_group < region >/< instance_id >/< rule_group_id >; ```
Example
$ pulumi import ibm:index/logsRuleGroup:LogsRuleGroup logs_rule_group eu-gb/3dc02998-0b50-4ea8-b68a-4779d716fa1f/3dc02998-0b50-4ea8-b68a-4779d716fa1f
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.