Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.tls.RuleAppliers
Explore with Pulumi AI
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",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.rule_appliers(host_group_id="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
})
}
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 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());
}
}
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)
public static Output<RuleAppliersResult> ruleAppliers(RuleAppliersArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls:RuleAppliers
arguments:
# arguments dictionary
The following arguments are supported:
- Host
Group Id This property is required. string - The host group id.
- Output
File string - File name where to save data source results.
- Host
Group Id This property is required. string - The host group id.
- Output
File string - File name where to save data source results.
- host
Group Id This property is required. String - The host group id.
- output
File String - File name where to save data source results.
- host
Group Id This property is required. string - The host group id.
- output
File 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.
- host
Group Id This property is required. String - The host group id.
- output
File String - File name where to save data source results.
RuleAppliers Result
The following output properties are available:
- Host
Group stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Rules
List<Rule
Appliers Rule> - The rules list.
- Total
Count int - The total count of query.
- Output
File string
- Host
Group stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Rules
[]Rule
Appliers Rule - The rules list.
- Total
Count int - The total count of query.
- Output
File string
- host
Group StringId - id String
- The provider-assigned unique ID for this managed resource.
- rules
List<Rule
Appliers Rule> - The rules list.
- total
Count Integer - The total count of query.
- output
File String
- host
Group stringId - id string
- The provider-assigned unique ID for this managed resource.
- rules
Rule
Appliers Rule[] - The rules list.
- total
Count number - The total count of query.
- output
File string
- host_
group_ strid - id str
- The provider-assigned unique ID for this managed resource.
- rules
Sequence[Rule
Appliers Rule] - The rules list.
- total_
count int - The total count of query.
- output_
file str
- host
Group StringId - id String
- The provider-assigned unique ID for this managed resource.
- rules List<Property Map>
- The rules list.
- total
Count Number - The total count of query.
- output
File String
Supporting Types
RuleAppliersRule
- Container
Rules This property is required. List<RuleAppliers Rule Container Rule> - Container collection rules.
- Create
Time This property is required. string - The creation time.
- Exclude
Paths This property is required. List<RuleAppliers Rule Exclude Path> - Collect the blacklist list.
- Extract
Rules This property is required. List<RuleAppliers Rule Extract Rule> - The extract rule.
- Input
Type This property is required. int - The collection type.
- Log
Sample This property is required. string - Log sample.
- Log
Type This property is required. string - The log type.
- Modify
Time This property is required. string - The modification time.
- Paths
This property is required. List<string> - Collection path list.
- Rule
Id This property is required. string - The rule id.
- Rule
Name This property is required. string - The rule name.
- Topic
Id This property is required. string - The topic id.
- Topic
Name This property is required. string - The topic name.
- User
Define Rules This property is required. List<RuleAppliers Rule User Define Rule> - User-defined collection rules.
- Container
Rules This property is required. []RuleAppliers Rule Container Rule - Container collection rules.
- Create
Time This property is required. string - The creation time.
- Exclude
Paths This property is required. []RuleAppliers Rule Exclude Path - Collect the blacklist list.
- Extract
Rules This property is required. []RuleAppliers Rule Extract Rule - The extract rule.
- Input
Type This property is required. int - The collection type.
- Log
Sample This property is required. string - Log sample.
- Log
Type This property is required. string - The log type.
- Modify
Time This property is required. string - The modification time.
- Paths
This property is required. []string - Collection path list.
- Rule
Id This property is required. string - The rule id.
- Rule
Name This property is required. string - The rule name.
- Topic
Id This property is required. string - The topic id.
- Topic
Name This property is required. string - The topic name.
- User
Define Rules This property is required. []RuleAppliers Rule User Define Rule - User-defined collection rules.
- container
Rules This property is required. List<RuleAppliers Rule Container Rule> - Container collection rules.
- create
Time This property is required. String - The creation time.
- exclude
Paths This property is required. List<RuleAppliers Rule Exclude Path> - Collect the blacklist list.
- extract
Rules This property is required. List<RuleAppliers Rule Extract Rule> - The extract rule.
- input
Type This property is required. Integer - The collection type.
- log
Sample This property is required. String - Log sample.
- log
Type This property is required. String - The log type.
- modify
Time This property is required. String - The modification time.
- paths
This property is required. List<String> - Collection path list.
- rule
Id This property is required. String - The rule id.
- rule
Name This property is required. String - The rule name.
- topic
Id This property is required. String - The topic id.
- topic
Name This property is required. String - The topic name.
- user
Define Rules This property is required. List<RuleAppliers Rule User Define Rule> - User-defined collection rules.
- container
Rules This property is required. RuleAppliers Rule Container Rule[] - Container collection rules.
- create
Time This property is required. string - The creation time.
- exclude
Paths This property is required. RuleAppliers Rule Exclude Path[] - Collect the blacklist list.
- extract
Rules This property is required. RuleAppliers Rule Extract Rule[] - The extract rule.
- input
Type This property is required. number - The collection type.
- log
Sample This property is required. string - Log sample.
- log
Type This property is required. string - The log type.
- modify
Time This property is required. string - The modification time.
- paths
This property is required. string[] - Collection path list.
- rule
Id This property is required. string - The rule id.
- rule
Name This property is required. string - The rule name.
- topic
Id This property is required. string - The topic id.
- topic
Name This property is required. string - The topic name.
- user
Define Rules This property is required. RuleAppliers Rule User Define Rule[] - User-defined collection rules.
- container_
rules This property is required. Sequence[RuleAppliers Rule Container Rule] - Container collection rules.
- create_
time This property is required. str - The creation time.
- exclude_
paths This property is required. Sequence[RuleAppliers Rule Exclude Path] - Collect the blacklist list.
- extract_
rules This property is required. Sequence[RuleAppliers Rule Extract Rule] - 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[RuleAppliers Rule User Define Rule] - User-defined collection rules.
- container
Rules This property is required. List<Property Map> - Container collection rules.
- create
Time This property is required. String - The creation time.
- exclude
Paths This property is required. List<Property Map> - Collect the blacklist list.
- extract
Rules This property is required. List<Property Map> - The extract rule.
- input
Type This property is required. Number - The collection type.
- log
Sample This property is required. String - Log sample.
- log
Type This property is required. String - The log type.
- modify
Time This property is required. String - The modification time.
- paths
This property is required. List<String> - Collection path list.
- rule
Id This property is required. String - The rule id.
- rule
Name This property is required. String - The rule name.
- topic
Id This property is required. String - The topic id.
- topic
Name This property is required. String - The topic name.
- user
Define Rules This property is required. List<Property Map> - User-defined collection rules.
RuleAppliersRuleContainerRule
- Container
Name Regex This property is required. string - The name of the container to be collected.
- Env
Tag This property is required. Dictionary<string, object> - Whether to add environment variables as log tags to raw log data.
- Exclude
Container Env Regex This property is required. Dictionary<string, object> - 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. Dictionary<string, object> - The container Label blacklist is used to specify the range of containers not to be collected.
- Include
Container Env Regex 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.
- Include
Container Label Regex 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.
- Kubernetes
Rules This property is required. List<RuleAppliers Rule Container Rule Kubernetes Rule> - Collection rules for Kubernetes containers.
- Stream
This property is required. string - The collection mode.
- Container
Name Regex This property is required. string - The name of the container to be collected.
- Env
Tag This property is required. map[string]interface{} - Whether to add environment variables as log tags to raw log data.
- Exclude
Container Env Regex This property is required. map[string]interface{} - 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. map[string]interface{} - The container Label blacklist is used to specify the range of containers not to be collected.
- Include
Container Env Regex 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.
- Include
Container Label Regex 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.
- Kubernetes
Rules This property is required. []RuleAppliers Rule Container Rule Kubernetes Rule - Collection rules for Kubernetes containers.
- Stream
This property is required. string - The collection mode.
- container
Name Regex This property is required. String - The name of the container to be collected.
- env
Tag This property is required. Map<String,Object> - Whether to add environment variables as log tags to raw log data.
- exclude
Container Env Regex This property is required. Map<String,Object> - 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. Map<String,Object> - The container Label blacklist is used to specify the range of containers not to be collected.
- include
Container Env Regex 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.
- include
Container Label Regex 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.
- kubernetes
Rules This property is required. List<RuleAppliers Rule Container Rule Kubernetes Rule> - Collection rules for Kubernetes containers.
- stream
This property is required. String - The collection mode.
- container
Name Regex This property is required. string - The name of the container to be collected.
- env
Tag This property is required. {[key: string]: any} - Whether to add environment variables as log tags to raw log data.
- exclude
Container Env Regex This property is required. {[key: string]: 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. {[key: string]: 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. {[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.
- include
Container Label Regex 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.
- kubernetes
Rules This property is required. RuleAppliers Rule Container Rule Kubernetes Rule[] - 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[RuleAppliers Rule Container Rule Kubernetes Rule] - Collection rules for Kubernetes containers.
- stream
This property is required. str - The collection mode.
- container
Name Regex This property is required. String - The name of the container to be collected.
- env
Tag This property is required. Map<Any> - Whether to add environment variables as log tags to raw log data.
- exclude
Container Env Regex This property is required. Map<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. Map<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. 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.
- include
Container Label Regex 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.
- kubernetes
Rules This property is required. List<Property Map> - Collection rules for Kubernetes containers.
- stream
This property is required. String - The collection mode.
RuleAppliersRuleContainerRuleKubernetesRule
- Annotation
Tag This property is required. Dictionary<string, object> - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- Exclude
Pod Label Regex 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.
- Include
Pod Label Regex 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.
- Label
Tag This property is required. Dictionary<string, object> - Whether to add Kubernetes Label as a log label to the original log data.
- Namespace
Name Regex 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.
- Pod
Name Regex 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.
- Workload
Name Regex 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.
- Workload
Type 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. map[string]interface{} - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- Exclude
Pod Label Regex 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.
- Include
Pod Label Regex 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.
- Label
Tag This property is required. map[string]interface{} - Whether to add Kubernetes Label as a log label to the original log data.
- Namespace
Name Regex 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.
- Pod
Name Regex 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.
- Workload
Name Regex 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.
- Workload
Type 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. Map<String,Object> - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- exclude
Pod Label Regex 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.
- include
Pod Label Regex 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.
- label
Tag This property is required. Map<String,Object> - Whether to add Kubernetes Label as a log label to the original log data.
- namespace
Name Regex 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.
- pod
Name Regex 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.
- workload
Name Regex 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.
- workload
Type 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. {[key: string]: any} - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- exclude
Pod Label Regex 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.
- include
Pod Label Regex 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.
- label
Tag This property is required. {[key: string]: any} - Whether to add Kubernetes Label as a log label to the original log data.
- namespace
Name Regex 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.
- pod
Name Regex 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.
- workload
Name Regex 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.
- workload
Type 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.
- annotation
Tag This property is required. Map<Any> - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- exclude
Pod Label Regex 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.
- include
Pod Label Regex 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.
- label
Tag This property is required. Map<Any> - Whether to add Kubernetes Label as a log label to the original log data.
- namespace
Name Regex 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.
- pod
Name Regex 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.
- workload
Name Regex 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.
- workload
Type 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
RuleAppliersRuleExtractRule
- Begin
Regex 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.
- Filter
Key Regexes This property is required. List<RuleAppliers Rule Extract Rule Filter Key Regex> - 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.
- Log
Regex This property is required. string - The entire log needs to match the regular expression.
- Log
Templates This property is required. List<RuleAppliers Rule Extract Rule Log Template> - Automatically extract log fields according to the specified log template.
- Time
Format This property is required. string - Parsing format of the time field.
- Time
Key This property is required. string - The field name of the log time field.
- Un
Match Log Key This property is required. string - 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.
- Begin
Regex 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.
- Filter
Key Regexes This property is required. []RuleAppliers Rule Extract Rule Filter Key Regex - 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.
- Log
Regex This property is required. string - The entire log needs to match the regular expression.
- Log
Templates This property is required. []RuleAppliers Rule Extract Rule Log Template - Automatically extract log fields according to the specified log template.
- Time
Format This property is required. string - Parsing format of the time field.
- Time
Key This property is required. string - The field name of the log time field.
- Un
Match Log Key This property is required. string - 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.
- begin
Regex 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.
- filter
Key Regexes This property is required. List<RuleAppliers Rule Extract Rule Filter Key Regex> - 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.
- log
Regex This property is required. String - The entire log needs to match the regular expression.
- log
Templates This property is required. List<RuleAppliers Rule Extract Rule Log Template> - Automatically extract log fields according to the specified log template.
- time
Format This property is required. String - Parsing format of the time field.
- time
Key This property is required. String - The field name of the log time field.
- un
Match Log Key This property is required. String - When uploading the failed log, the key name of the failed log.
- un
Match Up Load Switch This property is required. Boolean - Whether to upload the log of parsing failure.
- begin
Regex 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.
- filter
Key Regexes This property is required. RuleAppliers Rule Extract Rule Filter Key Regex[] - 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.
- log
Regex This property is required. string - The entire log needs to match the regular expression.
- log
Templates This property is required. RuleAppliers Rule Extract Rule Log Template[] - Automatically extract log fields according to the specified log template.
- time
Format This property is required. string - Parsing format of the time field.
- time
Key This property is required. string - The field name of the log time field.
- un
Match Log Key This property is required. string - When uploading the failed log, the key name of the failed log.
- un
Match Up Load Switch 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[RuleAppliers Rule Extract Rule Filter Key Regex] - 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[RuleAppliers Rule Extract Rule Log Template] - 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.
- begin
Regex 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.
- filter
Key Regexes 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.
- log
Regex This property is required. String - The entire log needs to match the regular expression.
- log
Templates This property is required. List<Property Map> - Automatically extract log fields according to the specified log template.
- time
Format This property is required. String - Parsing format of the time field.
- time
Key This property is required. String - The field name of the log time field.
- un
Match Log Key This property is required. String - When uploading the failed log, the key name of the failed log.
- un
Match Up Load Switch This property is required. Boolean - Whether to upload the log of parsing failure.
RuleAppliersRuleExtractRuleFilterKeyRegex
RuleAppliersRuleExtractRuleLogTemplate
RuleAppliersRuleUserDefineRule
- Advanceds
This property is required. List<RuleAppliers Rule User Define Rule Advanced> - LogCollector extension configuration.
- Enable
Raw Log This property is required. bool - Whether to upload raw logs.
- Fields
This property is required. Dictionary<string, object> - Add constant fields to logs.
- Parse
Path Rules This property is required. List<RuleAppliers Rule User Define Rule Parse Path Rule> - 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<RuleAppliers Rule User Define Rule Plugin> - 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.
This property is required. List<RuleAppliers Rule User Define Rule Shard Hash Key> - 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. []RuleAppliers Rule User Define Rule Advanced - LogCollector extension configuration.
- Enable
Raw Log This property is required. bool - Whether to upload raw logs.
- Fields
This property is required. map[string]interface{} - Add constant fields to logs.
- Parse
Path Rules This property is required. []RuleAppliers Rule User Define Rule Parse Path Rule - 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. []RuleAppliers Rule User Define Rule Plugin - 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.
This property is required. []RuleAppliers Rule User Define Rule Shard Hash Key - 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<RuleAppliers Rule User Define Rule Advanced> - LogCollector extension configuration.
- enable
Raw Log This property is required. Boolean - Whether to upload raw logs.
- fields
This property is required. Map<String,Object> - Add constant fields to logs.
- parse
Path Rules This property is required. List<RuleAppliers Rule User Define Rule Parse Path Rule> - 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<RuleAppliers Rule User Define Rule Plugin> - 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.
This property is required. List<RuleAppliers Rule User Define Rule Shard Hash Key> - 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. 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. RuleAppliers Rule User Define Rule Advanced[] - LogCollector extension configuration.
- enable
Raw Log This property is required. boolean - Whether to upload raw logs.
- fields
This property is required. {[key: string]: any} - Add constant fields to logs.
- parse
Path Rules This property is required. RuleAppliers Rule User Define Rule Parse Path Rule[] - 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. RuleAppliers Rule User Define Rule Plugin[] - 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.
This property is required. RuleAppliers Rule User Define Rule Shard Hash Key[] - 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. 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[RuleAppliers Rule User Define Rule Advanced] - 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[RuleAppliers Rule User Define Rule Parse Path Rule] - 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[RuleAppliers Rule User Define Rule Plugin] - 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.
This property is required. Sequence[RuleAppliers Rule User Define Rule Shard Hash Key] - 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.
- enable
Raw Log This property is required. Boolean - Whether to upload raw logs.
- fields
This property is required. Map<Any> - Add constant fields to logs.
- parse
Path Rules 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.
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.
- tail
Files 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
- 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.
- 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.
- close
Eof 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.
- close
Inactive 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.
- close
Removed This property is required. Boolean - 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. Boolean - 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. 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.
- close
Eof 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.
- close
Inactive 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.
- close
Removed This property is required. boolean - 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. boolean - 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. 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.
- close
Eof 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.
- close
Inactive 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.
- close
Removed This property is required. Boolean - 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. Boolean - 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. 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.
- Path
Sample 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.
- Path
Sample 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.
- path
Sample 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.
- path
Sample 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.
- path
Sample 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
- Hash
Key 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. 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. 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. 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.
- hash
Key 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.