1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. LogControlConfig
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere

    Singleton org-wide pipeline of rules that sample, drop, replace, parse, or emit metrics from logs at ingest.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Pulumi.LogControlConfig("config", new()
        {
            Rules = new[]
            {
                new Pulumi.Inputs.LogControlConfigRuleArgs
                {
                    Filter = "service = 'sample-service' AND severity = 'debug'",
                    Mode = "ENABLED",
                    Name = "sample-debug",
                    Sample = new Pulumi.Inputs.LogControlConfigRuleSampleArgs
                    {
                        Rate = 0.01,
                    },
                    Type = "SAMPLE",
                },
                new Pulumi.Inputs.LogControlConfigRuleArgs
                {
                    Filter = "service = 'deprecated-service'",
                    Mode = "ENABLED",
                    Name = "drop-deprecated",
                    Type = "DROP",
                },
                new Pulumi.Inputs.LogControlConfigRuleArgs
                {
                    DropField = new Pulumi.Inputs.LogControlConfigRuleDropFieldArgs
                    {
                        FieldRegex = "password|secret|api_key",
                        ParentPath = new Pulumi.Inputs.LogControlConfigRuleDropFieldParentPathArgs
                        {
                            Selector = "kubernetes['labels']",
                        },
                    },
                    Filter = "service = 'api-gateway'",
                    Mode = "ENABLED",
                    Name = "drop-sensitive-fields",
                    Type = "DROP_FIELD",
                },
                new Pulumi.Inputs.LogControlConfigRuleArgs
                {
                    Filter = "service = 'api-gateway'",
                    Mode = "ENABLED",
                    Name = "shorten-trace-ids",
                    ReplaceField = new Pulumi.Inputs.LogControlConfigRuleReplaceFieldArgs
                    {
                        Field = new Pulumi.Inputs.LogControlConfigRuleReplaceFieldFieldArgs
                        {
                            Selector = "trace_id",
                        },
                        ReplaceAll = false,
                        ReplaceMode = "STATIC_VALUE",
                        ReplaceRegex = "[0-9a-f]{32}",
                        StaticValue = new Pulumi.Inputs.LogControlConfigRuleReplaceFieldStaticValueArgs
                        {
                            Value = "[trace-id]",
                        },
                    },
                    Type = "REPLACE_FIELD",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := chronosphere.NewLogControlConfig(ctx, "config", &chronosphere.LogControlConfigArgs{
    			Rules: chronosphere.LogControlConfigRuleArray{
    				&chronosphere.LogControlConfigRuleArgs{
    					Filter: pulumi.String("service = 'sample-service' AND severity = 'debug'"),
    					Mode:   pulumi.String("ENABLED"),
    					Name:   pulumi.String("sample-debug"),
    					Sample: &chronosphere.LogControlConfigRuleSampleArgs{
    						Rate: pulumi.Float64(0.01),
    					},
    					Type: pulumi.String("SAMPLE"),
    				},
    				&chronosphere.LogControlConfigRuleArgs{
    					Filter: pulumi.String("service = 'deprecated-service'"),
    					Mode:   pulumi.String("ENABLED"),
    					Name:   pulumi.String("drop-deprecated"),
    					Type:   pulumi.String("DROP"),
    				},
    				&chronosphere.LogControlConfigRuleArgs{
    					DropField: &chronosphere.LogControlConfigRuleDropFieldArgs{
    						FieldRegex: pulumi.String("password|secret|api_key"),
    						ParentPath: &chronosphere.LogControlConfigRuleDropFieldParentPathArgs{
    							Selector: pulumi.String("kubernetes['labels']"),
    						},
    					},
    					Filter: pulumi.String("service = 'api-gateway'"),
    					Mode:   pulumi.String("ENABLED"),
    					Name:   pulumi.String("drop-sensitive-fields"),
    					Type:   pulumi.String("DROP_FIELD"),
    				},
    				&chronosphere.LogControlConfigRuleArgs{
    					Filter: pulumi.String("service = 'api-gateway'"),
    					Mode:   pulumi.String("ENABLED"),
    					Name:   pulumi.String("shorten-trace-ids"),
    					ReplaceField: &chronosphere.LogControlConfigRuleReplaceFieldArgs{
    						Field: &chronosphere.LogControlConfigRuleReplaceFieldFieldArgs{
    							Selector: pulumi.String("trace_id"),
    						},
    						ReplaceAll:   pulumi.Bool(false),
    						ReplaceMode:  pulumi.String("STATIC_VALUE"),
    						ReplaceRegex: pulumi.String("[0-9a-f]{32}"),
    						StaticValue: &chronosphere.LogControlConfigRuleReplaceFieldStaticValueArgs{
    							Value: pulumi.String("[trace-id]"),
    						},
    					},
    					Type: pulumi.String("REPLACE_FIELD"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.chronosphere.LogControlConfig;
    import com.pulumi.chronosphere.LogControlConfigArgs;
    import com.pulumi.chronosphere.inputs.LogControlConfigRuleArgs;
    import com.pulumi.chronosphere.inputs.LogControlConfigRuleSampleArgs;
    import com.pulumi.chronosphere.inputs.LogControlConfigRuleDropFieldArgs;
    import com.pulumi.chronosphere.inputs.LogControlConfigRuleDropFieldParentPathArgs;
    import com.pulumi.chronosphere.inputs.LogControlConfigRuleReplaceFieldArgs;
    import com.pulumi.chronosphere.inputs.LogControlConfigRuleReplaceFieldFieldArgs;
    import com.pulumi.chronosphere.inputs.LogControlConfigRuleReplaceFieldStaticValueArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var config = new LogControlConfig("config", LogControlConfigArgs.builder()        
                .rules(            
                    LogControlConfigRuleArgs.builder()
                        .filter("service = 'sample-service' AND severity = 'debug'")
                        .mode("ENABLED")
                        .name("sample-debug")
                        .sample(LogControlConfigRuleSampleArgs.builder()
                            .rate(0.01)
                            .build())
                        .type("SAMPLE")
                        .build(),
                    LogControlConfigRuleArgs.builder()
                        .filter("service = 'deprecated-service'")
                        .mode("ENABLED")
                        .name("drop-deprecated")
                        .type("DROP")
                        .build(),
                    LogControlConfigRuleArgs.builder()
                        .dropField(LogControlConfigRuleDropFieldArgs.builder()
                            .fieldRegex("password|secret|api_key")
                            .parentPath(LogControlConfigRuleDropFieldParentPathArgs.builder()
                                .selector("kubernetes['labels']")
                                .build())
                            .build())
                        .filter("service = 'api-gateway'")
                        .mode("ENABLED")
                        .name("drop-sensitive-fields")
                        .type("DROP_FIELD")
                        .build(),
                    LogControlConfigRuleArgs.builder()
                        .filter("service = 'api-gateway'")
                        .mode("ENABLED")
                        .name("shorten-trace-ids")
                        .replaceField(LogControlConfigRuleReplaceFieldArgs.builder()
                            .field(LogControlConfigRuleReplaceFieldFieldArgs.builder()
                                .selector("trace_id")
                                .build())
                            .replaceAll(false)
                            .replaceMode("STATIC_VALUE")
                            .replaceRegex("[0-9a-f]{32}")
                            .staticValue(LogControlConfigRuleReplaceFieldStaticValueArgs.builder()
                                .value("[trace-id]")
                                .build())
                            .build())
                        .type("REPLACE_FIELD")
                        .build())
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const config = new chronosphere.LogControlConfig("config", {rules: [
        {
            filter: "service = 'sample-service' AND severity = 'debug'",
            mode: "ENABLED",
            name: "sample-debug",
            sample: {
                rate: 0.01,
            },
            type: "SAMPLE",
        },
        {
            filter: "service = 'deprecated-service'",
            mode: "ENABLED",
            name: "drop-deprecated",
            type: "DROP",
        },
        {
            dropField: {
                fieldRegex: "password|secret|api_key",
                parentPath: {
                    selector: "kubernetes['labels']",
                },
            },
            filter: "service = 'api-gateway'",
            mode: "ENABLED",
            name: "drop-sensitive-fields",
            type: "DROP_FIELD",
        },
        {
            filter: "service = 'api-gateway'",
            mode: "ENABLED",
            name: "shorten-trace-ids",
            replaceField: {
                field: {
                    selector: "trace_id",
                },
                replaceAll: false,
                replaceMode: "STATIC_VALUE",
                replaceRegex: "[0-9a-f]{32}",
                staticValue: {
                    value: "[trace-id]",
                },
            },
            type: "REPLACE_FIELD",
        },
    ]});
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    config = chronosphere.LogControlConfig("config", rules=[
        chronosphere.LogControlConfigRuleArgs(
            filter="service = 'sample-service' AND severity = 'debug'",
            mode="ENABLED",
            name="sample-debug",
            sample=chronosphere.LogControlConfigRuleSampleArgs(
                rate=0.01,
            ),
            type="SAMPLE",
        ),
        chronosphere.LogControlConfigRuleArgs(
            filter="service = 'deprecated-service'",
            mode="ENABLED",
            name="drop-deprecated",
            type="DROP",
        ),
        chronosphere.LogControlConfigRuleArgs(
            drop_field=chronosphere.LogControlConfigRuleDropFieldArgs(
                field_regex="password|secret|api_key",
                parent_path=chronosphere.LogControlConfigRuleDropFieldParentPathArgs(
                    selector="kubernetes['labels']",
                ),
            ),
            filter="service = 'api-gateway'",
            mode="ENABLED",
            name="drop-sensitive-fields",
            type="DROP_FIELD",
        ),
        chronosphere.LogControlConfigRuleArgs(
            filter="service = 'api-gateway'",
            mode="ENABLED",
            name="shorten-trace-ids",
            replace_field=chronosphere.LogControlConfigRuleReplaceFieldArgs(
                field=chronosphere.LogControlConfigRuleReplaceFieldFieldArgs(
                    selector="trace_id",
                ),
                replace_all=False,
                replace_mode="STATIC_VALUE",
                replace_regex="[0-9a-f]{32}",
                static_value=chronosphere.LogControlConfigRuleReplaceFieldStaticValueArgs(
                    value="[trace-id]",
                ),
            ),
            type="REPLACE_FIELD",
        ),
    ])
    
    resources:
      config:
        type: chronosphere:LogControlConfig
        properties:
          rules:
            - filter: service = 'sample-service' AND severity = 'debug'
              mode: ENABLED
              name: sample-debug
              sample:
                rate: 0.01
              type: SAMPLE
            - filter: service = 'deprecated-service'
              mode: ENABLED
              name: drop-deprecated
              type: DROP
            - dropField:
                fieldRegex: password|secret|api_key
                parentPath:
                  selector: kubernetes['labels']
              filter: service = 'api-gateway'
              mode: ENABLED
              name: drop-sensitive-fields
              type: DROP_FIELD
            - filter: service = 'api-gateway'
              mode: ENABLED
              name: shorten-trace-ids
              replaceField:
                field:
                  selector: trace_id
                replaceAll: false
                replaceMode: STATIC_VALUE
                replaceRegex: '[0-9a-f]{32}'
                staticValue:
                  value: '[trace-id]'
              type: REPLACE_FIELD
    

    Create LogControlConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LogControlConfig(name: string, args?: LogControlConfigArgs, opts?: CustomResourceOptions);
    @overload
    def LogControlConfig(resource_name: str,
                         args: Optional[LogControlConfigArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogControlConfig(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         rules: Optional[Sequence[LogControlConfigRuleArgs]] = None)
    func NewLogControlConfig(ctx *Context, name string, args *LogControlConfigArgs, opts ...ResourceOption) (*LogControlConfig, error)
    public LogControlConfig(string name, LogControlConfigArgs? args = null, CustomResourceOptions? opts = null)
    public LogControlConfig(String name, LogControlConfigArgs args)
    public LogControlConfig(String name, LogControlConfigArgs args, CustomResourceOptions options)
    
    type: chronosphere:LogControlConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "chronosphere_logcontrolconfig" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args LogControlConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LogControlConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LogControlConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogControlConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogControlConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var logControlConfigResource = new Pulumi.LogControlConfig("logControlConfigResource", new()
    {
        Rules = new[]
        {
            new Pulumi.Inputs.LogControlConfigRuleArgs
            {
                DropField = new Pulumi.Inputs.LogControlConfigRuleDropFieldArgs
                {
                    FieldRegex = "string",
                    ParentPath = new Pulumi.Inputs.LogControlConfigRuleDropFieldParentPathArgs
                    {
                        Selector = "string",
                    },
                },
                EmitMetrics = new Pulumi.Inputs.LogControlConfigRuleEmitMetricsArgs
                {
                    Counter = new Pulumi.Inputs.LogControlConfigRuleEmitMetricsCounterArgs
                    {
                        Value = new Pulumi.Inputs.LogControlConfigRuleEmitMetricsCounterValueArgs
                        {
                            Selector = "string",
                        },
                    },
                    DropLog = false,
                    Gauge = new Pulumi.Inputs.LogControlConfigRuleEmitMetricsGaugeArgs
                    {
                        AggregationType = "string",
                        Value = new Pulumi.Inputs.LogControlConfigRuleEmitMetricsGaugeValueArgs
                        {
                            Selector = "string",
                        },
                    },
                    Histogram = new Pulumi.Inputs.LogControlConfigRuleEmitMetricsHistogramArgs
                    {
                        Value = new Pulumi.Inputs.LogControlConfigRuleEmitMetricsHistogramValueArgs
                        {
                            Selector = "string",
                        },
                    },
                    Labels = new[]
                    {
                        new Pulumi.Inputs.LogControlConfigRuleEmitMetricsLabelArgs
                        {
                            Key = "string",
                            Value = new Pulumi.Inputs.LogControlConfigRuleEmitMetricsLabelValueArgs
                            {
                                Selector = "string",
                            },
                        },
                    },
                    Mode = "string",
                    Name = "string",
                },
                Filter = "string",
                Mode = "string",
                Name = "string",
                ParseField = new Pulumi.Inputs.LogControlConfigRuleParseFieldArgs
                {
                    Parser = new Pulumi.Inputs.LogControlConfigRuleParseFieldParserArgs
                    {
                        ParserType = "string",
                        GrokParser = new Pulumi.Inputs.LogControlConfigRuleParseFieldParserGrokParserArgs
                        {
                            Pattern = "string",
                        },
                        KeyValueParser = new Pulumi.Inputs.LogControlConfigRuleParseFieldParserKeyValueParserArgs
                        {
                            Delimiter = "string",
                            PairSeparator = "string",
                            TrimSet = "string",
                        },
                        RegexParser = new Pulumi.Inputs.LogControlConfigRuleParseFieldParserRegexParserArgs
                        {
                            Regex = "string",
                        },
                    },
                    Destination = new Pulumi.Inputs.LogControlConfigRuleParseFieldDestinationArgs
                    {
                        Selector = "string",
                    },
                    Source = new Pulumi.Inputs.LogControlConfigRuleParseFieldSourceArgs
                    {
                        Selector = "string",
                    },
                },
                ReplaceField = new Pulumi.Inputs.LogControlConfigRuleReplaceFieldArgs
                {
                    Field = new Pulumi.Inputs.LogControlConfigRuleReplaceFieldFieldArgs
                    {
                        Selector = "string",
                    },
                    MappedValue = new Pulumi.Inputs.LogControlConfigRuleReplaceFieldMappedValueArgs
                    {
                        DefaultValue = "string",
                        Pairs = new[]
                        {
                            new Pulumi.Inputs.LogControlConfigRuleReplaceFieldMappedValuePairArgs
                            {
                                Key = "string",
                                Value = "string",
                            },
                        },
                        UseDefault = false,
                    },
                    ReplaceAll = false,
                    ReplaceMode = "string",
                    ReplaceRegex = "string",
                    StaticValue = new Pulumi.Inputs.LogControlConfigRuleReplaceFieldStaticValueArgs
                    {
                        Value = "string",
                    },
                },
                Sample = new Pulumi.Inputs.LogControlConfigRuleSampleArgs
                {
                    Rate = 0,
                },
                Type = "string",
            },
        },
    });
    
    example, err := chronosphere.NewLogControlConfig(ctx, "logControlConfigResource", &chronosphere.LogControlConfigArgs{
    	Rules: chronosphere.LogControlConfigRuleArray{
    		&chronosphere.LogControlConfigRuleArgs{
    			DropField: &chronosphere.LogControlConfigRuleDropFieldArgs{
    				FieldRegex: pulumi.String("string"),
    				ParentPath: &chronosphere.LogControlConfigRuleDropFieldParentPathArgs{
    					Selector: pulumi.String("string"),
    				},
    			},
    			EmitMetrics: &chronosphere.LogControlConfigRuleEmitMetricsArgs{
    				Counter: &chronosphere.LogControlConfigRuleEmitMetricsCounterArgs{
    					Value: &chronosphere.LogControlConfigRuleEmitMetricsCounterValueArgs{
    						Selector: pulumi.String("string"),
    					},
    				},
    				DropLog: pulumi.Bool(false),
    				Gauge: &chronosphere.LogControlConfigRuleEmitMetricsGaugeArgs{
    					AggregationType: pulumi.String("string"),
    					Value: &chronosphere.LogControlConfigRuleEmitMetricsGaugeValueArgs{
    						Selector: pulumi.String("string"),
    					},
    				},
    				Histogram: &chronosphere.LogControlConfigRuleEmitMetricsHistogramArgs{
    					Value: &chronosphere.LogControlConfigRuleEmitMetricsHistogramValueArgs{
    						Selector: pulumi.String("string"),
    					},
    				},
    				Labels: chronosphere.LogControlConfigRuleEmitMetricsLabelArray{
    					&chronosphere.LogControlConfigRuleEmitMetricsLabelArgs{
    						Key: pulumi.String("string"),
    						Value: &chronosphere.LogControlConfigRuleEmitMetricsLabelValueArgs{
    							Selector: pulumi.String("string"),
    						},
    					},
    				},
    				Mode: pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    			Filter: pulumi.String("string"),
    			Mode:   pulumi.String("string"),
    			Name:   pulumi.String("string"),
    			ParseField: &chronosphere.LogControlConfigRuleParseFieldArgs{
    				Parser: &chronosphere.LogControlConfigRuleParseFieldParserArgs{
    					ParserType: pulumi.String("string"),
    					GrokParser: &chronosphere.LogControlConfigRuleParseFieldParserGrokParserArgs{
    						Pattern: pulumi.String("string"),
    					},
    					KeyValueParser: &chronosphere.LogControlConfigRuleParseFieldParserKeyValueParserArgs{
    						Delimiter:     pulumi.String("string"),
    						PairSeparator: pulumi.String("string"),
    						TrimSet:       pulumi.String("string"),
    					},
    					RegexParser: &chronosphere.LogControlConfigRuleParseFieldParserRegexParserArgs{
    						Regex: pulumi.String("string"),
    					},
    				},
    				Destination: &chronosphere.LogControlConfigRuleParseFieldDestinationArgs{
    					Selector: pulumi.String("string"),
    				},
    				Source: &chronosphere.LogControlConfigRuleParseFieldSourceArgs{
    					Selector: pulumi.String("string"),
    				},
    			},
    			ReplaceField: &chronosphere.LogControlConfigRuleReplaceFieldArgs{
    				Field: &chronosphere.LogControlConfigRuleReplaceFieldFieldArgs{
    					Selector: pulumi.String("string"),
    				},
    				MappedValue: &chronosphere.LogControlConfigRuleReplaceFieldMappedValueArgs{
    					DefaultValue: pulumi.String("string"),
    					Pairs: chronosphere.LogControlConfigRuleReplaceFieldMappedValuePairArray{
    						&chronosphere.LogControlConfigRuleReplaceFieldMappedValuePairArgs{
    							Key:   pulumi.String("string"),
    							Value: pulumi.String("string"),
    						},
    					},
    					UseDefault: pulumi.Bool(false),
    				},
    				ReplaceAll:   pulumi.Bool(false),
    				ReplaceMode:  pulumi.String("string"),
    				ReplaceRegex: pulumi.String("string"),
    				StaticValue: &chronosphere.LogControlConfigRuleReplaceFieldStaticValueArgs{
    					Value: pulumi.String("string"),
    				},
    			},
    			Sample: &chronosphere.LogControlConfigRuleSampleArgs{
    				Rate: pulumi.Float64(0),
    			},
    			Type: pulumi.String("string"),
    		},
    	},
    })
    
    resource "chronosphere_logcontrolconfig" "logControlConfigResource" {
      rules {
        drop_field = {
          field_regex = "string"
          parent_path = {
            selector = "string"
          }
        }
        emit_metrics = {
          counter = {
            value = {
              selector = "string"
            }
          }
          drop_log = false
          gauge = {
            aggregation_type = "string"
            value = {
              selector = "string"
            }
          }
          histogram = {
            value = {
              selector = "string"
            }
          }
          labels = [{
            "key" = "string"
            "value" = {
              "selector" = "string"
            }
          }]
          mode = "string"
          name = "string"
        }
        filter = "string"
        mode   = "string"
        name   = "string"
        parse_field = {
          parser = {
            parser_type = "string"
            grok_parser = {
              pattern = "string"
            }
            key_value_parser = {
              delimiter      = "string"
              pair_separator = "string"
              trim_set       = "string"
            }
            regex_parser = {
              regex = "string"
            }
          }
          destination = {
            selector = "string"
          }
          source = {
            selector = "string"
          }
        }
        replace_field = {
          field = {
            selector = "string"
          }
          mapped_value = {
            default_value = "string"
            pairs = [{
              "key"   = "string"
              "value" = "string"
            }]
            use_default = false
          }
          replace_all   = false
          replace_mode  = "string"
          replace_regex = "string"
          static_value = {
            value = "string"
          }
        }
        sample = {
          rate = 0
        }
        type = "string"
      }
    }
    
    var logControlConfigResource = new LogControlConfig("logControlConfigResource", LogControlConfigArgs.builder()
        .rules(LogControlConfigRuleArgs.builder()
            .dropField(LogControlConfigRuleDropFieldArgs.builder()
                .fieldRegex("string")
                .parentPath(LogControlConfigRuleDropFieldParentPathArgs.builder()
                    .selector("string")
                    .build())
                .build())
            .emitMetrics(LogControlConfigRuleEmitMetricsArgs.builder()
                .counter(LogControlConfigRuleEmitMetricsCounterArgs.builder()
                    .value(LogControlConfigRuleEmitMetricsCounterValueArgs.builder()
                        .selector("string")
                        .build())
                    .build())
                .dropLog(false)
                .gauge(LogControlConfigRuleEmitMetricsGaugeArgs.builder()
                    .aggregationType("string")
                    .value(LogControlConfigRuleEmitMetricsGaugeValueArgs.builder()
                        .selector("string")
                        .build())
                    .build())
                .histogram(LogControlConfigRuleEmitMetricsHistogramArgs.builder()
                    .value(LogControlConfigRuleEmitMetricsHistogramValueArgs.builder()
                        .selector("string")
                        .build())
                    .build())
                .labels(LogControlConfigRuleEmitMetricsLabelArgs.builder()
                    .key("string")
                    .value(LogControlConfigRuleEmitMetricsLabelValueArgs.builder()
                        .selector("string")
                        .build())
                    .build())
                .mode("string")
                .name("string")
                .build())
            .filter("string")
            .mode("string")
            .name("string")
            .parseField(LogControlConfigRuleParseFieldArgs.builder()
                .parser(LogControlConfigRuleParseFieldParserArgs.builder()
                    .parserType("string")
                    .grokParser(LogControlConfigRuleParseFieldParserGrokParserArgs.builder()
                        .pattern("string")
                        .build())
                    .keyValueParser(LogControlConfigRuleParseFieldParserKeyValueParserArgs.builder()
                        .delimiter("string")
                        .pairSeparator("string")
                        .trimSet("string")
                        .build())
                    .regexParser(LogControlConfigRuleParseFieldParserRegexParserArgs.builder()
                        .regex("string")
                        .build())
                    .build())
                .destination(LogControlConfigRuleParseFieldDestinationArgs.builder()
                    .selector("string")
                    .build())
                .source(LogControlConfigRuleParseFieldSourceArgs.builder()
                    .selector("string")
                    .build())
                .build())
            .replaceField(LogControlConfigRuleReplaceFieldArgs.builder()
                .field(LogControlConfigRuleReplaceFieldFieldArgs.builder()
                    .selector("string")
                    .build())
                .mappedValue(LogControlConfigRuleReplaceFieldMappedValueArgs.builder()
                    .defaultValue("string")
                    .pairs(LogControlConfigRuleReplaceFieldMappedValuePairArgs.builder()
                        .key("string")
                        .value("string")
                        .build())
                    .useDefault(false)
                    .build())
                .replaceAll(false)
                .replaceMode("string")
                .replaceRegex("string")
                .staticValue(LogControlConfigRuleReplaceFieldStaticValueArgs.builder()
                    .value("string")
                    .build())
                .build())
            .sample(LogControlConfigRuleSampleArgs.builder()
                .rate(0.0)
                .build())
            .type("string")
            .build())
        .build());
    
    log_control_config_resource = chronosphere.LogControlConfig("logControlConfigResource", rules=[{
        "drop_field": {
            "field_regex": "string",
            "parent_path": {
                "selector": "string",
            },
        },
        "emit_metrics": {
            "counter": {
                "value": {
                    "selector": "string",
                },
            },
            "drop_log": False,
            "gauge": {
                "aggregation_type": "string",
                "value": {
                    "selector": "string",
                },
            },
            "histogram": {
                "value": {
                    "selector": "string",
                },
            },
            "labels": [{
                "key": "string",
                "value": {
                    "selector": "string",
                },
            }],
            "mode": "string",
            "name": "string",
        },
        "filter": "string",
        "mode": "string",
        "name": "string",
        "parse_field": {
            "parser": {
                "parser_type": "string",
                "grok_parser": {
                    "pattern": "string",
                },
                "key_value_parser": {
                    "delimiter": "string",
                    "pair_separator": "string",
                    "trim_set": "string",
                },
                "regex_parser": {
                    "regex": "string",
                },
            },
            "destination": {
                "selector": "string",
            },
            "source": {
                "selector": "string",
            },
        },
        "replace_field": {
            "field": {
                "selector": "string",
            },
            "mapped_value": {
                "default_value": "string",
                "pairs": [{
                    "key": "string",
                    "value": "string",
                }],
                "use_default": False,
            },
            "replace_all": False,
            "replace_mode": "string",
            "replace_regex": "string",
            "static_value": {
                "value": "string",
            },
        },
        "sample": {
            "rate": float(0),
        },
        "type": "string",
    }])
    
    const logControlConfigResource = new chronosphere.LogControlConfig("logControlConfigResource", {rules: [{
        dropField: {
            fieldRegex: "string",
            parentPath: {
                selector: "string",
            },
        },
        emitMetrics: {
            counter: {
                value: {
                    selector: "string",
                },
            },
            dropLog: false,
            gauge: {
                aggregationType: "string",
                value: {
                    selector: "string",
                },
            },
            histogram: {
                value: {
                    selector: "string",
                },
            },
            labels: [{
                key: "string",
                value: {
                    selector: "string",
                },
            }],
            mode: "string",
            name: "string",
        },
        filter: "string",
        mode: "string",
        name: "string",
        parseField: {
            parser: {
                parserType: "string",
                grokParser: {
                    pattern: "string",
                },
                keyValueParser: {
                    delimiter: "string",
                    pairSeparator: "string",
                    trimSet: "string",
                },
                regexParser: {
                    regex: "string",
                },
            },
            destination: {
                selector: "string",
            },
            source: {
                selector: "string",
            },
        },
        replaceField: {
            field: {
                selector: "string",
            },
            mappedValue: {
                defaultValue: "string",
                pairs: [{
                    key: "string",
                    value: "string",
                }],
                useDefault: false,
            },
            replaceAll: false,
            replaceMode: "string",
            replaceRegex: "string",
            staticValue: {
                value: "string",
            },
        },
        sample: {
            rate: 0,
        },
        type: "string",
    }]});
    
    type: chronosphere:LogControlConfig
    properties:
        rules:
            - dropField:
                fieldRegex: string
                parentPath:
                    selector: string
              emitMetrics:
                counter:
                    value:
                        selector: string
                dropLog: false
                gauge:
                    aggregationType: string
                    value:
                        selector: string
                histogram:
                    value:
                        selector: string
                labels:
                    - key: string
                      value:
                        selector: string
                mode: string
                name: string
              filter: string
              mode: string
              name: string
              parseField:
                destination:
                    selector: string
                parser:
                    grokParser:
                        pattern: string
                    keyValueParser:
                        delimiter: string
                        pairSeparator: string
                        trimSet: string
                    parserType: string
                    regexParser:
                        regex: string
                source:
                    selector: string
              replaceField:
                field:
                    selector: string
                mappedValue:
                    defaultValue: string
                    pairs:
                        - key: string
                          value: string
                    useDefault: false
                replaceAll: false
                replaceMode: string
                replaceRegex: string
                staticValue:
                    value: string
              sample:
                rate: 0
              type: string
    

    LogControlConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The LogControlConfig resource accepts the following input properties:

    Rules List<Chronosphere.Pulumi.Inputs.LogControlConfigRule>
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    Rules []LogControlConfigRuleArgs
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules list(object)
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules List<LogControlConfigRule>
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules LogControlConfigRule[]
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules Sequence[LogControlConfigRuleArgs]
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules List<Property Map>
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LogControlConfig resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LogControlConfig Resource

    Get an existing LogControlConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LogControlConfigState, opts?: CustomResourceOptions): LogControlConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            rules: Optional[Sequence[LogControlConfigRuleArgs]] = None) -> LogControlConfig
    func GetLogControlConfig(ctx *Context, name string, id IDInput, state *LogControlConfigState, opts ...ResourceOption) (*LogControlConfig, error)
    public static LogControlConfig Get(string name, Input<string> id, LogControlConfigState? state, CustomResourceOptions? opts = null)
    public static LogControlConfig get(String name, Output<String> id, LogControlConfigState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:LogControlConfig    get:      id: ${id}
    import {
      to = chronosphere_logcontrolconfig.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Rules List<Chronosphere.Pulumi.Inputs.LogControlConfigRule>
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    Rules []LogControlConfigRuleArgs
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules list(object)
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules List<LogControlConfigRule>
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules LogControlConfigRule[]
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules Sequence[LogControlConfigRuleArgs]
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.
    rules List<Property Map>
    Ordered list of log control rules applied to the log ingest pipeline. Rules are evaluated in order.

    Supporting Types

    LogControlConfigRule, LogControlConfigRuleArgs

    DropField Chronosphere.Pulumi.Inputs.LogControlConfigRuleDropField
    Configuration for the DROP_FIELD action, which removes fields from matching logs.
    EmitMetrics Chronosphere.Pulumi.Inputs.LogControlConfigRuleEmitMetrics
    Configuration for the EMIT_METRICS action, which derives Prometheus metrics from matching logs.
    Filter string
    Log query filter that selects matching logs. The control action applies only to logs that match.
    Mode string
    Execution mode for the rule (for example, ENABLED or DISABLED).
    Name string
    User-defined name for the control rule.
    ParseField Chronosphere.Pulumi.Inputs.LogControlConfigRuleParseField
    Configuration for the PARSE_FIELD action, which parses a field with a regex, key/value, or grok parser and writes the result to another field.
    ReplaceField Chronosphere.Pulumi.Inputs.LogControlConfigRuleReplaceField
    Configuration for the REPLACE_FIELD action, which rewrites field values in matching logs.
    Sample Chronosphere.Pulumi.Inputs.LogControlConfigRuleSample
    Configuration for the SAMPLE_LOGS action, which keeps a fraction of matching logs.
    Type string
    Type of control action this rule performs. Exactly one of the matching action blocks (sample, drop_field, emit_metrics, replace_field, parse_field) must be configured.
    DropField LogControlConfigRuleDropField
    Configuration for the DROP_FIELD action, which removes fields from matching logs.
    EmitMetrics LogControlConfigRuleEmitMetrics
    Configuration for the EMIT_METRICS action, which derives Prometheus metrics from matching logs.
    Filter string
    Log query filter that selects matching logs. The control action applies only to logs that match.
    Mode string
    Execution mode for the rule (for example, ENABLED or DISABLED).
    Name string
    User-defined name for the control rule.
    ParseField LogControlConfigRuleParseField
    Configuration for the PARSE_FIELD action, which parses a field with a regex, key/value, or grok parser and writes the result to another field.
    ReplaceField LogControlConfigRuleReplaceField
    Configuration for the REPLACE_FIELD action, which rewrites field values in matching logs.
    Sample LogControlConfigRuleSample
    Configuration for the SAMPLE_LOGS action, which keeps a fraction of matching logs.
    Type string
    Type of control action this rule performs. Exactly one of the matching action blocks (sample, drop_field, emit_metrics, replace_field, parse_field) must be configured.
    drop_field object
    Configuration for the DROP_FIELD action, which removes fields from matching logs.
    emit_metrics object
    Configuration for the EMIT_METRICS action, which derives Prometheus metrics from matching logs.
    filter string
    Log query filter that selects matching logs. The control action applies only to logs that match.
    mode string
    Execution mode for the rule (for example, ENABLED or DISABLED).
    name string
    User-defined name for the control rule.
    parse_field object
    Configuration for the PARSE_FIELD action, which parses a field with a regex, key/value, or grok parser and writes the result to another field.
    replace_field object
    Configuration for the REPLACE_FIELD action, which rewrites field values in matching logs.
    sample object
    Configuration for the SAMPLE_LOGS action, which keeps a fraction of matching logs.
    type string
    Type of control action this rule performs. Exactly one of the matching action blocks (sample, drop_field, emit_metrics, replace_field, parse_field) must be configured.
    dropField LogControlConfigRuleDropField
    Configuration for the DROP_FIELD action, which removes fields from matching logs.
    emitMetrics LogControlConfigRuleEmitMetrics
    Configuration for the EMIT_METRICS action, which derives Prometheus metrics from matching logs.
    filter String
    Log query filter that selects matching logs. The control action applies only to logs that match.
    mode String
    Execution mode for the rule (for example, ENABLED or DISABLED).
    name String
    User-defined name for the control rule.
    parseField LogControlConfigRuleParseField
    Configuration for the PARSE_FIELD action, which parses a field with a regex, key/value, or grok parser and writes the result to another field.
    replaceField LogControlConfigRuleReplaceField
    Configuration for the REPLACE_FIELD action, which rewrites field values in matching logs.
    sample LogControlConfigRuleSample
    Configuration for the SAMPLE_LOGS action, which keeps a fraction of matching logs.
    type String
    Type of control action this rule performs. Exactly one of the matching action blocks (sample, drop_field, emit_metrics, replace_field, parse_field) must be configured.
    dropField LogControlConfigRuleDropField
    Configuration for the DROP_FIELD action, which removes fields from matching logs.
    emitMetrics LogControlConfigRuleEmitMetrics
    Configuration for the EMIT_METRICS action, which derives Prometheus metrics from matching logs.
    filter string
    Log query filter that selects matching logs. The control action applies only to logs that match.
    mode string
    Execution mode for the rule (for example, ENABLED or DISABLED).
    name string
    User-defined name for the control rule.
    parseField LogControlConfigRuleParseField
    Configuration for the PARSE_FIELD action, which parses a field with a regex, key/value, or grok parser and writes the result to another field.
    replaceField LogControlConfigRuleReplaceField
    Configuration for the REPLACE_FIELD action, which rewrites field values in matching logs.
    sample LogControlConfigRuleSample
    Configuration for the SAMPLE_LOGS action, which keeps a fraction of matching logs.
    type string
    Type of control action this rule performs. Exactly one of the matching action blocks (sample, drop_field, emit_metrics, replace_field, parse_field) must be configured.
    drop_field LogControlConfigRuleDropField
    Configuration for the DROP_FIELD action, which removes fields from matching logs.
    emit_metrics LogControlConfigRuleEmitMetrics
    Configuration for the EMIT_METRICS action, which derives Prometheus metrics from matching logs.
    filter str
    Log query filter that selects matching logs. The control action applies only to logs that match.
    mode str
    Execution mode for the rule (for example, ENABLED or DISABLED).
    name str
    User-defined name for the control rule.
    parse_field LogControlConfigRuleParseField
    Configuration for the PARSE_FIELD action, which parses a field with a regex, key/value, or grok parser and writes the result to another field.
    replace_field LogControlConfigRuleReplaceField
    Configuration for the REPLACE_FIELD action, which rewrites field values in matching logs.
    sample LogControlConfigRuleSample
    Configuration for the SAMPLE_LOGS action, which keeps a fraction of matching logs.
    type str
    Type of control action this rule performs. Exactly one of the matching action blocks (sample, drop_field, emit_metrics, replace_field, parse_field) must be configured.
    dropField Property Map
    Configuration for the DROP_FIELD action, which removes fields from matching logs.
    emitMetrics Property Map
    Configuration for the EMIT_METRICS action, which derives Prometheus metrics from matching logs.
    filter String
    Log query filter that selects matching logs. The control action applies only to logs that match.
    mode String
    Execution mode for the rule (for example, ENABLED or DISABLED).
    name String
    User-defined name for the control rule.
    parseField Property Map
    Configuration for the PARSE_FIELD action, which parses a field with a regex, key/value, or grok parser and writes the result to another field.
    replaceField Property Map
    Configuration for the REPLACE_FIELD action, which rewrites field values in matching logs.
    sample Property Map
    Configuration for the SAMPLE_LOGS action, which keeps a fraction of matching logs.
    type String
    Type of control action this rule performs. Exactly one of the matching action blocks (sample, drop_field, emit_metrics, replace_field, parse_field) must be configured.

    LogControlConfigRuleDropField, LogControlConfigRuleDropFieldArgs

    FieldRegex string
    Regular expression that selects which fields to drop.
    ParentPath Chronosphere.Pulumi.Inputs.LogControlConfigRuleDropFieldParentPath
    Path to a field within a log record.
    FieldRegex string
    Regular expression that selects which fields to drop.
    ParentPath LogControlConfigRuleDropFieldParentPath
    Path to a field within a log record.
    field_regex string
    Regular expression that selects which fields to drop.
    parent_path object
    Path to a field within a log record.
    fieldRegex String
    Regular expression that selects which fields to drop.
    parentPath LogControlConfigRuleDropFieldParentPath
    Path to a field within a log record.
    fieldRegex string
    Regular expression that selects which fields to drop.
    parentPath LogControlConfigRuleDropFieldParentPath
    Path to a field within a log record.
    field_regex str
    Regular expression that selects which fields to drop.
    parent_path LogControlConfigRuleDropFieldParentPath
    Path to a field within a log record.
    fieldRegex String
    Regular expression that selects which fields to drop.
    parentPath Property Map
    Path to a field within a log record.

    LogControlConfigRuleDropFieldParentPath, LogControlConfigRuleDropFieldParentPathArgs

    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector str
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.

    LogControlConfigRuleEmitMetrics, LogControlConfigRuleEmitMetricsArgs

    Counter Chronosphere.Pulumi.Inputs.LogControlConfigRuleEmitMetricsCounter
    Emit a counter metric. Exactly one of counter, gauge, or histogram must be set.
    DropLog bool
    If true, drops the entire log after emitting the metric.
    Gauge Chronosphere.Pulumi.Inputs.LogControlConfigRuleEmitMetricsGauge
    Emit a gauge metric. Exactly one of counter, gauge, or histogram must be set.
    Histogram Chronosphere.Pulumi.Inputs.LogControlConfigRuleEmitMetricsHistogram
    Emit a histogram metric. Exactly one of counter, gauge, or histogram must be set.
    Labels List<Chronosphere.Pulumi.Inputs.LogControlConfigRuleEmitMetricsLabel>
    Labels to attach to the generated metric, specified as key/value pairs mapping a Prometheus label name to a log field path.
    Mode string
    Metric emission mode that controls how the metric is generated from matching logs.
    Name string
    Name of the generated metric. Must conform to Prometheus naming conventions and be unique within the tenant.
    Counter LogControlConfigRuleEmitMetricsCounter
    Emit a counter metric. Exactly one of counter, gauge, or histogram must be set.
    DropLog bool
    If true, drops the entire log after emitting the metric.
    Gauge LogControlConfigRuleEmitMetricsGauge
    Emit a gauge metric. Exactly one of counter, gauge, or histogram must be set.
    Histogram LogControlConfigRuleEmitMetricsHistogram
    Emit a histogram metric. Exactly one of counter, gauge, or histogram must be set.
    Labels []LogControlConfigRuleEmitMetricsLabel
    Labels to attach to the generated metric, specified as key/value pairs mapping a Prometheus label name to a log field path.
    Mode string
    Metric emission mode that controls how the metric is generated from matching logs.
    Name string
    Name of the generated metric. Must conform to Prometheus naming conventions and be unique within the tenant.
    counter object
    Emit a counter metric. Exactly one of counter, gauge, or histogram must be set.
    drop_log bool
    If true, drops the entire log after emitting the metric.
    gauge object
    Emit a gauge metric. Exactly one of counter, gauge, or histogram must be set.
    histogram object
    Emit a histogram metric. Exactly one of counter, gauge, or histogram must be set.
    labels list(object)
    Labels to attach to the generated metric, specified as key/value pairs mapping a Prometheus label name to a log field path.
    mode string
    Metric emission mode that controls how the metric is generated from matching logs.
    name string
    Name of the generated metric. Must conform to Prometheus naming conventions and be unique within the tenant.
    counter LogControlConfigRuleEmitMetricsCounter
    Emit a counter metric. Exactly one of counter, gauge, or histogram must be set.
    dropLog Boolean
    If true, drops the entire log after emitting the metric.
    gauge LogControlConfigRuleEmitMetricsGauge
    Emit a gauge metric. Exactly one of counter, gauge, or histogram must be set.
    histogram LogControlConfigRuleEmitMetricsHistogram
    Emit a histogram metric. Exactly one of counter, gauge, or histogram must be set.
    labels List<LogControlConfigRuleEmitMetricsLabel>
    Labels to attach to the generated metric, specified as key/value pairs mapping a Prometheus label name to a log field path.
    mode String
    Metric emission mode that controls how the metric is generated from matching logs.
    name String
    Name of the generated metric. Must conform to Prometheus naming conventions and be unique within the tenant.
    counter LogControlConfigRuleEmitMetricsCounter
    Emit a counter metric. Exactly one of counter, gauge, or histogram must be set.
    dropLog boolean
    If true, drops the entire log after emitting the metric.
    gauge LogControlConfigRuleEmitMetricsGauge
    Emit a gauge metric. Exactly one of counter, gauge, or histogram must be set.
    histogram LogControlConfigRuleEmitMetricsHistogram
    Emit a histogram metric. Exactly one of counter, gauge, or histogram must be set.
    labels LogControlConfigRuleEmitMetricsLabel[]
    Labels to attach to the generated metric, specified as key/value pairs mapping a Prometheus label name to a log field path.
    mode string
    Metric emission mode that controls how the metric is generated from matching logs.
    name string
    Name of the generated metric. Must conform to Prometheus naming conventions and be unique within the tenant.
    counter LogControlConfigRuleEmitMetricsCounter
    Emit a counter metric. Exactly one of counter, gauge, or histogram must be set.
    drop_log bool
    If true, drops the entire log after emitting the metric.
    gauge LogControlConfigRuleEmitMetricsGauge
    Emit a gauge metric. Exactly one of counter, gauge, or histogram must be set.
    histogram LogControlConfigRuleEmitMetricsHistogram
    Emit a histogram metric. Exactly one of counter, gauge, or histogram must be set.
    labels Sequence[LogControlConfigRuleEmitMetricsLabel]
    Labels to attach to the generated metric, specified as key/value pairs mapping a Prometheus label name to a log field path.
    mode str
    Metric emission mode that controls how the metric is generated from matching logs.
    name str
    Name of the generated metric. Must conform to Prometheus naming conventions and be unique within the tenant.
    counter Property Map
    Emit a counter metric. Exactly one of counter, gauge, or histogram must be set.
    dropLog Boolean
    If true, drops the entire log after emitting the metric.
    gauge Property Map
    Emit a gauge metric. Exactly one of counter, gauge, or histogram must be set.
    histogram Property Map
    Emit a histogram metric. Exactly one of counter, gauge, or histogram must be set.
    labels List<Property Map>
    Labels to attach to the generated metric, specified as key/value pairs mapping a Prometheus label name to a log field path.
    mode String
    Metric emission mode that controls how the metric is generated from matching logs.
    name String
    Name of the generated metric. Must conform to Prometheus naming conventions and be unique within the tenant.

    LogControlConfigRuleEmitMetricsCounter, LogControlConfigRuleEmitMetricsCounterArgs

    Value LogControlConfigRuleEmitMetricsCounterValue
    Path to a field within a log record.
    value object
    Path to a field within a log record.
    value LogControlConfigRuleEmitMetricsCounterValue
    Path to a field within a log record.
    value LogControlConfigRuleEmitMetricsCounterValue
    Path to a field within a log record.
    value LogControlConfigRuleEmitMetricsCounterValue
    Path to a field within a log record.
    value Property Map
    Path to a field within a log record.

    LogControlConfigRuleEmitMetricsCounterValue, LogControlConfigRuleEmitMetricsCounterValueArgs

    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector str
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.

    LogControlConfigRuleEmitMetricsGauge, LogControlConfigRuleEmitMetricsGaugeArgs

    AggregationType string
    How multiple values are aggregated into the emitted gauge (for example, LAST, MIN, MAX).
    Value Chronosphere.Pulumi.Inputs.LogControlConfigRuleEmitMetricsGaugeValue
    Path to a field within a log record.
    AggregationType string
    How multiple values are aggregated into the emitted gauge (for example, LAST, MIN, MAX).
    Value LogControlConfigRuleEmitMetricsGaugeValue
    Path to a field within a log record.
    aggregation_type string
    How multiple values are aggregated into the emitted gauge (for example, LAST, MIN, MAX).
    value object
    Path to a field within a log record.
    aggregationType String
    How multiple values are aggregated into the emitted gauge (for example, LAST, MIN, MAX).
    value LogControlConfigRuleEmitMetricsGaugeValue
    Path to a field within a log record.
    aggregationType string
    How multiple values are aggregated into the emitted gauge (for example, LAST, MIN, MAX).
    value LogControlConfigRuleEmitMetricsGaugeValue
    Path to a field within a log record.
    aggregation_type str
    How multiple values are aggregated into the emitted gauge (for example, LAST, MIN, MAX).
    value LogControlConfigRuleEmitMetricsGaugeValue
    Path to a field within a log record.
    aggregationType String
    How multiple values are aggregated into the emitted gauge (for example, LAST, MIN, MAX).
    value Property Map
    Path to a field within a log record.

    LogControlConfigRuleEmitMetricsGaugeValue, LogControlConfigRuleEmitMetricsGaugeValueArgs

    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector str
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.

    LogControlConfigRuleEmitMetricsHistogram, LogControlConfigRuleEmitMetricsHistogramArgs

    Value LogControlConfigRuleEmitMetricsHistogramValue
    Path to a field within a log record.
    value object
    Path to a field within a log record.
    value LogControlConfigRuleEmitMetricsHistogramValue
    Path to a field within a log record.
    value LogControlConfigRuleEmitMetricsHistogramValue
    Path to a field within a log record.
    value LogControlConfigRuleEmitMetricsHistogramValue
    Path to a field within a log record.
    value Property Map
    Path to a field within a log record.

    LogControlConfigRuleEmitMetricsHistogramValue, LogControlConfigRuleEmitMetricsHistogramValueArgs

    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector str
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.

    LogControlConfigRuleEmitMetricsLabel, LogControlConfigRuleEmitMetricsLabelArgs

    Key string
    Prometheus label name to set on the emitted metric.
    Value Chronosphere.Pulumi.Inputs.LogControlConfigRuleEmitMetricsLabelValue
    Path to a field within a log record.
    Key string
    Prometheus label name to set on the emitted metric.
    Value LogControlConfigRuleEmitMetricsLabelValue
    Path to a field within a log record.
    key string
    Prometheus label name to set on the emitted metric.
    value object
    Path to a field within a log record.
    key String
    Prometheus label name to set on the emitted metric.
    value LogControlConfigRuleEmitMetricsLabelValue
    Path to a field within a log record.
    key string
    Prometheus label name to set on the emitted metric.
    value LogControlConfigRuleEmitMetricsLabelValue
    Path to a field within a log record.
    key str
    Prometheus label name to set on the emitted metric.
    value LogControlConfigRuleEmitMetricsLabelValue
    Path to a field within a log record.
    key String
    Prometheus label name to set on the emitted metric.
    value Property Map
    Path to a field within a log record.

    LogControlConfigRuleEmitMetricsLabelValue, LogControlConfigRuleEmitMetricsLabelValueArgs

    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector str
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.

    LogControlConfigRuleParseField, LogControlConfigRuleParseFieldArgs

    Parser Chronosphere.Pulumi.Inputs.LogControlConfigRuleParseFieldParser
    Parser configuration. Exactly one of regex_parser, key_value_parser, or grok_parser must be set, matching parser_type.
    Destination Chronosphere.Pulumi.Inputs.LogControlConfigRuleParseFieldDestination
    Path to a field within a log record.
    Source Chronosphere.Pulumi.Inputs.LogControlConfigRuleParseFieldSource
    Path to a field within a log record.
    Parser LogControlConfigRuleParseFieldParser
    Parser configuration. Exactly one of regex_parser, key_value_parser, or grok_parser must be set, matching parser_type.
    Destination LogControlConfigRuleParseFieldDestination
    Path to a field within a log record.
    Source LogControlConfigRuleParseFieldSource
    Path to a field within a log record.
    parser object
    Parser configuration. Exactly one of regex_parser, key_value_parser, or grok_parser must be set, matching parser_type.
    destination object
    Path to a field within a log record.
    source object
    Path to a field within a log record.
    parser LogControlConfigRuleParseFieldParser
    Parser configuration. Exactly one of regex_parser, key_value_parser, or grok_parser must be set, matching parser_type.
    destination LogControlConfigRuleParseFieldDestination
    Path to a field within a log record.
    source LogControlConfigRuleParseFieldSource
    Path to a field within a log record.
    parser LogControlConfigRuleParseFieldParser
    Parser configuration. Exactly one of regex_parser, key_value_parser, or grok_parser must be set, matching parser_type.
    destination LogControlConfigRuleParseFieldDestination
    Path to a field within a log record.
    source LogControlConfigRuleParseFieldSource
    Path to a field within a log record.
    parser LogControlConfigRuleParseFieldParser
    Parser configuration. Exactly one of regex_parser, key_value_parser, or grok_parser must be set, matching parser_type.
    destination LogControlConfigRuleParseFieldDestination
    Path to a field within a log record.
    source LogControlConfigRuleParseFieldSource
    Path to a field within a log record.
    parser Property Map
    Parser configuration. Exactly one of regex_parser, key_value_parser, or grok_parser must be set, matching parser_type.
    destination Property Map
    Path to a field within a log record.
    source Property Map
    Path to a field within a log record.

    LogControlConfigRuleParseFieldDestination, LogControlConfigRuleParseFieldDestinationArgs

    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector str
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.

    LogControlConfigRuleParseFieldParser, LogControlConfigRuleParseFieldParserArgs

    ParserType string
    Type of parser to apply. Determines which of regex_parser, key_value_parser, or grok_parser must be set.
    GrokParser Chronosphere.Pulumi.Inputs.LogControlConfigRuleParseFieldParserGrokParser
    Grok parser configuration. Only set when parser_type is GROK.
    KeyValueParser Chronosphere.Pulumi.Inputs.LogControlConfigRuleParseFieldParserKeyValueParser
    Key/value parser configuration. Only set when parser_type is KEY_VALUE. Duplicate keys keep the first occurrence.
    RegexParser Chronosphere.Pulumi.Inputs.LogControlConfigRuleParseFieldParserRegexParser
    Regex parser configuration. Only set when parser_type is REGEX.
    ParserType string
    Type of parser to apply. Determines which of regex_parser, key_value_parser, or grok_parser must be set.
    GrokParser LogControlConfigRuleParseFieldParserGrokParser
    Grok parser configuration. Only set when parser_type is GROK.
    KeyValueParser LogControlConfigRuleParseFieldParserKeyValueParser
    Key/value parser configuration. Only set when parser_type is KEY_VALUE. Duplicate keys keep the first occurrence.
    RegexParser LogControlConfigRuleParseFieldParserRegexParser
    Regex parser configuration. Only set when parser_type is REGEX.
    parser_type string
    Type of parser to apply. Determines which of regex_parser, key_value_parser, or grok_parser must be set.
    grok_parser object
    Grok parser configuration. Only set when parser_type is GROK.
    key_value_parser object
    Key/value parser configuration. Only set when parser_type is KEY_VALUE. Duplicate keys keep the first occurrence.
    regex_parser object
    Regex parser configuration. Only set when parser_type is REGEX.
    parserType String
    Type of parser to apply. Determines which of regex_parser, key_value_parser, or grok_parser must be set.
    grokParser LogControlConfigRuleParseFieldParserGrokParser
    Grok parser configuration. Only set when parser_type is GROK.
    keyValueParser LogControlConfigRuleParseFieldParserKeyValueParser
    Key/value parser configuration. Only set when parser_type is KEY_VALUE. Duplicate keys keep the first occurrence.
    regexParser LogControlConfigRuleParseFieldParserRegexParser
    Regex parser configuration. Only set when parser_type is REGEX.
    parserType string
    Type of parser to apply. Determines which of regex_parser, key_value_parser, or grok_parser must be set.
    grokParser LogControlConfigRuleParseFieldParserGrokParser
    Grok parser configuration. Only set when parser_type is GROK.
    keyValueParser LogControlConfigRuleParseFieldParserKeyValueParser
    Key/value parser configuration. Only set when parser_type is KEY_VALUE. Duplicate keys keep the first occurrence.
    regexParser LogControlConfigRuleParseFieldParserRegexParser
    Regex parser configuration. Only set when parser_type is REGEX.
    parser_type str
    Type of parser to apply. Determines which of regex_parser, key_value_parser, or grok_parser must be set.
    grok_parser LogControlConfigRuleParseFieldParserGrokParser
    Grok parser configuration. Only set when parser_type is GROK.
    key_value_parser LogControlConfigRuleParseFieldParserKeyValueParser
    Key/value parser configuration. Only set when parser_type is KEY_VALUE. Duplicate keys keep the first occurrence.
    regex_parser LogControlConfigRuleParseFieldParserRegexParser
    Regex parser configuration. Only set when parser_type is REGEX.
    parserType String
    Type of parser to apply. Determines which of regex_parser, key_value_parser, or grok_parser must be set.
    grokParser Property Map
    Grok parser configuration. Only set when parser_type is GROK.
    keyValueParser Property Map
    Key/value parser configuration. Only set when parser_type is KEY_VALUE. Duplicate keys keep the first occurrence.
    regexParser Property Map
    Regex parser configuration. Only set when parser_type is REGEX.

    LogControlConfigRuleParseFieldParserGrokParser, LogControlConfigRuleParseFieldParserGrokParserArgs

    Pattern string
    Grok pattern to apply. Named capture groups become named fields in the extracted log.
    Pattern string
    Grok pattern to apply. Named capture groups become named fields in the extracted log.
    pattern string
    Grok pattern to apply. Named capture groups become named fields in the extracted log.
    pattern String
    Grok pattern to apply. Named capture groups become named fields in the extracted log.
    pattern string
    Grok pattern to apply. Named capture groups become named fields in the extracted log.
    pattern str
    Grok pattern to apply. Named capture groups become named fields in the extracted log.
    pattern String
    Grok pattern to apply. Named capture groups become named fields in the extracted log.

    LogControlConfigRuleParseFieldParserKeyValueParser, LogControlConfigRuleParseFieldParserKeyValueParserArgs

    Delimiter string
    String used to split the input into individual key/value pairs.
    PairSeparator string
    String used to split each pair into a key and value.
    TrimSet string
    Unicode code points to trim from the beginning and end of each key and value.
    Delimiter string
    String used to split the input into individual key/value pairs.
    PairSeparator string
    String used to split each pair into a key and value.
    TrimSet string
    Unicode code points to trim from the beginning and end of each key and value.
    delimiter string
    String used to split the input into individual key/value pairs.
    pair_separator string
    String used to split each pair into a key and value.
    trim_set string
    Unicode code points to trim from the beginning and end of each key and value.
    delimiter String
    String used to split the input into individual key/value pairs.
    pairSeparator String
    String used to split each pair into a key and value.
    trimSet String
    Unicode code points to trim from the beginning and end of each key and value.
    delimiter string
    String used to split the input into individual key/value pairs.
    pairSeparator string
    String used to split each pair into a key and value.
    trimSet string
    Unicode code points to trim from the beginning and end of each key and value.
    delimiter str
    String used to split the input into individual key/value pairs.
    pair_separator str
    String used to split each pair into a key and value.
    trim_set str
    Unicode code points to trim from the beginning and end of each key and value.
    delimiter String
    String used to split the input into individual key/value pairs.
    pairSeparator String
    String used to split each pair into a key and value.
    trimSet String
    Unicode code points to trim from the beginning and end of each key and value.

    LogControlConfigRuleParseFieldParserRegexParser, LogControlConfigRuleParseFieldParserRegexParserArgs

    Regex string
    RE2 regular expression pattern. Named capturing groups become named fields in the extracted log.
    Regex string
    RE2 regular expression pattern. Named capturing groups become named fields in the extracted log.
    regex string
    RE2 regular expression pattern. Named capturing groups become named fields in the extracted log.
    regex String
    RE2 regular expression pattern. Named capturing groups become named fields in the extracted log.
    regex string
    RE2 regular expression pattern. Named capturing groups become named fields in the extracted log.
    regex str
    RE2 regular expression pattern. Named capturing groups become named fields in the extracted log.
    regex String
    RE2 regular expression pattern. Named capturing groups become named fields in the extracted log.

    LogControlConfigRuleParseFieldSource, LogControlConfigRuleParseFieldSourceArgs

    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector str
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.

    LogControlConfigRuleReplaceField, LogControlConfigRuleReplaceFieldArgs

    Field Chronosphere.Pulumi.Inputs.LogControlConfigRuleReplaceFieldField
    Path to a field within a log record.
    MappedValue Chronosphere.Pulumi.Inputs.LogControlConfigRuleReplaceFieldMappedValue
    Replace field values using a key/value lookup table. Exactly one of mapped_value or static_value must be set.
    ReplaceAll bool
    If true, replaces all matches. If false, replaces only the first match.
    ReplaceMode string
    Mode that controls how the replacement is applied to matched content.
    ReplaceRegex string
    Regular expression that selects which part of the field value to replace.
    StaticValue Chronosphere.Pulumi.Inputs.LogControlConfigRuleReplaceFieldStaticValue
    Replace matched content with a static string. Exactly one of mapped_value or static_value must be set.
    Field LogControlConfigRuleReplaceFieldField
    Path to a field within a log record.
    MappedValue LogControlConfigRuleReplaceFieldMappedValue
    Replace field values using a key/value lookup table. Exactly one of mapped_value or static_value must be set.
    ReplaceAll bool
    If true, replaces all matches. If false, replaces only the first match.
    ReplaceMode string
    Mode that controls how the replacement is applied to matched content.
    ReplaceRegex string
    Regular expression that selects which part of the field value to replace.
    StaticValue LogControlConfigRuleReplaceFieldStaticValue
    Replace matched content with a static string. Exactly one of mapped_value or static_value must be set.
    field object
    Path to a field within a log record.
    mapped_value object
    Replace field values using a key/value lookup table. Exactly one of mapped_value or static_value must be set.
    replace_all bool
    If true, replaces all matches. If false, replaces only the first match.
    replace_mode string
    Mode that controls how the replacement is applied to matched content.
    replace_regex string
    Regular expression that selects which part of the field value to replace.
    static_value object
    Replace matched content with a static string. Exactly one of mapped_value or static_value must be set.
    field LogControlConfigRuleReplaceFieldField
    Path to a field within a log record.
    mappedValue LogControlConfigRuleReplaceFieldMappedValue
    Replace field values using a key/value lookup table. Exactly one of mapped_value or static_value must be set.
    replaceAll Boolean
    If true, replaces all matches. If false, replaces only the first match.
    replaceMode String
    Mode that controls how the replacement is applied to matched content.
    replaceRegex String
    Regular expression that selects which part of the field value to replace.
    staticValue LogControlConfigRuleReplaceFieldStaticValue
    Replace matched content with a static string. Exactly one of mapped_value or static_value must be set.
    field LogControlConfigRuleReplaceFieldField
    Path to a field within a log record.
    mappedValue LogControlConfigRuleReplaceFieldMappedValue
    Replace field values using a key/value lookup table. Exactly one of mapped_value or static_value must be set.
    replaceAll boolean
    If true, replaces all matches. If false, replaces only the first match.
    replaceMode string
    Mode that controls how the replacement is applied to matched content.
    replaceRegex string
    Regular expression that selects which part of the field value to replace.
    staticValue LogControlConfigRuleReplaceFieldStaticValue
    Replace matched content with a static string. Exactly one of mapped_value or static_value must be set.
    field LogControlConfigRuleReplaceFieldField
    Path to a field within a log record.
    mapped_value LogControlConfigRuleReplaceFieldMappedValue
    Replace field values using a key/value lookup table. Exactly one of mapped_value or static_value must be set.
    replace_all bool
    If true, replaces all matches. If false, replaces only the first match.
    replace_mode str
    Mode that controls how the replacement is applied to matched content.
    replace_regex str
    Regular expression that selects which part of the field value to replace.
    static_value LogControlConfigRuleReplaceFieldStaticValue
    Replace matched content with a static string. Exactly one of mapped_value or static_value must be set.
    field Property Map
    Path to a field within a log record.
    mappedValue Property Map
    Replace field values using a key/value lookup table. Exactly one of mapped_value or static_value must be set.
    replaceAll Boolean
    If true, replaces all matches. If false, replaces only the first match.
    replaceMode String
    Mode that controls how the replacement is applied to matched content.
    replaceRegex String
    Regular expression that selects which part of the field value to replace.
    staticValue Property Map
    Replace matched content with a static string. Exactly one of mapped_value or static_value must be set.

    LogControlConfigRuleReplaceFieldField, LogControlConfigRuleReplaceFieldFieldArgs

    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    Selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector string
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector str
    Field path selector. Use parent[child] syntax to indicate nesting.
    selector String
    Field path selector. Use parent[child] syntax to indicate nesting.

    LogControlConfigRuleReplaceFieldMappedValue, LogControlConfigRuleReplaceFieldMappedValueArgs

    DefaultValue string
    Value to substitute when no matching key is found, when use_default is true.
    Pairs List<Chronosphere.Pulumi.Inputs.LogControlConfigRuleReplaceFieldMappedValuePair>
    List of key/value pairs that map matched content to replacement values.
    UseDefault bool
    If true, falls back to default_value when no key matches. If false, leaves the value unchanged on a miss.
    DefaultValue string
    Value to substitute when no matching key is found, when use_default is true.
    Pairs []LogControlConfigRuleReplaceFieldMappedValuePair
    List of key/value pairs that map matched content to replacement values.
    UseDefault bool
    If true, falls back to default_value when no key matches. If false, leaves the value unchanged on a miss.
    default_value string
    Value to substitute when no matching key is found, when use_default is true.
    pairs list(object)
    List of key/value pairs that map matched content to replacement values.
    use_default bool
    If true, falls back to default_value when no key matches. If false, leaves the value unchanged on a miss.
    defaultValue String
    Value to substitute when no matching key is found, when use_default is true.
    pairs List<LogControlConfigRuleReplaceFieldMappedValuePair>
    List of key/value pairs that map matched content to replacement values.
    useDefault Boolean
    If true, falls back to default_value when no key matches. If false, leaves the value unchanged on a miss.
    defaultValue string
    Value to substitute when no matching key is found, when use_default is true.
    pairs LogControlConfigRuleReplaceFieldMappedValuePair[]
    List of key/value pairs that map matched content to replacement values.
    useDefault boolean
    If true, falls back to default_value when no key matches. If false, leaves the value unchanged on a miss.
    default_value str
    Value to substitute when no matching key is found, when use_default is true.
    pairs Sequence[LogControlConfigRuleReplaceFieldMappedValuePair]
    List of key/value pairs that map matched content to replacement values.
    use_default bool
    If true, falls back to default_value when no key matches. If false, leaves the value unchanged on a miss.
    defaultValue String
    Value to substitute when no matching key is found, when use_default is true.
    pairs List<Property Map>
    List of key/value pairs that map matched content to replacement values.
    useDefault Boolean
    If true, falls back to default_value when no key matches. If false, leaves the value unchanged on a miss.

    LogControlConfigRuleReplaceFieldMappedValuePair, LogControlConfigRuleReplaceFieldMappedValuePairArgs

    Key string
    Prometheus label name to set on the emitted metric.
    Value string
    Path to a field within a log record.
    Key string
    Prometheus label name to set on the emitted metric.
    Value string
    Path to a field within a log record.
    key string
    Prometheus label name to set on the emitted metric.
    value string
    Path to a field within a log record.
    key String
    Prometheus label name to set on the emitted metric.
    value String
    Path to a field within a log record.
    key string
    Prometheus label name to set on the emitted metric.
    value string
    Path to a field within a log record.
    key str
    Prometheus label name to set on the emitted metric.
    value str
    Path to a field within a log record.
    key String
    Prometheus label name to set on the emitted metric.
    value String
    Path to a field within a log record.

    LogControlConfigRuleReplaceFieldStaticValue, LogControlConfigRuleReplaceFieldStaticValueArgs

    Value string
    Path to a field within a log record.
    Value string
    Path to a field within a log record.
    value string
    Path to a field within a log record.
    value String
    Path to a field within a log record.
    value string
    Path to a field within a log record.
    value str
    Path to a field within a log record.
    value String
    Path to a field within a log record.

    LogControlConfigRuleSample, LogControlConfigRuleSampleArgs

    Rate double
    Fraction of matching logs to keep, in the range [0, 1] (for example, 0.25 keeps 25%).
    Rate float64
    Fraction of matching logs to keep, in the range [0, 1] (for example, 0.25 keeps 25%).
    rate number
    Fraction of matching logs to keep, in the range [0, 1] (for example, 0.25 keeps 25%).
    rate Double
    Fraction of matching logs to keep, in the range [0, 1] (for example, 0.25 keeps 25%).
    rate number
    Fraction of matching logs to keep, in the range [0, 1] (for example, 0.25 keeps 25%).
    rate float
    Fraction of matching logs to keep, in the range [0, 1] (for example, 0.25 keeps 25%).
    rate Number
    Fraction of matching logs to keep, in the range [0, 1] (for example, 0.25 keeps 25%).

    Package Details

    Repository
    chronosphere chronosphereio/pulumi-chronosphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the chronosphere Terraform Provider.
    Viewing docs for Chronosphere v0.9.16
    published on Friday, Jun 5, 2026 by Chronosphere

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial