1. Packages
  2. Logzio Provider
  3. API Docs
  4. getMetricsRollupRules
logzio 1.24.0 published on Wednesday, Sep 10, 2025 by logzio

logzio.getMetricsRollupRules

Explore with Pulumi AI

logzio logo
logzio 1.24.0 published on Wednesday, Sep 10, 2025 by logzio

    # logzio.MetricsRollupRules

    Use this data source to access information about an existing Logz.io metrics rollup rule.

    Example Usage

    Get by ID

    import * as pulumi from "@pulumi/pulumi";
    import * as logzio from "@pulumi/logzio";
    
    const myRollupRule = logzio.getMetricsRollupRules({
        id: "rule_id",
    });
    const cpuRollup = logzio.getMetricsRollupRules({
        id: logzio_metrics_rollup_rules.cpu_usage_rollup.id,
    });
    
    import pulumi
    import pulumi_logzio as logzio
    
    my_rollup_rule = logzio.get_metrics_rollup_rules(id="rule_id")
    cpu_rollup = logzio.get_metrics_rollup_rules(id=logzio_metrics_rollup_rules["cpu_usage_rollup"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/logzio/logzio"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := logzio.LookupMetricsRollupRules(ctx, &logzio.LookupMetricsRollupRulesArgs{
    			Id: pulumi.StringRef("rule_id"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = logzio.LookupMetricsRollupRules(ctx, &logzio.LookupMetricsRollupRulesArgs{
    			Id: pulumi.StringRef(logzio_metrics_rollup_rules.Cpu_usage_rollup.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Logzio = Pulumi.Logzio;
    
    return await Deployment.RunAsync(() => 
    {
        var myRollupRule = Logzio.GetMetricsRollupRules.Invoke(new()
        {
            Id = "rule_id",
        });
    
        var cpuRollup = Logzio.GetMetricsRollupRules.Invoke(new()
        {
            Id = logzio_metrics_rollup_rules.Cpu_usage_rollup.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.logzio.LogzioFunctions;
    import com.pulumi.logzio.inputs.GetMetricsRollupRulesArgs;
    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 myRollupRule = LogzioFunctions.getMetricsRollupRules(GetMetricsRollupRulesArgs.builder()
                .id("rule_id")
                .build());
    
            final var cpuRollup = LogzioFunctions.getMetricsRollupRules(GetMetricsRollupRulesArgs.builder()
                .id(logzio_metrics_rollup_rules.cpu_usage_rollup().id())
                .build());
    
        }
    }
    
    variables:
      myRollupRule:
        fn::invoke:
          function: logzio:getMetricsRollupRules
          arguments:
            id: rule_id
      cpuRollup:
        fn::invoke:
          function: logzio:getMetricsRollupRules
          arguments:
            id: ${logzio_metrics_rollup_rules.cpu_usage_rollup.id}
    

    Search by attributes

    import * as pulumi from "@pulumi/pulumi";
    import * as logzio from "@pulumi/logzio";
    
    const cpuRollup = logzio.getMetricsRollupRules({
        accountId: 123456,
        metricName: "cpu_usage",
    });
    const frontendRollup = logzio.getMetricsRollupRules({
        name: "Frontend Service Metrics",
    });
    const specificRollup = logzio.getMetricsRollupRules({
        accountId: 123456,
        metricType: "GAUGE",
        name: "CPU Usage Rollup",
    });
    
    import pulumi
    import pulumi_logzio as logzio
    
    cpu_rollup = logzio.get_metrics_rollup_rules(account_id=123456,
        metric_name="cpu_usage")
    frontend_rollup = logzio.get_metrics_rollup_rules(name="Frontend Service Metrics")
    specific_rollup = logzio.get_metrics_rollup_rules(account_id=123456,
        metric_type="GAUGE",
        name="CPU Usage Rollup")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/logzio/logzio"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := logzio.LookupMetricsRollupRules(ctx, &logzio.LookupMetricsRollupRulesArgs{
    			AccountId:  pulumi.Float64Ref(123456),
    			MetricName: pulumi.StringRef("cpu_usage"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = logzio.LookupMetricsRollupRules(ctx, &logzio.LookupMetricsRollupRulesArgs{
    			Name: pulumi.StringRef("Frontend Service Metrics"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = logzio.LookupMetricsRollupRules(ctx, &logzio.LookupMetricsRollupRulesArgs{
    			AccountId:  pulumi.Float64Ref(123456),
    			MetricType: pulumi.StringRef("GAUGE"),
    			Name:       pulumi.StringRef("CPU Usage Rollup"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Logzio = Pulumi.Logzio;
    
    return await Deployment.RunAsync(() => 
    {
        var cpuRollup = Logzio.GetMetricsRollupRules.Invoke(new()
        {
            AccountId = 123456,
            MetricName = "cpu_usage",
        });
    
        var frontendRollup = Logzio.GetMetricsRollupRules.Invoke(new()
        {
            Name = "Frontend Service Metrics",
        });
    
        var specificRollup = Logzio.GetMetricsRollupRules.Invoke(new()
        {
            AccountId = 123456,
            MetricType = "GAUGE",
            Name = "CPU Usage Rollup",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.logzio.LogzioFunctions;
    import com.pulumi.logzio.inputs.GetMetricsRollupRulesArgs;
    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 cpuRollup = LogzioFunctions.getMetricsRollupRules(GetMetricsRollupRulesArgs.builder()
                .accountId(123456)
                .metricName("cpu_usage")
                .build());
    
            final var frontendRollup = LogzioFunctions.getMetricsRollupRules(GetMetricsRollupRulesArgs.builder()
                .name("Frontend Service Metrics")
                .build());
    
            final var specificRollup = LogzioFunctions.getMetricsRollupRules(GetMetricsRollupRulesArgs.builder()
                .accountId(123456)
                .metricType("GAUGE")
                .name("CPU Usage Rollup")
                .build());
    
        }
    }
    
    variables:
      cpuRollup:
        fn::invoke:
          function: logzio:getMetricsRollupRules
          arguments:
            accountId: 123456
            metricName: cpu_usage
      frontendRollup:
        fn::invoke:
          function: logzio:getMetricsRollupRules
          arguments:
            name: Frontend Service Metrics
      specificRollup:
        fn::invoke:
          function: logzio:getMetricsRollupRules
          arguments:
            accountId: 123456
            metricType: GAUGE
            name: CPU Usage Rollup
    

    Output rule details

    import * as pulumi from "@pulumi/pulumi";
    
    export const rollupRuleDetails = {
        name: data.logzio_metrics_rollup_rules.my_rollup_rule.name,
        metric_name: data.logzio_metrics_rollup_rules.my_rollup_rule.metric_name,
        metric_type: data.logzio_metrics_rollup_rules.my_rollup_rule.metric_type,
        rollup_function: data.logzio_metrics_rollup_rules.my_rollup_rule.rollup_function,
        labels_elimination_method: data.logzio_metrics_rollup_rules.my_rollup_rule.labels_elimination_method,
        labels: data.logzio_metrics_rollup_rules.my_rollup_rule.labels,
    };
    
    import pulumi
    
    pulumi.export("rollupRuleDetails", {
        "name": data["logzio_metrics_rollup_rules"]["my_rollup_rule"]["name"],
        "metric_name": data["logzio_metrics_rollup_rules"]["my_rollup_rule"]["metric_name"],
        "metric_type": data["logzio_metrics_rollup_rules"]["my_rollup_rule"]["metric_type"],
        "rollup_function": data["logzio_metrics_rollup_rules"]["my_rollup_rule"]["rollup_function"],
        "labels_elimination_method": data["logzio_metrics_rollup_rules"]["my_rollup_rule"]["labels_elimination_method"],
        "labels": data["logzio_metrics_rollup_rules"]["my_rollup_rule"]["labels"],
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		ctx.Export("rollupRuleDetails", pulumi.AnyMap{
    			"name":                      data.Logzio_metrics_rollup_rules.My_rollup_rule.Name,
    			"metric_name":               data.Logzio_metrics_rollup_rules.My_rollup_rule.Metric_name,
    			"metric_type":               data.Logzio_metrics_rollup_rules.My_rollup_rule.Metric_type,
    			"rollup_function":           data.Logzio_metrics_rollup_rules.My_rollup_rule.Rollup_function,
    			"labels_elimination_method": data.Logzio_metrics_rollup_rules.My_rollup_rule.Labels_elimination_method,
    			"labels":                    data.Logzio_metrics_rollup_rules.My_rollup_rule.Labels,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        return new Dictionary<string, object?>
        {
            ["rollupRuleDetails"] = 
            {
                { "name", data.Logzio_metrics_rollup_rules.My_rollup_rule.Name },
                { "metric_name", data.Logzio_metrics_rollup_rules.My_rollup_rule.Metric_name },
                { "metric_type", data.Logzio_metrics_rollup_rules.My_rollup_rule.Metric_type },
                { "rollup_function", data.Logzio_metrics_rollup_rules.My_rollup_rule.Rollup_function },
                { "labels_elimination_method", data.Logzio_metrics_rollup_rules.My_rollup_rule.Labels_elimination_method },
                { "labels", data.Logzio_metrics_rollup_rules.My_rollup_rule.Labels },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
            ctx.export("rollupRuleDetails", %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference));
        }
    }
    
    outputs:
      rollupRuleDetails:
        name: ${data.logzio_metrics_rollup_rules.my_rollup_rule.name}
        metric_name: ${data.logzio_metrics_rollup_rules.my_rollup_rule.metric_name}
        metric_type: ${data.logzio_metrics_rollup_rules.my_rollup_rule.metric_type}
        rollup_function: ${data.logzio_metrics_rollup_rules.my_rollup_rule.rollup_function}
        labels_elimination_method: ${data.logzio_metrics_rollup_rules.my_rollup_rule.labels_elimination_method}
        labels: ${data.logzio_metrics_rollup_rules.my_rollup_rule.labels}
    

    Using getMetricsRollupRules

    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 getMetricsRollupRules(args: GetMetricsRollupRulesArgs, opts?: InvokeOptions): Promise<GetMetricsRollupRulesResult>
    function getMetricsRollupRulesOutput(args: GetMetricsRollupRulesOutputArgs, opts?: InvokeOptions): Output<GetMetricsRollupRulesResult>
    def get_metrics_rollup_rules(account_id: Optional[float] = None,
                                 id: Optional[str] = None,
                                 metric_name: Optional[str] = None,
                                 metric_type: Optional[str] = None,
                                 name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetMetricsRollupRulesResult
    def get_metrics_rollup_rules_output(account_id: Optional[pulumi.Input[float]] = None,
                                 id: Optional[pulumi.Input[str]] = None,
                                 metric_name: Optional[pulumi.Input[str]] = None,
                                 metric_type: Optional[pulumi.Input[str]] = None,
                                 name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetMetricsRollupRulesResult]
    func LookupMetricsRollupRules(ctx *Context, args *LookupMetricsRollupRulesArgs, opts ...InvokeOption) (*LookupMetricsRollupRulesResult, error)
    func LookupMetricsRollupRulesOutput(ctx *Context, args *LookupMetricsRollupRulesOutputArgs, opts ...InvokeOption) LookupMetricsRollupRulesResultOutput

    > Note: This function is named LookupMetricsRollupRules in the Go SDK.

    public static class GetMetricsRollupRules 
    {
        public static Task<GetMetricsRollupRulesResult> InvokeAsync(GetMetricsRollupRulesArgs args, InvokeOptions? opts = null)
        public static Output<GetMetricsRollupRulesResult> Invoke(GetMetricsRollupRulesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMetricsRollupRulesResult> getMetricsRollupRules(GetMetricsRollupRulesArgs args, InvokeOptions options)
    public static Output<GetMetricsRollupRulesResult> getMetricsRollupRules(GetMetricsRollupRulesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: logzio:index/getMetricsRollupRules:getMetricsRollupRules
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId double
    Filter by the metrics account ID.
    Id string
    The ID of the metrics rollup rule. If not specified, the data source will search for rules matching the other provided criteria.
    MetricName string
    Filter by the metric name.
    MetricType string

    Filter by the metric type (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).

    Note: If multiple rules match the search criteria, you must either specify an id or add more search criteria to uniquely identify a single rule.

    Name string
    Filter by the rule name.
    AccountId float64
    Filter by the metrics account ID.
    Id string
    The ID of the metrics rollup rule. If not specified, the data source will search for rules matching the other provided criteria.
    MetricName string
    Filter by the metric name.
    MetricType string

    Filter by the metric type (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).

    Note: If multiple rules match the search criteria, you must either specify an id or add more search criteria to uniquely identify a single rule.

    Name string
    Filter by the rule name.
    accountId Double
    Filter by the metrics account ID.
    id String
    The ID of the metrics rollup rule. If not specified, the data source will search for rules matching the other provided criteria.
    metricName String
    Filter by the metric name.
    metricType String

    Filter by the metric type (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).

    Note: If multiple rules match the search criteria, you must either specify an id or add more search criteria to uniquely identify a single rule.

    name String
    Filter by the rule name.
    accountId number
    Filter by the metrics account ID.
    id string
    The ID of the metrics rollup rule. If not specified, the data source will search for rules matching the other provided criteria.
    metricName string
    Filter by the metric name.
    metricType string

    Filter by the metric type (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).

    Note: If multiple rules match the search criteria, you must either specify an id or add more search criteria to uniquely identify a single rule.

    name string
    Filter by the rule name.
    account_id float
    Filter by the metrics account ID.
    id str
    The ID of the metrics rollup rule. If not specified, the data source will search for rules matching the other provided criteria.
    metric_name str
    Filter by the metric name.
    metric_type str

    Filter by the metric type (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).

    Note: If multiple rules match the search criteria, you must either specify an id or add more search criteria to uniquely identify a single rule.

    name str
    Filter by the rule name.
    accountId Number
    Filter by the metrics account ID.
    id String
    The ID of the metrics rollup rule. If not specified, the data source will search for rules matching the other provided criteria.
    metricName String
    Filter by the metric name.
    metricType String

    Filter by the metric type (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).

    Note: If multiple rules match the search criteria, you must either specify an id or add more search criteria to uniquely identify a single rule.

    name String
    Filter by the rule name.

    getMetricsRollupRules Result

    The following output properties are available:

    AccountId double
    The account ID of the metrics rollup rule.
    ClusterId string
    DropOriginalMetric bool
    Whether the original metric is dropped after creating the rollup.
    DropPolicyRuleId string
    Filters List<GetMetricsRollupRulesFilter>
    Filter configuration for rule matching (if rule is filter-based).
    Id string
    The ID of the metrics rollup rule.
    IsDeleted bool
    Labels List<string>
    The list of label names being eliminated from the metric.
    LabelsEliminationMethod string
    The method for eliminating labels (EXCLUDE_BY or GROUP_BY).
    MetricName string
    The name of the metric (if rule is metric name-based).
    MetricType string
    The type of the metric (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).
    Name string
    The label name being matched.
    Namespaces List<string>
    NewMetricNameTemplate string
    The template for generating new metric names.
    RollupFunction string
    The aggregation function used for rolling up the metric. Always "SUM" for COUNTER, DELTA_COUNTER, and CUMULATIVE_COUNTER types. Can be any valid aggregation function for GAUGE and MEASUREMENT types.
    Version double
    AccountId float64
    The account ID of the metrics rollup rule.
    ClusterId string
    DropOriginalMetric bool
    Whether the original metric is dropped after creating the rollup.
    DropPolicyRuleId string
    Filters []GetMetricsRollupRulesFilter
    Filter configuration for rule matching (if rule is filter-based).
    Id string
    The ID of the metrics rollup rule.
    IsDeleted bool
    Labels []string
    The list of label names being eliminated from the metric.
    LabelsEliminationMethod string
    The method for eliminating labels (EXCLUDE_BY or GROUP_BY).
    MetricName string
    The name of the metric (if rule is metric name-based).
    MetricType string
    The type of the metric (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).
    Name string
    The label name being matched.
    Namespaces []string
    NewMetricNameTemplate string
    The template for generating new metric names.
    RollupFunction string
    The aggregation function used for rolling up the metric. Always "SUM" for COUNTER, DELTA_COUNTER, and CUMULATIVE_COUNTER types. Can be any valid aggregation function for GAUGE and MEASUREMENT types.
    Version float64
    accountId Double
    The account ID of the metrics rollup rule.
    clusterId String
    dropOriginalMetric Boolean
    Whether the original metric is dropped after creating the rollup.
    dropPolicyRuleId String
    filters List<GetMetricsRollupRulesFilter>
    Filter configuration for rule matching (if rule is filter-based).
    id String
    The ID of the metrics rollup rule.
    isDeleted Boolean
    labels List<String>
    The list of label names being eliminated from the metric.
    labelsEliminationMethod String
    The method for eliminating labels (EXCLUDE_BY or GROUP_BY).
    metricName String
    The name of the metric (if rule is metric name-based).
    metricType String
    The type of the metric (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).
    name String
    The label name being matched.
    namespaces List<String>
    newMetricNameTemplate String
    The template for generating new metric names.
    rollupFunction String
    The aggregation function used for rolling up the metric. Always "SUM" for COUNTER, DELTA_COUNTER, and CUMULATIVE_COUNTER types. Can be any valid aggregation function for GAUGE and MEASUREMENT types.
    version Double
    accountId number
    The account ID of the metrics rollup rule.
    clusterId string
    dropOriginalMetric boolean
    Whether the original metric is dropped after creating the rollup.
    dropPolicyRuleId string
    filters GetMetricsRollupRulesFilter[]
    Filter configuration for rule matching (if rule is filter-based).
    id string
    The ID of the metrics rollup rule.
    isDeleted boolean
    labels string[]
    The list of label names being eliminated from the metric.
    labelsEliminationMethod string
    The method for eliminating labels (EXCLUDE_BY or GROUP_BY).
    metricName string
    The name of the metric (if rule is metric name-based).
    metricType string
    The type of the metric (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).
    name string
    The label name being matched.
    namespaces string[]
    newMetricNameTemplate string
    The template for generating new metric names.
    rollupFunction string
    The aggregation function used for rolling up the metric. Always "SUM" for COUNTER, DELTA_COUNTER, and CUMULATIVE_COUNTER types. Can be any valid aggregation function for GAUGE and MEASUREMENT types.
    version number
    account_id float
    The account ID of the metrics rollup rule.
    cluster_id str
    drop_original_metric bool
    Whether the original metric is dropped after creating the rollup.
    drop_policy_rule_id str
    filters Sequence[GetMetricsRollupRulesFilter]
    Filter configuration for rule matching (if rule is filter-based).
    id str
    The ID of the metrics rollup rule.
    is_deleted bool
    labels Sequence[str]
    The list of label names being eliminated from the metric.
    labels_elimination_method str
    The method for eliminating labels (EXCLUDE_BY or GROUP_BY).
    metric_name str
    The name of the metric (if rule is metric name-based).
    metric_type str
    The type of the metric (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).
    name str
    The label name being matched.
    namespaces Sequence[str]
    new_metric_name_template str
    The template for generating new metric names.
    rollup_function str
    The aggregation function used for rolling up the metric. Always "SUM" for COUNTER, DELTA_COUNTER, and CUMULATIVE_COUNTER types. Can be any valid aggregation function for GAUGE and MEASUREMENT types.
    version float
    accountId Number
    The account ID of the metrics rollup rule.
    clusterId String
    dropOriginalMetric Boolean
    Whether the original metric is dropped after creating the rollup.
    dropPolicyRuleId String
    filters List<Property Map>
    Filter configuration for rule matching (if rule is filter-based).
    id String
    The ID of the metrics rollup rule.
    isDeleted Boolean
    labels List<String>
    The list of label names being eliminated from the metric.
    labelsEliminationMethod String
    The method for eliminating labels (EXCLUDE_BY or GROUP_BY).
    metricName String
    The name of the metric (if rule is metric name-based).
    metricType String
    The type of the metric (GAUGE, COUNTER, DELTA_COUNTER, CUMULATIVE_COUNTER, or MEASUREMENT).
    name String
    The label name being matched.
    namespaces List<String>
    newMetricNameTemplate String
    The template for generating new metric names.
    rollupFunction String
    The aggregation function used for rolling up the metric. Always "SUM" for COUNTER, DELTA_COUNTER, and CUMULATIVE_COUNTER types. Can be any valid aggregation function for GAUGE and MEASUREMENT types.
    version Number

    Supporting Types

    GetMetricsRollupRulesFilter

    expressions List<Property Map>
    List of filter expressions.

    GetMetricsRollupRulesFilterExpression

    Comparison string
    The comparison operator (EQ, NOT_EQ, REGEX_MATCH, or REGEX_NO_MATCH).
    Name string
    Filter by the rule name.
    Value string
    The value being matched.
    Comparison string
    The comparison operator (EQ, NOT_EQ, REGEX_MATCH, or REGEX_NO_MATCH).
    Name string
    Filter by the rule name.
    Value string
    The value being matched.
    comparison String
    The comparison operator (EQ, NOT_EQ, REGEX_MATCH, or REGEX_NO_MATCH).
    name String
    Filter by the rule name.
    value String
    The value being matched.
    comparison string
    The comparison operator (EQ, NOT_EQ, REGEX_MATCH, or REGEX_NO_MATCH).
    name string
    Filter by the rule name.
    value string
    The value being matched.
    comparison str
    The comparison operator (EQ, NOT_EQ, REGEX_MATCH, or REGEX_NO_MATCH).
    name str
    Filter by the rule name.
    value str
    The value being matched.
    comparison String
    The comparison operator (EQ, NOT_EQ, REGEX_MATCH, or REGEX_NO_MATCH).
    name String
    Filter by the rule name.
    value String
    The value being matched.

    Package Details

    Repository
    logzio logzio/terraform-provider-logzio
    License
    Notes
    This Pulumi package is based on the logzio Terraform Provider.
    logzio logo
    logzio 1.24.0 published on Wednesday, Sep 10, 2025 by logzio