1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. RuleAppliers
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.tls.RuleAppliers

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

Use this data source to query detailed information of tls rule appliers

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";

const default = volcengine.tls.RuleAppliers({
    hostGroupId: "fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
});
Copy
import pulumi
import pulumi_volcengine as volcengine

default = volcengine.tls.rule_appliers(host_group_id="fbea6619-7b0c-40f3-ac7e-45c63e3f676e")
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := tls.RuleAppliers(ctx, &tls.RuleAppliersArgs{
			HostGroupId: "fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var @default = Volcengine.Tls.RuleAppliers.Invoke(new()
    {
        HostGroupId = "fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.tls.TlsFunctions;
import com.pulumi.volcengine.tls.inputs.RuleAppliersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var default = TlsFunctions.RuleAppliers(RuleAppliersArgs.builder()
            .hostGroupId("fbea6619-7b0c-40f3-ac7e-45c63e3f676e")
            .build());

    }
}
Copy
variables:
  default:
    fn::invoke:
      Function: volcengine:tls:RuleAppliers
      Arguments:
        hostGroupId: fbea6619-7b0c-40f3-ac7e-45c63e3f676e
Copy

Using RuleAppliers

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function ruleAppliers(args: RuleAppliersArgs, opts?: InvokeOptions): Promise<RuleAppliersResult>
function ruleAppliersOutput(args: RuleAppliersOutputArgs, opts?: InvokeOptions): Output<RuleAppliersResult>
Copy
def rule_appliers(host_group_id: Optional[str] = None,
                  output_file: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> RuleAppliersResult
def rule_appliers_output(host_group_id: Optional[pulumi.Input[str]] = None,
                  output_file: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[RuleAppliersResult]
Copy
func RuleAppliers(ctx *Context, args *RuleAppliersArgs, opts ...InvokeOption) (*RuleAppliersResult, error)
func RuleAppliersOutput(ctx *Context, args *RuleAppliersOutputArgs, opts ...InvokeOption) RuleAppliersResultOutput
Copy
public static class RuleAppliers 
{
    public static Task<RuleAppliersResult> InvokeAsync(RuleAppliersArgs args, InvokeOptions? opts = null)
    public static Output<RuleAppliersResult> Invoke(RuleAppliersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<RuleAppliersResult> ruleAppliers(RuleAppliersArgs args, InvokeOptions options)
public static Output<RuleAppliersResult> ruleAppliers(RuleAppliersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:tls:RuleAppliers
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

HostGroupId This property is required. string
The host group id.
OutputFile string
File name where to save data source results.
HostGroupId This property is required. string
The host group id.
OutputFile string
File name where to save data source results.
hostGroupId This property is required. String
The host group id.
outputFile String
File name where to save data source results.
hostGroupId This property is required. string
The host group id.
outputFile string
File name where to save data source results.
host_group_id This property is required. str
The host group id.
output_file str
File name where to save data source results.
hostGroupId This property is required. String
The host group id.
outputFile String
File name where to save data source results.

RuleAppliers Result

The following output properties are available:

HostGroupId string
Id string
The provider-assigned unique ID for this managed resource.
Rules List<RuleAppliersRule>
The rules list.
TotalCount int
The total count of query.
OutputFile string
HostGroupId string
Id string
The provider-assigned unique ID for this managed resource.
Rules []RuleAppliersRule
The rules list.
TotalCount int
The total count of query.
OutputFile string
hostGroupId String
id String
The provider-assigned unique ID for this managed resource.
rules List<RuleAppliersRule>
The rules list.
totalCount Integer
The total count of query.
outputFile String
hostGroupId string
id string
The provider-assigned unique ID for this managed resource.
rules RuleAppliersRule[]
The rules list.
totalCount number
The total count of query.
outputFile string
host_group_id str
id str
The provider-assigned unique ID for this managed resource.
rules Sequence[RuleAppliersRule]
The rules list.
total_count int
The total count of query.
output_file str
hostGroupId String
id String
The provider-assigned unique ID for this managed resource.
rules List<Property Map>
The rules list.
totalCount Number
The total count of query.
outputFile String

Supporting Types

RuleAppliersRule

ContainerRules This property is required. List<RuleAppliersRuleContainerRule>
Container collection rules.
CreateTime This property is required. string
The creation time.
ExcludePaths This property is required. List<RuleAppliersRuleExcludePath>
Collect the blacklist list.
ExtractRules This property is required. List<RuleAppliersRuleExtractRule>
The extract rule.
InputType This property is required. int
The collection type.
LogSample This property is required. string
Log sample.
LogType This property is required. string
The log type.
ModifyTime This property is required. string
The modification time.
Paths This property is required. List<string>
Collection path list.
RuleId This property is required. string
The rule id.
RuleName This property is required. string
The rule name.
TopicId This property is required. string
The topic id.
TopicName This property is required. string
The topic name.
UserDefineRules This property is required. List<RuleAppliersRuleUserDefineRule>
User-defined collection rules.
ContainerRules This property is required. []RuleAppliersRuleContainerRule
Container collection rules.
CreateTime This property is required. string
The creation time.
ExcludePaths This property is required. []RuleAppliersRuleExcludePath
Collect the blacklist list.
ExtractRules This property is required. []RuleAppliersRuleExtractRule
The extract rule.
InputType This property is required. int
The collection type.
LogSample This property is required. string
Log sample.
LogType This property is required. string
The log type.
ModifyTime This property is required. string
The modification time.
Paths This property is required. []string
Collection path list.
RuleId This property is required. string
The rule id.
RuleName This property is required. string
The rule name.
TopicId This property is required. string
The topic id.
TopicName This property is required. string
The topic name.
UserDefineRules This property is required. []RuleAppliersRuleUserDefineRule
User-defined collection rules.
containerRules This property is required. List<RuleAppliersRuleContainerRule>
Container collection rules.
createTime This property is required. String
The creation time.
excludePaths This property is required. List<RuleAppliersRuleExcludePath>
Collect the blacklist list.
extractRules This property is required. List<RuleAppliersRuleExtractRule>
The extract rule.
inputType This property is required. Integer
The collection type.
logSample This property is required. String
Log sample.
logType This property is required. String
The log type.
modifyTime This property is required. String
The modification time.
paths This property is required. List<String>
Collection path list.
ruleId This property is required. String
The rule id.
ruleName This property is required. String
The rule name.
topicId This property is required. String
The topic id.
topicName This property is required. String
The topic name.
userDefineRules This property is required. List<RuleAppliersRuleUserDefineRule>
User-defined collection rules.
containerRules This property is required. RuleAppliersRuleContainerRule[]
Container collection rules.
createTime This property is required. string
The creation time.
excludePaths This property is required. RuleAppliersRuleExcludePath[]
Collect the blacklist list.
extractRules This property is required. RuleAppliersRuleExtractRule[]
The extract rule.
inputType This property is required. number
The collection type.
logSample This property is required. string
Log sample.
logType This property is required. string
The log type.
modifyTime This property is required. string
The modification time.
paths This property is required. string[]
Collection path list.
ruleId This property is required. string
The rule id.
ruleName This property is required. string
The rule name.
topicId This property is required. string
The topic id.
topicName This property is required. string
The topic name.
userDefineRules This property is required. RuleAppliersRuleUserDefineRule[]
User-defined collection rules.
container_rules This property is required. Sequence[RuleAppliersRuleContainerRule]
Container collection rules.
create_time This property is required. str
The creation time.
exclude_paths This property is required. Sequence[RuleAppliersRuleExcludePath]
Collect the blacklist list.
extract_rules This property is required. Sequence[RuleAppliersRuleExtractRule]
The extract rule.
input_type This property is required. int
The collection type.
log_sample This property is required. str
Log sample.
log_type This property is required. str
The log type.
modify_time This property is required. str
The modification time.
paths This property is required. Sequence[str]
Collection path list.
rule_id This property is required. str
The rule id.
rule_name This property is required. str
The rule name.
topic_id This property is required. str
The topic id.
topic_name This property is required. str
The topic name.
user_define_rules This property is required. Sequence[RuleAppliersRuleUserDefineRule]
User-defined collection rules.
containerRules This property is required. List<Property Map>
Container collection rules.
createTime This property is required. String
The creation time.
excludePaths This property is required. List<Property Map>
Collect the blacklist list.
extractRules This property is required. List<Property Map>
The extract rule.
inputType This property is required. Number
The collection type.
logSample This property is required. String
Log sample.
logType This property is required. String
The log type.
modifyTime This property is required. String
The modification time.
paths This property is required. List<String>
Collection path list.
ruleId This property is required. String
The rule id.
ruleName This property is required. String
The rule name.
topicId This property is required. String
The topic id.
topicName This property is required. String
The topic name.
userDefineRules This property is required. List<Property Map>
User-defined collection rules.

RuleAppliersRuleContainerRule

ContainerNameRegex This property is required. string
The name of the container to be collected.
EnvTag This property is required. Dictionary<string, object>
Whether to add environment variables as log tags to raw log data.
ExcludeContainerEnvRegex This property is required. Dictionary<string, object>
The container environment variable blacklist is used to specify the range of containers not to be collected.
ExcludeContainerLabelRegex This property is required. Dictionary<string, object>
The container Label blacklist is used to specify the range of containers not to be collected.
IncludeContainerEnvRegex This property is required. Dictionary<string, object>
The container environment variable whitelist specifies the container to be collected through the container environment variable. If the whitelist is not enabled, it means that all containers are specified to be collected.
IncludeContainerLabelRegex This property is required. Dictionary<string, object>
The container label whitelist specifies the containers to be collected through the container label. If the whitelist is not enabled, all containers are specified to be collected.
KubernetesRules This property is required. List<RuleAppliersRuleContainerRuleKubernetesRule>
Collection rules for Kubernetes containers.
Stream This property is required. string
The collection mode.
ContainerNameRegex This property is required. string
The name of the container to be collected.
EnvTag This property is required. map[string]interface{}
Whether to add environment variables as log tags to raw log data.
ExcludeContainerEnvRegex This property is required. map[string]interface{}
The container environment variable blacklist is used to specify the range of containers not to be collected.
ExcludeContainerLabelRegex This property is required. map[string]interface{}
The container Label blacklist is used to specify the range of containers not to be collected.
IncludeContainerEnvRegex This property is required. map[string]interface{}
The container environment variable whitelist specifies the container to be collected through the container environment variable. If the whitelist is not enabled, it means that all containers are specified to be collected.
IncludeContainerLabelRegex This property is required. map[string]interface{}
The container label whitelist specifies the containers to be collected through the container label. If the whitelist is not enabled, all containers are specified to be collected.
KubernetesRules This property is required. []RuleAppliersRuleContainerRuleKubernetesRule
Collection rules for Kubernetes containers.
Stream This property is required. string
The collection mode.
containerNameRegex This property is required. String
The name of the container to be collected.
envTag This property is required. Map<String,Object>
Whether to add environment variables as log tags to raw log data.
excludeContainerEnvRegex This property is required. Map<String,Object>
The container environment variable blacklist is used to specify the range of containers not to be collected.
excludeContainerLabelRegex This property is required. Map<String,Object>
The container Label blacklist is used to specify the range of containers not to be collected.
includeContainerEnvRegex This property is required. Map<String,Object>
The container environment variable whitelist specifies the container to be collected through the container environment variable. If the whitelist is not enabled, it means that all containers are specified to be collected.
includeContainerLabelRegex This property is required. Map<String,Object>
The container label whitelist specifies the containers to be collected through the container label. If the whitelist is not enabled, all containers are specified to be collected.
kubernetesRules This property is required. List<RuleAppliersRuleContainerRuleKubernetesRule>
Collection rules for Kubernetes containers.
stream This property is required. String
The collection mode.
containerNameRegex This property is required. string
The name of the container to be collected.
envTag This property is required. {[key: string]: any}
Whether to add environment variables as log tags to raw log data.
excludeContainerEnvRegex This property is required. {[key: string]: any}
The container environment variable blacklist is used to specify the range of containers not to be collected.
excludeContainerLabelRegex This property is required. {[key: string]: any}
The container Label blacklist is used to specify the range of containers not to be collected.
includeContainerEnvRegex This property is required. {[key: string]: any}
The container environment variable whitelist specifies the container to be collected through the container environment variable. If the whitelist is not enabled, it means that all containers are specified to be collected.
includeContainerLabelRegex This property is required. {[key: string]: any}
The container label whitelist specifies the containers to be collected through the container label. If the whitelist is not enabled, all containers are specified to be collected.
kubernetesRules This property is required. RuleAppliersRuleContainerRuleKubernetesRule[]
Collection rules for Kubernetes containers.
stream This property is required. string
The collection mode.
container_name_regex This property is required. str
The name of the container to be collected.
env_tag This property is required. Mapping[str, Any]
Whether to add environment variables as log tags to raw log data.
exclude_container_env_regex This property is required. Mapping[str, Any]
The container environment variable blacklist is used to specify the range of containers not to be collected.
exclude_container_label_regex This property is required. Mapping[str, Any]
The container Label blacklist is used to specify the range of containers not to be collected.
include_container_env_regex This property is required. Mapping[str, Any]
The container environment variable whitelist specifies the container to be collected through the container environment variable. If the whitelist is not enabled, it means that all containers are specified to be collected.
include_container_label_regex This property is required. Mapping[str, Any]
The container label whitelist specifies the containers to be collected through the container label. If the whitelist is not enabled, all containers are specified to be collected.
kubernetes_rules This property is required. Sequence[RuleAppliersRuleContainerRuleKubernetesRule]
Collection rules for Kubernetes containers.
stream This property is required. str
The collection mode.
containerNameRegex This property is required. String
The name of the container to be collected.
envTag This property is required. Map<Any>
Whether to add environment variables as log tags to raw log data.
excludeContainerEnvRegex This property is required. Map<Any>
The container environment variable blacklist is used to specify the range of containers not to be collected.
excludeContainerLabelRegex This property is required. Map<Any>
The container Label blacklist is used to specify the range of containers not to be collected.
includeContainerEnvRegex This property is required. Map<Any>
The container environment variable whitelist specifies the container to be collected through the container environment variable. If the whitelist is not enabled, it means that all containers are specified to be collected.
includeContainerLabelRegex This property is required. Map<Any>
The container label whitelist specifies the containers to be collected through the container label. If the whitelist is not enabled, all containers are specified to be collected.
kubernetesRules This property is required. List<Property Map>
Collection rules for Kubernetes containers.
stream This property is required. String
The collection mode.

RuleAppliersRuleContainerRuleKubernetesRule

AnnotationTag This property is required. Dictionary<string, object>
Whether to add Kubernetes Annotation as a log tag to the raw log data.
ExcludePodLabelRegex This property is required. Dictionary<string, object>
Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
IncludePodLabelRegex This property is required. Dictionary<string, object>
The Pod Label whitelist is used to specify containers to be collected. When the Pod Label whitelist is not enabled, it means that all containers are collected.
LabelTag This property is required. Dictionary<string, object>
Whether to add Kubernetes Label as a log label to the original log data.
NamespaceNameRegex This property is required. string
The name of the Kubernetes Namespace to be collected. If no Namespace name is specified, all containers will be collected. Namespace names support regular matching.
PodNameRegex This property is required. string
The Pod name is used to specify the container to be collected. When no Pod name is specified, it means to collect all containers.
WorkloadNameRegex This property is required. string
Specify the container to be collected by the name of the workload. When no workload name is specified, all containers are collected. The workload name supports regular matching.
WorkloadType This property is required. string
Specify the container to be collected by the type of workload. Only one type can be selected. When no type is specified, it means to collect all types of containers.
AnnotationTag This property is required. map[string]interface{}
Whether to add Kubernetes Annotation as a log tag to the raw log data.
ExcludePodLabelRegex This property is required. map[string]interface{}
Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
IncludePodLabelRegex This property is required. map[string]interface{}
The Pod Label whitelist is used to specify containers to be collected. When the Pod Label whitelist is not enabled, it means that all containers are collected.
LabelTag This property is required. map[string]interface{}
Whether to add Kubernetes Label as a log label to the original log data.
NamespaceNameRegex This property is required. string
The name of the Kubernetes Namespace to be collected. If no Namespace name is specified, all containers will be collected. Namespace names support regular matching.
PodNameRegex This property is required. string
The Pod name is used to specify the container to be collected. When no Pod name is specified, it means to collect all containers.
WorkloadNameRegex This property is required. string
Specify the container to be collected by the name of the workload. When no workload name is specified, all containers are collected. The workload name supports regular matching.
WorkloadType This property is required. string
Specify the container to be collected by the type of workload. Only one type can be selected. When no type is specified, it means to collect all types of containers.
annotationTag This property is required. Map<String,Object>
Whether to add Kubernetes Annotation as a log tag to the raw log data.
excludePodLabelRegex This property is required. Map<String,Object>
Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
includePodLabelRegex This property is required. Map<String,Object>
The Pod Label whitelist is used to specify containers to be collected. When the Pod Label whitelist is not enabled, it means that all containers are collected.
labelTag This property is required. Map<String,Object>
Whether to add Kubernetes Label as a log label to the original log data.
namespaceNameRegex This property is required. String
The name of the Kubernetes Namespace to be collected. If no Namespace name is specified, all containers will be collected. Namespace names support regular matching.
podNameRegex This property is required. String
The Pod name is used to specify the container to be collected. When no Pod name is specified, it means to collect all containers.
workloadNameRegex This property is required. String
Specify the container to be collected by the name of the workload. When no workload name is specified, all containers are collected. The workload name supports regular matching.
workloadType This property is required. String
Specify the container to be collected by the type of workload. Only one type can be selected. When no type is specified, it means to collect all types of containers.
annotationTag This property is required. {[key: string]: any}
Whether to add Kubernetes Annotation as a log tag to the raw log data.
excludePodLabelRegex This property is required. {[key: string]: any}
Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
includePodLabelRegex This property is required. {[key: string]: any}
The Pod Label whitelist is used to specify containers to be collected. When the Pod Label whitelist is not enabled, it means that all containers are collected.
labelTag This property is required. {[key: string]: any}
Whether to add Kubernetes Label as a log label to the original log data.
namespaceNameRegex This property is required. string
The name of the Kubernetes Namespace to be collected. If no Namespace name is specified, all containers will be collected. Namespace names support regular matching.
podNameRegex This property is required. string
The Pod name is used to specify the container to be collected. When no Pod name is specified, it means to collect all containers.
workloadNameRegex This property is required. string
Specify the container to be collected by the name of the workload. When no workload name is specified, all containers are collected. The workload name supports regular matching.
workloadType This property is required. string
Specify the container to be collected by the type of workload. Only one type can be selected. When no type is specified, it means to collect all types of containers.
annotation_tag This property is required. Mapping[str, Any]
Whether to add Kubernetes Annotation as a log tag to the raw log data.
exclude_pod_label_regex This property is required. Mapping[str, Any]
Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
include_pod_label_regex This property is required. Mapping[str, Any]
The Pod Label whitelist is used to specify containers to be collected. When the Pod Label whitelist is not enabled, it means that all containers are collected.
label_tag This property is required. Mapping[str, Any]
Whether to add Kubernetes Label as a log label to the original log data.
namespace_name_regex This property is required. str
The name of the Kubernetes Namespace to be collected. If no Namespace name is specified, all containers will be collected. Namespace names support regular matching.
pod_name_regex This property is required. str
The Pod name is used to specify the container to be collected. When no Pod name is specified, it means to collect all containers.
workload_name_regex This property is required. str
Specify the container to be collected by the name of the workload. When no workload name is specified, all containers are collected. The workload name supports regular matching.
workload_type This property is required. str
Specify the container to be collected by the type of workload. Only one type can be selected. When no type is specified, it means to collect all types of containers.
annotationTag This property is required. Map<Any>
Whether to add Kubernetes Annotation as a log tag to the raw log data.
excludePodLabelRegex This property is required. Map<Any>
Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
includePodLabelRegex This property is required. Map<Any>
The Pod Label whitelist is used to specify containers to be collected. When the Pod Label whitelist is not enabled, it means that all containers are collected.
labelTag This property is required. Map<Any>
Whether to add Kubernetes Label as a log label to the original log data.
namespaceNameRegex This property is required. String
The name of the Kubernetes Namespace to be collected. If no Namespace name is specified, all containers will be collected. Namespace names support regular matching.
podNameRegex This property is required. String
The Pod name is used to specify the container to be collected. When no Pod name is specified, it means to collect all containers.
workloadNameRegex This property is required. String
Specify the container to be collected by the name of the workload. When no workload name is specified, all containers are collected. The workload name supports regular matching.
workloadType This property is required. String
Specify the container to be collected by the type of workload. Only one type can be selected. When no type is specified, it means to collect all types of containers.

RuleAppliersRuleExcludePath

Type This property is required. string
The type of the log template.
Value This property is required. string
Collection path.
Type This property is required. string
The type of the log template.
Value This property is required. string
Collection path.
type This property is required. String
The type of the log template.
value This property is required. String
Collection path.
type This property is required. string
The type of the log template.
value This property is required. string
Collection path.
type This property is required. str
The type of the log template.
value This property is required. str
Collection path.
type This property is required. String
The type of the log template.
value This property is required. String
Collection path.

RuleAppliersRuleExtractRule

BeginRegex This property is required. string
The first log line needs to match the regular expression.
Delimiter This property is required. string
The delimiter of the log.
FilterKeyRegexes This property is required. List<RuleAppliersRuleExtractRuleFilterKeyRegex>
The filter key list.
Keys This property is required. List<string>
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
LogRegex This property is required. string
The entire log needs to match the regular expression.
LogTemplates This property is required. List<RuleAppliersRuleExtractRuleLogTemplate>
Automatically extract log fields according to the specified log template.
TimeFormat This property is required. string
Parsing format of the time field.
TimeKey This property is required. string
The field name of the log time field.
UnMatchLogKey This property is required. string
When uploading the failed log, the key name of the failed log.
UnMatchUpLoadSwitch This property is required. bool
Whether to upload the log of parsing failure.
BeginRegex This property is required. string
The first log line needs to match the regular expression.
Delimiter This property is required. string
The delimiter of the log.
FilterKeyRegexes This property is required. []RuleAppliersRuleExtractRuleFilterKeyRegex
The filter key list.
Keys This property is required. []string
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
LogRegex This property is required. string
The entire log needs to match the regular expression.
LogTemplates This property is required. []RuleAppliersRuleExtractRuleLogTemplate
Automatically extract log fields according to the specified log template.
TimeFormat This property is required. string
Parsing format of the time field.
TimeKey This property is required. string
The field name of the log time field.
UnMatchLogKey This property is required. string
When uploading the failed log, the key name of the failed log.
UnMatchUpLoadSwitch This property is required. bool
Whether to upload the log of parsing failure.
beginRegex This property is required. String
The first log line needs to match the regular expression.
delimiter This property is required. String
The delimiter of the log.
filterKeyRegexes This property is required. List<RuleAppliersRuleExtractRuleFilterKeyRegex>
The filter key list.
keys This property is required. List<String>
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
logRegex This property is required. String
The entire log needs to match the regular expression.
logTemplates This property is required. List<RuleAppliersRuleExtractRuleLogTemplate>
Automatically extract log fields according to the specified log template.
timeFormat This property is required. String
Parsing format of the time field.
timeKey This property is required. String
The field name of the log time field.
unMatchLogKey This property is required. String
When uploading the failed log, the key name of the failed log.
unMatchUpLoadSwitch This property is required. Boolean
Whether to upload the log of parsing failure.
beginRegex This property is required. string
The first log line needs to match the regular expression.
delimiter This property is required. string
The delimiter of the log.
filterKeyRegexes This property is required. RuleAppliersRuleExtractRuleFilterKeyRegex[]
The filter key list.
keys This property is required. string[]
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
logRegex This property is required. string
The entire log needs to match the regular expression.
logTemplates This property is required. RuleAppliersRuleExtractRuleLogTemplate[]
Automatically extract log fields according to the specified log template.
timeFormat This property is required. string
Parsing format of the time field.
timeKey This property is required. string
The field name of the log time field.
unMatchLogKey This property is required. string
When uploading the failed log, the key name of the failed log.
unMatchUpLoadSwitch This property is required. boolean
Whether to upload the log of parsing failure.
begin_regex This property is required. str
The first log line needs to match the regular expression.
delimiter This property is required. str
The delimiter of the log.
filter_key_regexes This property is required. Sequence[RuleAppliersRuleExtractRuleFilterKeyRegex]
The filter key list.
keys This property is required. Sequence[str]
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
log_regex This property is required. str
The entire log needs to match the regular expression.
log_templates This property is required. Sequence[RuleAppliersRuleExtractRuleLogTemplate]
Automatically extract log fields according to the specified log template.
time_format This property is required. str
Parsing format of the time field.
time_key This property is required. str
The field name of the log time field.
un_match_log_key This property is required. str
When uploading the failed log, the key name of the failed log.
un_match_up_load_switch This property is required. bool
Whether to upload the log of parsing failure.
beginRegex This property is required. String
The first log line needs to match the regular expression.
delimiter This property is required. String
The delimiter of the log.
filterKeyRegexes This property is required. List<Property Map>
The filter key list.
keys This property is required. List<String>
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
logRegex This property is required. String
The entire log needs to match the regular expression.
logTemplates This property is required. List<Property Map>
Automatically extract log fields according to the specified log template.
timeFormat This property is required. String
Parsing format of the time field.
timeKey This property is required. String
The field name of the log time field.
unMatchLogKey This property is required. String
When uploading the failed log, the key name of the failed log.
unMatchUpLoadSwitch This property is required. Boolean
Whether to upload the log of parsing failure.

RuleAppliersRuleExtractRuleFilterKeyRegex

Key This property is required. string
The name of the filter key.
Regex This property is required. string
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
Key This property is required. string
The name of the filter key.
Regex This property is required. string
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
key This property is required. String
The name of the filter key.
regex This property is required. String
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
key This property is required. string
The name of the filter key.
regex This property is required. string
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
key This property is required. str
The name of the filter key.
regex This property is required. str
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
key This property is required. String
The name of the filter key.
regex This property is required. String
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.

RuleAppliersRuleExtractRuleLogTemplate

Format This property is required. string
Log template content.
Type This property is required. string
The type of the log template.
Format This property is required. string
Log template content.
Type This property is required. string
The type of the log template.
format This property is required. String
Log template content.
type This property is required. String
The type of the log template.
format This property is required. string
Log template content.
type This property is required. string
The type of the log template.
format This property is required. str
Log template content.
type This property is required. str
The type of the log template.
format This property is required. String
Log template content.
type This property is required. String
The type of the log template.

RuleAppliersRuleUserDefineRule

Advanceds This property is required. List<RuleAppliersRuleUserDefineRuleAdvanced>
LogCollector extension configuration.
EnableRawLog This property is required. bool
Whether to upload raw logs.
Fields This property is required. Dictionary<string, object>
Add constant fields to logs.
ParsePathRules This property is required. List<RuleAppliersRuleUserDefineRuleParsePathRule>
Rules for parsing collection paths. After the rules are set, the fields in the collection path will be extracted through the regular expressions specified in the rules, and added to the log data as metadata.
Plugins This property is required. List<RuleAppliersRuleUserDefineRulePlugin>
Plugin configuration. After the plugin configuration is enabled, one or more LogCollector processor plugins can be added to parse logs with complex or variable structures.
ShardHashKeys This property is required. List<RuleAppliersRuleUserDefineRuleShardHashKey>
Rules for routing log partitions. Setting this parameter indicates that the HashKey routing shard mode is used when collecting logs, and Log Service will write the data to the shard containing the specified Key value.
TailFiles This property is required. bool
LogCollector collection strategy, which specifies whether LogCollector collects incremental logs or full logs. The default is false, which means to collect all logs.
Advanceds This property is required. []RuleAppliersRuleUserDefineRuleAdvanced
LogCollector extension configuration.
EnableRawLog This property is required. bool
Whether to upload raw logs.
Fields This property is required. map[string]interface{}
Add constant fields to logs.
ParsePathRules This property is required. []RuleAppliersRuleUserDefineRuleParsePathRule
Rules for parsing collection paths. After the rules are set, the fields in the collection path will be extracted through the regular expressions specified in the rules, and added to the log data as metadata.
Plugins This property is required. []RuleAppliersRuleUserDefineRulePlugin
Plugin configuration. After the plugin configuration is enabled, one or more LogCollector processor plugins can be added to parse logs with complex or variable structures.
ShardHashKeys This property is required. []RuleAppliersRuleUserDefineRuleShardHashKey
Rules for routing log partitions. Setting this parameter indicates that the HashKey routing shard mode is used when collecting logs, and Log Service will write the data to the shard containing the specified Key value.
TailFiles This property is required. bool
LogCollector collection strategy, which specifies whether LogCollector collects incremental logs or full logs. The default is false, which means to collect all logs.
advanceds This property is required. List<RuleAppliersRuleUserDefineRuleAdvanced>
LogCollector extension configuration.
enableRawLog This property is required. Boolean
Whether to upload raw logs.
fields This property is required. Map<String,Object>
Add constant fields to logs.
parsePathRules This property is required. List<RuleAppliersRuleUserDefineRuleParsePathRule>
Rules for parsing collection paths. After the rules are set, the fields in the collection path will be extracted through the regular expressions specified in the rules, and added to the log data as metadata.
plugins This property is required. List<RuleAppliersRuleUserDefineRulePlugin>
Plugin configuration. After the plugin configuration is enabled, one or more LogCollector processor plugins can be added to parse logs with complex or variable structures.
shardHashKeys This property is required. List<RuleAppliersRuleUserDefineRuleShardHashKey>
Rules for routing log partitions. Setting this parameter indicates that the HashKey routing shard mode is used when collecting logs, and Log Service will write the data to the shard containing the specified Key value.
tailFiles This property is required. Boolean
LogCollector collection strategy, which specifies whether LogCollector collects incremental logs or full logs. The default is false, which means to collect all logs.
advanceds This property is required. RuleAppliersRuleUserDefineRuleAdvanced[]
LogCollector extension configuration.
enableRawLog This property is required. boolean
Whether to upload raw logs.
fields This property is required. {[key: string]: any}
Add constant fields to logs.
parsePathRules This property is required. RuleAppliersRuleUserDefineRuleParsePathRule[]
Rules for parsing collection paths. After the rules are set, the fields in the collection path will be extracted through the regular expressions specified in the rules, and added to the log data as metadata.
plugins This property is required. RuleAppliersRuleUserDefineRulePlugin[]
Plugin configuration. After the plugin configuration is enabled, one or more LogCollector processor plugins can be added to parse logs with complex or variable structures.
shardHashKeys This property is required. RuleAppliersRuleUserDefineRuleShardHashKey[]
Rules for routing log partitions. Setting this parameter indicates that the HashKey routing shard mode is used when collecting logs, and Log Service will write the data to the shard containing the specified Key value.
tailFiles This property is required. boolean
LogCollector collection strategy, which specifies whether LogCollector collects incremental logs or full logs. The default is false, which means to collect all logs.
advanceds This property is required. Sequence[RuleAppliersRuleUserDefineRuleAdvanced]
LogCollector extension configuration.
enable_raw_log This property is required. bool
Whether to upload raw logs.
fields This property is required. Mapping[str, Any]
Add constant fields to logs.
parse_path_rules This property is required. Sequence[RuleAppliersRuleUserDefineRuleParsePathRule]
Rules for parsing collection paths. After the rules are set, the fields in the collection path will be extracted through the regular expressions specified in the rules, and added to the log data as metadata.
plugins This property is required. Sequence[RuleAppliersRuleUserDefineRulePlugin]
Plugin configuration. After the plugin configuration is enabled, one or more LogCollector processor plugins can be added to parse logs with complex or variable structures.
shard_hash_keys This property is required. Sequence[RuleAppliersRuleUserDefineRuleShardHashKey]
Rules for routing log partitions. Setting this parameter indicates that the HashKey routing shard mode is used when collecting logs, and Log Service will write the data to the shard containing the specified Key value.
tail_files This property is required. bool
LogCollector collection strategy, which specifies whether LogCollector collects incremental logs or full logs. The default is false, which means to collect all logs.
advanceds This property is required. List<Property Map>
LogCollector extension configuration.
enableRawLog This property is required. Boolean
Whether to upload raw logs.
fields This property is required. Map<Any>
Add constant fields to logs.
parsePathRules This property is required. List<Property Map>
Rules for parsing collection paths. After the rules are set, the fields in the collection path will be extracted through the regular expressions specified in the rules, and added to the log data as metadata.
plugins This property is required. List<Property Map>
Plugin configuration. After the plugin configuration is enabled, one or more LogCollector processor plugins can be added to parse logs with complex or variable structures.
shardHashKeys This property is required. List<Property Map>
Rules for routing log partitions. Setting this parameter indicates that the HashKey routing shard mode is used when collecting logs, and Log Service will write the data to the shard containing the specified Key value.
tailFiles This property is required. Boolean
LogCollector collection strategy, which specifies whether LogCollector collects incremental logs or full logs. The default is false, which means to collect all logs.

RuleAppliersRuleUserDefineRuleAdvanced

CloseEof This property is required. bool
Whether to release the log file handle after reading to the end of the log file. The default is false.
CloseInactive This property is required. int
The wait time to release the log file handle. When the log file has not written a new log for more than the specified time, release the handle of the log file.
CloseRemoved This property is required. bool
After the log file is removed, whether to release the handle of the log file. The default is false.
CloseRenamed This property is required. bool
After the log file is renamed, whether to release the handle of the log file. The default is false.
CloseTimeout This property is required. int
The maximum length of time that LogCollector monitors log files. The unit is seconds, and the default is 0 seconds, which means that there is no limit to the length of time LogCollector monitors log files.
CloseEof This property is required. bool
Whether to release the log file handle after reading to the end of the log file. The default is false.
CloseInactive This property is required. int
The wait time to release the log file handle. When the log file has not written a new log for more than the specified time, release the handle of the log file.
CloseRemoved This property is required. bool
After the log file is removed, whether to release the handle of the log file. The default is false.
CloseRenamed This property is required. bool
After the log file is renamed, whether to release the handle of the log file. The default is false.
CloseTimeout This property is required. int
The maximum length of time that LogCollector monitors log files. The unit is seconds, and the default is 0 seconds, which means that there is no limit to the length of time LogCollector monitors log files.
closeEof This property is required. Boolean
Whether to release the log file handle after reading to the end of the log file. The default is false.
closeInactive This property is required. Integer
The wait time to release the log file handle. When the log file has not written a new log for more than the specified time, release the handle of the log file.
closeRemoved This property is required. Boolean
After the log file is removed, whether to release the handle of the log file. The default is false.
closeRenamed This property is required. Boolean
After the log file is renamed, whether to release the handle of the log file. The default is false.
closeTimeout This property is required. Integer
The maximum length of time that LogCollector monitors log files. The unit is seconds, and the default is 0 seconds, which means that there is no limit to the length of time LogCollector monitors log files.
closeEof This property is required. boolean
Whether to release the log file handle after reading to the end of the log file. The default is false.
closeInactive This property is required. number
The wait time to release the log file handle. When the log file has not written a new log for more than the specified time, release the handle of the log file.
closeRemoved This property is required. boolean
After the log file is removed, whether to release the handle of the log file. The default is false.
closeRenamed This property is required. boolean
After the log file is renamed, whether to release the handle of the log file. The default is false.
closeTimeout This property is required. number
The maximum length of time that LogCollector monitors log files. The unit is seconds, and the default is 0 seconds, which means that there is no limit to the length of time LogCollector monitors log files.
close_eof This property is required. bool
Whether to release the log file handle after reading to the end of the log file. The default is false.
close_inactive This property is required. int
The wait time to release the log file handle. When the log file has not written a new log for more than the specified time, release the handle of the log file.
close_removed This property is required. bool
After the log file is removed, whether to release the handle of the log file. The default is false.
close_renamed This property is required. bool
After the log file is renamed, whether to release the handle of the log file. The default is false.
close_timeout This property is required. int
The maximum length of time that LogCollector monitors log files. The unit is seconds, and the default is 0 seconds, which means that there is no limit to the length of time LogCollector monitors log files.
closeEof This property is required. Boolean
Whether to release the log file handle after reading to the end of the log file. The default is false.
closeInactive This property is required. Number
The wait time to release the log file handle. When the log file has not written a new log for more than the specified time, release the handle of the log file.
closeRemoved This property is required. Boolean
After the log file is removed, whether to release the handle of the log file. The default is false.
closeRenamed This property is required. Boolean
After the log file is renamed, whether to release the handle of the log file. The default is false.
closeTimeout This property is required. Number
The maximum length of time that LogCollector monitors log files. The unit is seconds, and the default is 0 seconds, which means that there is no limit to the length of time LogCollector monitors log files.

RuleAppliersRuleUserDefineRuleParsePathRule

Keys This property is required. List<string>
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
PathSample This property is required. string
Sample capture path for a real scene.
Regex This property is required. string
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
Keys This property is required. []string
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
PathSample This property is required. string
Sample capture path for a real scene.
Regex This property is required. string
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
keys This property is required. List<String>
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
pathSample This property is required. String
Sample capture path for a real scene.
regex This property is required. String
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
keys This property is required. string[]
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
pathSample This property is required. string
Sample capture path for a real scene.
regex This property is required. string
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
keys This property is required. Sequence[str]
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
path_sample This property is required. str
Sample capture path for a real scene.
regex This property is required. str
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
keys This property is required. List<String>
A list of field names. Log Service will parse the path sample (PathSample) into multiple fields according to the regular expression (Regex), and Keys is used to specify the field name of each field.
pathSample This property is required. String
Sample capture path for a real scene.
regex This property is required. String
Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.

RuleAppliersRuleUserDefineRulePlugin

Processors This property is required. string
LogCollector plugin.
Processors This property is required. string
LogCollector plugin.
processors This property is required. String
LogCollector plugin.
processors This property is required. string
LogCollector plugin.
processors This property is required. str
LogCollector plugin.
processors This property is required. String
LogCollector plugin.

RuleAppliersRuleUserDefineRuleShardHashKey

HashKey This property is required. string
The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.
HashKey This property is required. string
The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.
hashKey This property is required. String
The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.
hashKey This property is required. string
The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.
hash_key This property is required. str
The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.
hashKey This property is required. String
The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine