Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.tls.RuleAppliers
Explore with Pulumi AI
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:
- Host
Group stringId - The host group id.
- Output
File string - File name where to save data source results.
- Host
Group stringId - The host group id.
- Output
File string - File name where to save data source results.
- host
Group StringId - The host group id.
- output
File String - File name where to save data source results.
- host
Group stringId - The host group id.
- output
File string - File name where to save data source results.
- host_
group_ strid - The host group id.
- output_
file str - File name where to save data source results.
- host
Group StringId - 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 List<RuleAppliers Rule Container Rule> - Container collection rules.
- Create
Time string - The creation time.
- Exclude
Paths List<RuleAppliers Rule Exclude Path> - Collect the blacklist list.
- Extract
Rules List<RuleAppliers Rule Extract Rule> - The extract rule.
- Input
Type int - The collection type.
- Log
Sample string - Log sample.
- Log
Type string - The log type.
- Modify
Time string - The modification time.
- Paths List<string>
- Collection path list.
- Rule
Id string - The rule id.
- Rule
Name string - The rule name.
- Topic
Id string - The topic id.
- Topic
Name string - The topic name.
- User
Define List<RuleRules Appliers Rule User Define Rule> - User-defined collection rules.
- Container
Rules []RuleAppliers Rule Container Rule - Container collection rules.
- Create
Time string - The creation time.
- Exclude
Paths []RuleAppliers Rule Exclude Path - Collect the blacklist list.
- Extract
Rules []RuleAppliers Rule Extract Rule - The extract rule.
- Input
Type int - The collection type.
- Log
Sample string - Log sample.
- Log
Type string - The log type.
- Modify
Time string - The modification time.
- Paths []string
- Collection path list.
- Rule
Id string - The rule id.
- Rule
Name string - The rule name.
- Topic
Id string - The topic id.
- Topic
Name string - The topic name.
- User
Define []RuleRules Appliers Rule User Define Rule - User-defined collection rules.
- container
Rules List<RuleAppliers Rule Container Rule> - Container collection rules.
- create
Time String - The creation time.
- exclude
Paths List<RuleAppliers Rule Exclude Path> - Collect the blacklist list.
- extract
Rules List<RuleAppliers Rule Extract Rule> - The extract rule.
- input
Type Integer - The collection type.
- log
Sample String - Log sample.
- log
Type String - The log type.
- modify
Time String - The modification time.
- paths List<String>
- Collection path list.
- rule
Id String - The rule id.
- rule
Name String - The rule name.
- topic
Id String - The topic id.
- topic
Name String - The topic name.
- user
Define List<RuleRules Appliers Rule User Define Rule> - User-defined collection rules.
- container
Rules RuleAppliers Rule Container Rule[] - Container collection rules.
- create
Time string - The creation time.
- exclude
Paths RuleAppliers Rule Exclude Path[] - Collect the blacklist list.
- extract
Rules RuleAppliers Rule Extract Rule[] - The extract rule.
- input
Type number - The collection type.
- log
Sample string - Log sample.
- log
Type string - The log type.
- modify
Time string - The modification time.
- paths string[]
- Collection path list.
- rule
Id string - The rule id.
- rule
Name string - The rule name.
- topic
Id string - The topic id.
- topic
Name string - The topic name.
- user
Define RuleRules Appliers Rule User Define Rule[] - User-defined collection rules.
- container_
rules Sequence[RuleAppliers Rule Container Rule] - Container collection rules.
- create_
time str - The creation time.
- exclude_
paths Sequence[RuleAppliers Rule Exclude Path] - Collect the blacklist list.
- extract_
rules Sequence[RuleAppliers Rule Extract Rule] - 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_ Sequence[Rulerules Appliers Rule User Define Rule] - User-defined collection rules.
- container
Rules List<Property Map> - Container collection rules.
- create
Time String - The creation time.
- exclude
Paths List<Property Map> - Collect the blacklist list.
- extract
Rules List<Property Map> - The extract rule.
- input
Type Number - The collection type.
- log
Sample String - Log sample.
- log
Type String - The log type.
- modify
Time String - The modification time.
- paths List<String>
- Collection path list.
- rule
Id String - The rule id.
- rule
Name String - The rule name.
- topic
Id String - The topic id.
- topic
Name String - The topic name.
- user
Define List<Property Map>Rules - User-defined collection rules.
RuleAppliersRuleContainerRule
- Container
Name stringRegex - The name of the container to be collected.
- Env
Tag Dictionary<string, object> - Whether to add environment variables as log tags to raw log data.
- Exclude
Container Dictionary<string, object>Env Regex - The container environment variable blacklist is used to specify the range of containers not to be collected.
- Exclude
Container Dictionary<string, object>Label Regex - The container Label blacklist is used to specify the range of containers not to be collected.
- Include
Container Dictionary<string, object>Env Regex - 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 Dictionary<string, object>Label Regex - 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 List<RuleAppliers Rule Container Rule Kubernetes Rule> - Collection rules for Kubernetes containers.
- Stream string
- The collection mode.
- Container
Name stringRegex - The name of the container to be collected.
- Env
Tag map[string]interface{} - Whether to add environment variables as log tags to raw log data.
- Exclude
Container map[string]interface{}Env Regex - The container environment variable blacklist is used to specify the range of containers not to be collected.
- Exclude
Container map[string]interface{}Label Regex - The container Label blacklist is used to specify the range of containers not to be collected.
- Include
Container map[string]interface{}Env Regex - 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 map[string]interface{}Label Regex - 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 []RuleAppliers Rule Container Rule Kubernetes Rule - Collection rules for Kubernetes containers.
- Stream string
- The collection mode.
- container
Name StringRegex - The name of the container to be collected.
- env
Tag Map<String,Object> - Whether to add environment variables as log tags to raw log data.
- exclude
Container Map<String,Object>Env Regex - The container environment variable blacklist is used to specify the range of containers not to be collected.
- exclude
Container Map<String,Object>Label Regex - The container Label blacklist is used to specify the range of containers not to be collected.
- include
Container Map<String,Object>Env Regex - 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 Map<String,Object>Label Regex - 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 List<RuleAppliers Rule Container Rule Kubernetes Rule> - Collection rules for Kubernetes containers.
- stream String
- The collection mode.
- container
Name stringRegex - The name of the container to be collected.
- env
Tag {[key: string]: any} - Whether to add environment variables as log tags to raw log data.
- exclude
Container {[key: string]: any}Env Regex - The container environment variable blacklist is used to specify the range of containers not to be collected.
- exclude
Container {[key: string]: any}Label Regex - The container Label blacklist is used to specify the range of containers not to be collected.
- include
Container {[key: string]: any}Env Regex - 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 {[key: string]: any}Label Regex - 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 RuleAppliers Rule Container Rule Kubernetes Rule[] - Collection rules for Kubernetes containers.
- stream string
- The collection mode.
- container_
name_ strregex - 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_ Mapping[str, Any]env_ regex - The container environment variable blacklist is used to specify the range of containers not to be collected.
- exclude_
container_ Mapping[str, Any]label_ regex - The container Label blacklist is used to specify the range of containers not to be collected.
- include_
container_ Mapping[str, Any]env_ regex - 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_ Mapping[str, Any]label_ regex - 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[RuleAppliers Rule Container Rule Kubernetes Rule] - Collection rules for Kubernetes containers.
- stream str
- The collection mode.
- container
Name StringRegex - The name of the container to be collected.
- env
Tag Map<Any> - Whether to add environment variables as log tags to raw log data.
- exclude
Container Map<Any>Env Regex - The container environment variable blacklist is used to specify the range of containers not to be collected.
- exclude
Container Map<Any>Label Regex - The container Label blacklist is used to specify the range of containers not to be collected.
- include
Container Map<Any>Env Regex - 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 Map<Any>Label Regex - 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 List<Property Map> - Collection rules for Kubernetes containers.
- stream String
- The collection mode.
RuleAppliersRuleContainerRuleKubernetesRule
- Annotation
Tag Dictionary<string, object> - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- Exclude
Pod Dictionary<string, object>Label Regex - Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
- Include
Pod Dictionary<string, object>Label Regex - 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 Dictionary<string, object> - Whether to add Kubernetes Label as a log label to the original log data.
- Namespace
Name stringRegex - 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 stringRegex - 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 stringRegex - 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 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 map[string]interface{} - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- Exclude
Pod map[string]interface{}Label Regex - Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
- Include
Pod map[string]interface{}Label Regex - 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 map[string]interface{} - Whether to add Kubernetes Label as a log label to the original log data.
- Namespace
Name stringRegex - 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 stringRegex - 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 stringRegex - 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 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 Map<String,Object> - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- exclude
Pod Map<String,Object>Label Regex - Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
- include
Pod Map<String,Object>Label Regex - 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 Map<String,Object> - Whether to add Kubernetes Label as a log label to the original log data.
- namespace
Name StringRegex - 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 StringRegex - 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 StringRegex - 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 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 {[key: string]: any} - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- exclude
Pod {[key: string]: any}Label Regex - Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
- include
Pod {[key: string]: any}Label Regex - 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 {[key: string]: any} - Whether to add Kubernetes Label as a log label to the original log data.
- namespace
Name stringRegex - 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 stringRegex - 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 stringRegex - 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 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_ Mapping[str, Any]label_ regex - Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
- include_
pod_ Mapping[str, Any]label_ regex - 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_ strregex - 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_ strregex - 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_ strregex - 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.
- annotation
Tag Map<Any> - Whether to add Kubernetes Annotation as a log tag to the raw log data.
- exclude
Pod Map<Any>Label Regex - Specify the containers not to be collected through the Pod Label blacklist, and not enable means to collect all containers.
- include
Pod Map<Any>Label Regex - 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 Map<Any> - Whether to add Kubernetes Label as a log label to the original log data.
- namespace
Name StringRegex - 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 StringRegex - 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 StringRegex - 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 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 string - The first log line needs to match the regular expression.
- Delimiter string
- The delimiter of the log.
- Filter
Key List<RuleRegexes Appliers Rule Extract Rule Filter Key Regex> - 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.
- Log
Regex string - The entire log needs to match the regular expression.
- Log
Templates List<RuleAppliers Rule Extract Rule Log Template> - Automatically extract log fields according to the specified log template.
- Time
Format string - Parsing format of the time field.
- Time
Key string - The field name of the log time field.
- Un
Match stringLog Key - When uploading the failed log, the key name of the failed log.
- Un
Match boolUp Load Switch - Whether to upload the log of parsing failure.
- Begin
Regex string - The first log line needs to match the regular expression.
- Delimiter string
- The delimiter of the log.
- Filter
Key []RuleRegexes Appliers Rule Extract Rule Filter Key Regex - 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.
- Log
Regex string - The entire log needs to match the regular expression.
- Log
Templates []RuleAppliers Rule Extract Rule Log Template - Automatically extract log fields according to the specified log template.
- Time
Format string - Parsing format of the time field.
- Time
Key string - The field name of the log time field.
- Un
Match stringLog Key - When uploading the failed log, the key name of the failed log.
- Un
Match boolUp Load Switch - Whether to upload the log of parsing failure.
- begin
Regex String - The first log line needs to match the regular expression.
- delimiter String
- The delimiter of the log.
- filter
Key List<RuleRegexes Appliers Rule Extract Rule Filter Key Regex> - 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.
- log
Regex String - The entire log needs to match the regular expression.
- log
Templates List<RuleAppliers Rule Extract Rule Log Template> - Automatically extract log fields according to the specified log template.
- time
Format String - Parsing format of the time field.
- time
Key String - The field name of the log time field.
- un
Match StringLog Key - When uploading the failed log, the key name of the failed log.
- un
Match BooleanUp Load Switch - Whether to upload the log of parsing failure.
- begin
Regex string - The first log line needs to match the regular expression.
- delimiter string
- The delimiter of the log.
- filter
Key RuleRegexes Appliers Rule Extract Rule Filter Key Regex[] - 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.
- log
Regex string - The entire log needs to match the regular expression.
- log
Templates RuleAppliers Rule Extract Rule Log Template[] - Automatically extract log fields according to the specified log template.
- time
Format string - Parsing format of the time field.
- time
Key string - The field name of the log time field.
- un
Match stringLog Key - When uploading the failed log, the key name of the failed log.
- un
Match booleanUp Load Switch - 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_ Sequence[Ruleregexes Appliers Rule Extract Rule Filter Key Regex] - 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[RuleAppliers Rule Extract Rule Log Template] - 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_ strlog_ key - When uploading the failed log, the key name of the failed log.
- un_
match_ boolup_ load_ switch - Whether to upload the log of parsing failure.
- begin
Regex String - The first log line needs to match the regular expression.
- delimiter String
- The delimiter of the log.
- filter
Key List<Property Map>Regexes - 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.
- log
Regex String - The entire log needs to match the regular expression.
- log
Templates List<Property Map> - Automatically extract log fields according to the specified log template.
- time
Format String - Parsing format of the time field.
- time
Key String - The field name of the log time field.
- un
Match StringLog Key - When uploading the failed log, the key name of the failed log.
- un
Match BooleanUp Load Switch - Whether to upload the log of parsing failure.
RuleAppliersRuleExtractRuleFilterKeyRegex
RuleAppliersRuleExtractRuleLogTemplate
RuleAppliersRuleUserDefineRule
- Advanceds
List<Rule
Appliers Rule User Define Rule Advanced> - LogCollector extension configuration.
- Enable
Raw boolLog - Whether to upload raw logs.
- Fields Dictionary<string, object>
- Add constant fields to logs.
- Parse
Path List<RuleRules Appliers 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
List<Rule
Appliers 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.
- List<Rule
Appliers 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 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
[]Rule
Appliers Rule User Define Rule Advanced - LogCollector extension configuration.
- Enable
Raw boolLog - Whether to upload raw logs.
- Fields map[string]interface{}
- Add constant fields to logs.
- Parse
Path []RuleRules Appliers 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
[]Rule
Appliers 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.
- []Rule
Appliers 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 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<Rule
Appliers Rule User Define Rule Advanced> - LogCollector extension configuration.
- enable
Raw BooleanLog - Whether to upload raw logs.
- fields Map<String,Object>
- Add constant fields to logs.
- parse
Path List<RuleRules Appliers 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
List<Rule
Appliers 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.
- List<Rule
Appliers 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 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
Rule
Appliers Rule User Define Rule Advanced[] - LogCollector extension configuration.
- enable
Raw booleanLog - Whether to upload raw logs.
- fields {[key: string]: any}
- Add constant fields to logs.
- parse
Path RuleRules Appliers 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
Rule
Appliers 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.
- Rule
Appliers 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 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[Rule
Appliers Rule User Define Rule Advanced] - LogCollector extension configuration.
- enable_
raw_ boollog - Whether to upload raw logs.
- fields Mapping[str, Any]
- Add constant fields to logs.
- parse_
path_ Sequence[Rulerules Appliers 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
Sequence[Rule
Appliers 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.
- Sequence[Rule
Appliers 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 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.
- enable
Raw BooleanLog - Whether to upload raw logs.
- fields Map<Any>
- Add constant fields to logs.
- parse
Path List<Property Map>Rules - 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.
- 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 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 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.
- 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.
- close
Eof Boolean - Whether to release the log file handle after reading to the end of the log file. The default is false.
- close
Inactive 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 Boolean - After the log file is removed, whether to release the handle of the log file. The default is false.
- close
Renamed Boolean - After the log file is renamed, whether to release the handle of the log file. The default is false.
- close
Timeout 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 boolean - Whether to release the log file handle after reading to the end of the log file. The default is false.
- close
Inactive 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 boolean - After the log file is removed, whether to release the handle of the log file. The default is false.
- close
Renamed boolean - After the log file is renamed, whether to release the handle of the log file. The default is false.
- close
Timeout 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.
- close
Eof Boolean - Whether to release the log file handle after reading to the end of the log file. The default is false.
- close
Inactive 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 Boolean - After the log file is removed, whether to release the handle of the log file. The default is false.
- close
Renamed Boolean - After the log file is renamed, whether to release the handle of the log file. The default is false.
- close
Timeout 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.
- Path
Sample 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.
- Path
Sample 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.
- path
Sample 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.
- path
Sample 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.
- path
Sample 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
- Hash
Key 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 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 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 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.
- hash
Key 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.