1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. RuleAppliers
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.tls.RuleAppliers

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

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

    Example Usage

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.tls.rule_appliers(host_group_id="fbea6619-7b0c-40f3-ac7e-45c63e3f676e")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.tls.RuleAppliers({
        hostGroupId: "fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
    });
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:tls:RuleAppliers
          Arguments:
            hostGroupId: fbea6619-7b0c-40f3-ac7e-45c63e3f676e
    

    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>
    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]
    func RuleAppliers(ctx *Context, args *RuleAppliersArgs, opts ...InvokeOption) (*RuleAppliersResult, error)
    func RuleAppliersOutput(ctx *Context, args *RuleAppliersOutputArgs, opts ...InvokeOption) RuleAppliersResultOutput
    public static class RuleAppliers 
    {
        public static Task<RuleAppliersResult> InvokeAsync(RuleAppliersArgs args, InvokeOptions? opts = null)
        public static Output<RuleAppliersResult> Invoke(RuleAppliersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<RuleAppliersResult> ruleAppliers(RuleAppliersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:tls:RuleAppliers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    HostGroupId string
    The host group id.
    OutputFile string
    File name where to save data source results.
    HostGroupId string
    The host group id.
    OutputFile string
    File name where to save data source results.
    hostGroupId String
    The host group id.
    outputFile String
    File name where to save data source results.
    hostGroupId string
    The host group id.
    outputFile string
    File name where to save data source results.
    host_group_id str
    The host group id.
    output_file str
    File name where to save data source results.
    hostGroupId 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 List<RuleAppliersRuleContainerRule>
    Container collection rules.
    CreateTime string
    The creation time.
    ExcludePaths List<RuleAppliersRuleExcludePath>
    Collect the blacklist list.
    ExtractRules List<RuleAppliersRuleExtractRule>
    The extract rule.
    InputType int
    The collection type.
    LogSample string
    Log sample.
    LogType string
    The log type.
    ModifyTime string
    The modification time.
    Paths List<string>
    Collection path list.
    RuleId string
    The rule id.
    RuleName string
    The rule name.
    TopicId string
    The topic id.
    TopicName string
    The topic name.
    UserDefineRules List<RuleAppliersRuleUserDefineRule>
    User-defined collection rules.
    ContainerRules []RuleAppliersRuleContainerRule
    Container collection rules.
    CreateTime string
    The creation time.
    ExcludePaths []RuleAppliersRuleExcludePath
    Collect the blacklist list.
    ExtractRules []RuleAppliersRuleExtractRule
    The extract rule.
    InputType int
    The collection type.
    LogSample string
    Log sample.
    LogType string
    The log type.
    ModifyTime string
    The modification time.
    Paths []string
    Collection path list.
    RuleId string
    The rule id.
    RuleName string
    The rule name.
    TopicId string
    The topic id.
    TopicName string
    The topic name.
    UserDefineRules []RuleAppliersRuleUserDefineRule
    User-defined collection rules.
    containerRules List<RuleAppliersRuleContainerRule>
    Container collection rules.
    createTime String
    The creation time.
    excludePaths List<RuleAppliersRuleExcludePath>
    Collect the blacklist list.
    extractRules List<RuleAppliersRuleExtractRule>
    The extract rule.
    inputType Integer
    The collection type.
    logSample String
    Log sample.
    logType String
    The log type.
    modifyTime String
    The modification time.
    paths List<String>
    Collection path list.
    ruleId String
    The rule id.
    ruleName String
    The rule name.
    topicId String
    The topic id.
    topicName String
    The topic name.
    userDefineRules List<RuleAppliersRuleUserDefineRule>
    User-defined collection rules.
    containerRules RuleAppliersRuleContainerRule[]
    Container collection rules.
    createTime string
    The creation time.
    excludePaths RuleAppliersRuleExcludePath[]
    Collect the blacklist list.
    extractRules RuleAppliersRuleExtractRule[]
    The extract rule.
    inputType number
    The collection type.
    logSample string
    Log sample.
    logType string
    The log type.
    modifyTime string
    The modification time.
    paths string[]
    Collection path list.
    ruleId string
    The rule id.
    ruleName string
    The rule name.
    topicId string
    The topic id.
    topicName string
    The topic name.
    userDefineRules RuleAppliersRuleUserDefineRule[]
    User-defined collection rules.
    container_rules Sequence[RuleAppliersRuleContainerRule]
    Container collection rules.
    create_time str
    The creation time.
    exclude_paths Sequence[RuleAppliersRuleExcludePath]
    Collect the blacklist list.
    extract_rules Sequence[RuleAppliersRuleExtractRule]
    The extract rule.
    input_type int
    The collection type.
    log_sample str
    Log sample.
    log_type str
    The log type.
    modify_time str
    The modification time.
    paths Sequence[str]
    Collection path list.
    rule_id str
    The rule id.
    rule_name str
    The rule name.
    topic_id str
    The topic id.
    topic_name str
    The topic name.
    user_define_rules Sequence[RuleAppliersRuleUserDefineRule]
    User-defined collection rules.
    containerRules List<Property Map>
    Container collection rules.
    createTime String
    The creation time.
    excludePaths List<Property Map>
    Collect the blacklist list.
    extractRules List<Property Map>
    The extract rule.
    inputType Number
    The collection type.
    logSample String
    Log sample.
    logType String
    The log type.
    modifyTime String
    The modification time.
    paths List<String>
    Collection path list.
    ruleId String
    The rule id.
    ruleName String
    The rule name.
    topicId String
    The topic id.
    topicName String
    The topic name.
    userDefineRules List<Property Map>
    User-defined collection rules.

    RuleAppliersRuleContainerRule

    ContainerNameRegex string
    The name of the container to be collected.
    EnvTag Dictionary<string, object>
    Whether to add environment variables as log tags to raw log data.
    ExcludeContainerEnvRegex Dictionary<string, object>
    The container environment variable blacklist is used to specify the range of containers not to be collected.
    ExcludeContainerLabelRegex Dictionary<string, object>
    The container Label blacklist is used to specify the range of containers not to be collected.
    IncludeContainerEnvRegex 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 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 List<RuleAppliersRuleContainerRuleKubernetesRule>
    Collection rules for Kubernetes containers.
    Stream string
    The collection mode.
    ContainerNameRegex string
    The name of the container to be collected.
    EnvTag map[string]interface{}
    Whether to add environment variables as log tags to raw log data.
    ExcludeContainerEnvRegex map[string]interface{}
    The container environment variable blacklist is used to specify the range of containers not to be collected.
    ExcludeContainerLabelRegex map[string]interface{}
    The container Label blacklist is used to specify the range of containers not to be collected.
    IncludeContainerEnvRegex 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 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 []RuleAppliersRuleContainerRuleKubernetesRule
    Collection rules for Kubernetes containers.
    Stream string
    The collection mode.
    containerNameRegex String
    The name of the container to be collected.
    envTag Map<String,Object>
    Whether to add environment variables as log tags to raw log data.
    excludeContainerEnvRegex Map<String,Object>
    The container environment variable blacklist is used to specify the range of containers not to be collected.
    excludeContainerLabelRegex Map<String,Object>
    The container Label blacklist is used to specify the range of containers not to be collected.
    includeContainerEnvRegex 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 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 List<RuleAppliersRuleContainerRuleKubernetesRule>
    Collection rules for Kubernetes containers.
    stream String
    The collection mode.
    containerNameRegex string
    The name of the container to be collected.
    envTag {[key: string]: any}
    Whether to add environment variables as log tags to raw log data.
    excludeContainerEnvRegex {[key: string]: any}
    The container environment variable blacklist is used to specify the range of containers not to be collected.
    excludeContainerLabelRegex {[key: string]: any}
    The container Label blacklist is used to specify the range of containers not to be collected.
    includeContainerEnvRegex {[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 {[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 RuleAppliersRuleContainerRuleKubernetesRule[]
    Collection rules for Kubernetes containers.
    stream string
    The collection mode.
    container_name_regex str
    The name of the container to be collected.
    env_tag Mapping[str, Any]
    Whether to add environment variables as log tags to raw log data.
    exclude_container_env_regex Mapping[str, Any]
    The container environment variable blacklist is used to specify the range of containers not to be collected.
    exclude_container_label_regex Mapping[str, Any]
    The container Label blacklist is used to specify the range of containers not to be collected.
    include_container_env_regex 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 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 Sequence[RuleAppliersRuleContainerRuleKubernetesRule]
    Collection rules for Kubernetes containers.
    stream str
    The collection mode.
    containerNameRegex String
    The name of the container to be collected.
    envTag Map<Any>
    Whether to add environment variables as log tags to raw log data.
    excludeContainerEnvRegex Map<Any>
    The container environment variable blacklist is used to specify the range of containers not to be collected.
    excludeContainerLabelRegex Map<Any>
    The container Label blacklist is used to specify the range of containers not to be collected.
    includeContainerEnvRegex 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 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 List<Property Map>
    Collection rules for Kubernetes containers.
    stream String
    The collection mode.

    RuleAppliersRuleContainerRuleKubernetesRule

    AnnotationTag Dictionary<string, object>
    Whether to add Kubernetes Annotation as a log tag to the raw log data.
    ExcludePodLabelRegex Dictionary<string, object>
    Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
    IncludePodLabelRegex 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 Dictionary<string, object>
    Whether to add Kubernetes Label as a log label to the original log data.
    NamespaceNameRegex 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 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 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 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 map[string]interface{}
    Whether to add Kubernetes Annotation as a log tag to the raw log data.
    ExcludePodLabelRegex map[string]interface{}
    Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
    IncludePodLabelRegex 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 map[string]interface{}
    Whether to add Kubernetes Label as a log label to the original log data.
    NamespaceNameRegex 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 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 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 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 Map<String,Object>
    Whether to add Kubernetes Annotation as a log tag to the raw log data.
    excludePodLabelRegex Map<String,Object>
    Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
    includePodLabelRegex 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 Map<String,Object>
    Whether to add Kubernetes Label as a log label to the original log data.
    namespaceNameRegex 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 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 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 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 {[key: string]: any}
    Whether to add Kubernetes Annotation as a log tag to the raw log data.
    excludePodLabelRegex {[key: string]: any}
    Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
    includePodLabelRegex {[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 {[key: string]: any}
    Whether to add Kubernetes Label as a log label to the original log data.
    namespaceNameRegex 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 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 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 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 Mapping[str, Any]
    Whether to add Kubernetes Annotation as a log tag to the raw log data.
    exclude_pod_label_regex 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 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 Mapping[str, Any]
    Whether to add Kubernetes Label as a log label to the original log data.
    namespace_name_regex 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 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 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 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 Map<Any>
    Whether to add Kubernetes Annotation as a log tag to the raw log data.
    excludePodLabelRegex Map<Any>
    Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
    includePodLabelRegex 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 Map<Any>
    Whether to add Kubernetes Label as a log label to the original log data.
    namespaceNameRegex 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 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 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 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 string
    The type of the log template.
    Value string
    Collection path.
    Type string
    The type of the log template.
    Value string
    Collection path.
    type String
    The type of the log template.
    value String
    Collection path.
    type string
    The type of the log template.
    value string
    Collection path.
    type str
    The type of the log template.
    value str
    Collection path.
    type String
    The type of the log template.
    value String
    Collection path.

    RuleAppliersRuleExtractRule

    BeginRegex string
    The first log line needs to match the regular expression.
    Delimiter string
    The delimiter of the log.
    FilterKeyRegexes List<RuleAppliersRuleExtractRuleFilterKeyRegex>
    The filter key list.
    Keys 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 string
    The entire log needs to match the regular expression.
    LogTemplates List<RuleAppliersRuleExtractRuleLogTemplate>
    Automatically extract log fields according to the specified log template.
    TimeFormat string
    Parsing format of the time field.
    TimeKey string
    The field name of the log time field.
    UnMatchLogKey string
    When uploading the failed log, the key name of the failed log.
    UnMatchUpLoadSwitch bool
    Whether to upload the log of parsing failure.
    BeginRegex string
    The first log line needs to match the regular expression.
    Delimiter string
    The delimiter of the log.
    FilterKeyRegexes []RuleAppliersRuleExtractRuleFilterKeyRegex
    The filter key list.
    Keys []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 string
    The entire log needs to match the regular expression.
    LogTemplates []RuleAppliersRuleExtractRuleLogTemplate
    Automatically extract log fields according to the specified log template.
    TimeFormat string
    Parsing format of the time field.
    TimeKey string
    The field name of the log time field.
    UnMatchLogKey string
    When uploading the failed log, the key name of the failed log.
    UnMatchUpLoadSwitch bool
    Whether to upload the log of parsing failure.
    beginRegex String
    The first log line needs to match the regular expression.
    delimiter String
    The delimiter of the log.
    filterKeyRegexes List<RuleAppliersRuleExtractRuleFilterKeyRegex>
    The filter key list.
    keys 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 String
    The entire log needs to match the regular expression.
    logTemplates List<RuleAppliersRuleExtractRuleLogTemplate>
    Automatically extract log fields according to the specified log template.
    timeFormat String
    Parsing format of the time field.
    timeKey String
    The field name of the log time field.
    unMatchLogKey String
    When uploading the failed log, the key name of the failed log.
    unMatchUpLoadSwitch Boolean
    Whether to upload the log of parsing failure.
    beginRegex string
    The first log line needs to match the regular expression.
    delimiter string
    The delimiter of the log.
    filterKeyRegexes RuleAppliersRuleExtractRuleFilterKeyRegex[]
    The filter key list.
    keys 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 string
    The entire log needs to match the regular expression.
    logTemplates RuleAppliersRuleExtractRuleLogTemplate[]
    Automatically extract log fields according to the specified log template.
    timeFormat string
    Parsing format of the time field.
    timeKey string
    The field name of the log time field.
    unMatchLogKey string
    When uploading the failed log, the key name of the failed log.
    unMatchUpLoadSwitch boolean
    Whether to upload the log of parsing failure.
    begin_regex str
    The first log line needs to match the regular expression.
    delimiter str
    The delimiter of the log.
    filter_key_regexes Sequence[RuleAppliersRuleExtractRuleFilterKeyRegex]
    The filter key list.
    keys 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 str
    The entire log needs to match the regular expression.
    log_templates Sequence[RuleAppliersRuleExtractRuleLogTemplate]
    Automatically extract log fields according to the specified log template.
    time_format str
    Parsing format of the time field.
    time_key str
    The field name of the log time field.
    un_match_log_key str
    When uploading the failed log, the key name of the failed log.
    un_match_up_load_switch bool
    Whether to upload the log of parsing failure.
    beginRegex String
    The first log line needs to match the regular expression.
    delimiter String
    The delimiter of the log.
    filterKeyRegexes List<Property Map>
    The filter key list.
    keys 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 String
    The entire log needs to match the regular expression.
    logTemplates List<Property Map>
    Automatically extract log fields according to the specified log template.
    timeFormat String
    Parsing format of the time field.
    timeKey String
    The field name of the log time field.
    unMatchLogKey String
    When uploading the failed log, the key name of the failed log.
    unMatchUpLoadSwitch Boolean
    Whether to upload the log of parsing failure.

    RuleAppliersRuleExtractRuleFilterKeyRegex

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

    RuleAppliersRuleExtractRuleLogTemplate

    Format string
    Log template content.
    Type string
    The type of the log template.
    Format string
    Log template content.
    Type string
    The type of the log template.
    format String
    Log template content.
    type String
    The type of the log template.
    format string
    Log template content.
    type string
    The type of the log template.
    format str
    Log template content.
    type str
    The type of the log template.
    format String
    Log template content.
    type String
    The type of the log template.

    RuleAppliersRuleUserDefineRule

    Advanceds List<RuleAppliersRuleUserDefineRuleAdvanced>
    LogCollector extension configuration.
    EnableRawLog bool
    Whether to upload raw logs.
    Fields Dictionary<string, object>
    Add constant fields to logs.
    ParsePathRules 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 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 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 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 []RuleAppliersRuleUserDefineRuleAdvanced
    LogCollector extension configuration.
    EnableRawLog bool
    Whether to upload raw logs.
    Fields map[string]interface{}
    Add constant fields to logs.
    ParsePathRules []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 []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 []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 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 List<RuleAppliersRuleUserDefineRuleAdvanced>
    LogCollector extension configuration.
    enableRawLog Boolean
    Whether to upload raw logs.
    fields Map<String,Object>
    Add constant fields to logs.
    parsePathRules 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 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 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 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 RuleAppliersRuleUserDefineRuleAdvanced[]
    LogCollector extension configuration.
    enableRawLog boolean
    Whether to upload raw logs.
    fields {[key: string]: any}
    Add constant fields to logs.
    parsePathRules 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 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 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 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 Sequence[RuleAppliersRuleUserDefineRuleAdvanced]
    LogCollector extension configuration.
    enable_raw_log bool
    Whether to upload raw logs.
    fields Mapping[str, Any]
    Add constant fields to logs.
    parse_path_rules 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 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 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 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 List<Property Map>
    LogCollector extension configuration.
    enableRawLog Boolean
    Whether to upload raw logs.
    fields Map<Any>
    Add constant fields to logs.
    parsePathRules 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 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 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 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 bool
    Whether to release the log file handle after reading to the end of the log file. The default is false.
    CloseInactive 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 bool
    After the log file is removed, whether to release the handle of the log file. The default is false.
    CloseRenamed bool
    After the log file is renamed, whether to release the handle of the log file. The default is false.
    CloseTimeout 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 bool
    Whether to release the log file handle after reading to the end of the log file. The default is false.
    CloseInactive 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 bool
    After the log file is removed, whether to release the handle of the log file. The default is false.
    CloseRenamed bool
    After the log file is renamed, whether to release the handle of the log file. The default is false.
    CloseTimeout 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 Boolean
    Whether to release the log file handle after reading to the end of the log file. The default is false.
    closeInactive 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 Boolean
    After the log file is removed, whether to release the handle of the log file. The default is false.
    closeRenamed Boolean
    After the log file is renamed, whether to release the handle of the log file. The default is false.
    closeTimeout 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 boolean
    Whether to release the log file handle after reading to the end of the log file. The default is false.
    closeInactive 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 boolean
    After the log file is removed, whether to release the handle of the log file. The default is false.
    closeRenamed boolean
    After the log file is renamed, whether to release the handle of the log file. The default is false.
    closeTimeout 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 bool
    Whether to release the log file handle after reading to the end of the log file. The default is false.
    close_inactive 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 bool
    After the log file is removed, whether to release the handle of the log file. The default is false.
    close_renamed bool
    After the log file is renamed, whether to release the handle of the log file. The default is false.
    close_timeout 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 Boolean
    Whether to release the log file handle after reading to the end of the log file. The default is false.
    closeInactive 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 Boolean
    After the log file is removed, whether to release the handle of the log file. The default is false.
    closeRenamed Boolean
    After the log file is renamed, whether to release the handle of the log file. The default is false.
    closeTimeout 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 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 string
    Sample capture path for a real scene.
    Regex string
    Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
    Keys []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 string
    Sample capture path for a real scene.
    Regex string
    Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
    keys 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 String
    Sample capture path for a real scene.
    regex String
    Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
    keys 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 string
    Sample capture path for a real scene.
    regex string
    Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
    keys 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 str
    Sample capture path for a real scene.
    regex str
    Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.
    keys 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 String
    Sample capture path for a real scene.
    regex String
    Regular expression for extracting path fields. It must match the collection path sample, otherwise it cannot be extracted successfully.

    RuleAppliersRuleUserDefineRulePlugin

    Processors string
    LogCollector plugin.
    Processors string
    LogCollector plugin.
    processors String
    LogCollector plugin.
    processors string
    LogCollector plugin.
    processors str
    LogCollector plugin.
    processors String
    LogCollector plugin.

    RuleAppliersRuleUserDefineRuleShardHashKey

    HashKey string
    The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.
    HashKey string
    The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.
    hashKey String
    The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.
    hashKey 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 str
    The HashKey of the log group is used to specify the partition (shard) to be written to by the current log group.
    hashKey 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 logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine