1. Packages
  2. Logzio Provider
  3. API Docs
  4. getDropMetrics
logzio 1.20.0 published on Wednesday, Aug 13, 2025 by logzio

logzio.getDropMetrics

Explore with Pulumi AI

logzio logo
logzio 1.20.0 published on Wednesday, Aug 13, 2025 by logzio

    # Metrics Drop Filter Provider

    Provides a Logz.io metrics drop filter datasource. This can be used to get and manage Logz.io metrics drop filters.

    Using getDropMetrics

    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 getDropMetrics(args: GetDropMetricsArgs, opts?: InvokeOptions): Promise<GetDropMetricsResult>
    function getDropMetricsOutput(args: GetDropMetricsOutputArgs, opts?: InvokeOptions): Output<GetDropMetricsResult>
    def get_drop_metrics(account_id: Optional[float] = None,
                         active: Optional[bool] = None,
                         drop_metric_id: Optional[float] = None,
                         filters: Optional[Sequence[GetDropMetricsFilter]] = None,
                         id: Optional[str] = None,
                         operator: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetDropMetricsResult
    def get_drop_metrics_output(account_id: Optional[pulumi.Input[float]] = None,
                         active: Optional[pulumi.Input[bool]] = None,
                         drop_metric_id: Optional[pulumi.Input[float]] = None,
                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDropMetricsFilterArgs]]]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         operator: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetDropMetricsResult]
    func LookupDropMetrics(ctx *Context, args *LookupDropMetricsArgs, opts ...InvokeOption) (*LookupDropMetricsResult, error)
    func LookupDropMetricsOutput(ctx *Context, args *LookupDropMetricsOutputArgs, opts ...InvokeOption) LookupDropMetricsResultOutput

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

    public static class GetDropMetrics 
    {
        public static Task<GetDropMetricsResult> InvokeAsync(GetDropMetricsArgs args, InvokeOptions? opts = null)
        public static Output<GetDropMetricsResult> Invoke(GetDropMetricsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDropMetricsResult> getDropMetrics(GetDropMetricsArgs args, InvokeOptions options)
    public static Output<GetDropMetricsResult> getDropMetrics(GetDropMetricsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: logzio:index/getDropMetrics:getDropMetrics
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId double
    The Logz.io metrics account ID to which the drop filter applies.
    Active bool
    If true, the drop filter is active and metrics that match the filter are dropped before indexing. If false, the drop filter is disabled. Defaults to true.
    DropMetricId double
    (String) The unique identifier of the drop filter in the Logz.io database.
    Filters List<GetDropMetricsFilter>
    Id string
    Operator string
    The logical operator for combining filter expressions. Supported value is AND.
    AccountId float64
    The Logz.io metrics account ID to which the drop filter applies.
    Active bool
    If true, the drop filter is active and metrics that match the filter are dropped before indexing. If false, the drop filter is disabled. Defaults to true.
    DropMetricId float64
    (String) The unique identifier of the drop filter in the Logz.io database.
    Filters []GetDropMetricsFilter
    Id string
    Operator string
    The logical operator for combining filter expressions. Supported value is AND.
    accountId Double
    The Logz.io metrics account ID to which the drop filter applies.
    active Boolean
    If true, the drop filter is active and metrics that match the filter are dropped before indexing. If false, the drop filter is disabled. Defaults to true.
    dropMetricId Double
    (String) The unique identifier of the drop filter in the Logz.io database.
    filters List<GetDropMetricsFilter>
    id String
    operator String
    The logical operator for combining filter expressions. Supported value is AND.
    accountId number
    The Logz.io metrics account ID to which the drop filter applies.
    active boolean
    If true, the drop filter is active and metrics that match the filter are dropped before indexing. If false, the drop filter is disabled. Defaults to true.
    dropMetricId number
    (String) The unique identifier of the drop filter in the Logz.io database.
    filters GetDropMetricsFilter[]
    id string
    operator string
    The logical operator for combining filter expressions. Supported value is AND.
    account_id float
    The Logz.io metrics account ID to which the drop filter applies.
    active bool
    If true, the drop filter is active and metrics that match the filter are dropped before indexing. If false, the drop filter is disabled. Defaults to true.
    drop_metric_id float
    (String) The unique identifier of the drop filter in the Logz.io database.
    filters Sequence[GetDropMetricsFilter]
    id str
    operator str
    The logical operator for combining filter expressions. Supported value is AND.
    accountId Number
    The Logz.io metrics account ID to which the drop filter applies.
    active Boolean
    If true, the drop filter is active and metrics that match the filter are dropped before indexing. If false, the drop filter is disabled. Defaults to true.
    dropMetricId Number
    (String) The unique identifier of the drop filter in the Logz.io database.
    filters List<Property Map>
    id String
    operator String
    The logical operator for combining filter expressions. Supported value is AND.

    getDropMetrics Result

    The following output properties are available:

    AccountId double
    Active bool
    CreatedAt string
    (String) The timestamp when the drop filter was created.
    CreatedBy string
    (String) The user who created the drop filter.
    DropMetricId double
    (String) The unique identifier of the drop filter in the Logz.io database.
    Id string
    ModifiedAt string
    (String) The timestamp when the drop filter was last modified.
    ModifiedBy string
    (String) The user who last updated the drop filter.
    Operator string
    Filters List<GetDropMetricsFilter>
    AccountId float64
    Active bool
    CreatedAt string
    (String) The timestamp when the drop filter was created.
    CreatedBy string
    (String) The user who created the drop filter.
    DropMetricId float64
    (String) The unique identifier of the drop filter in the Logz.io database.
    Id string
    ModifiedAt string
    (String) The timestamp when the drop filter was last modified.
    ModifiedBy string
    (String) The user who last updated the drop filter.
    Operator string
    Filters []GetDropMetricsFilter
    accountId Double
    active Boolean
    createdAt String
    (String) The timestamp when the drop filter was created.
    createdBy String
    (String) The user who created the drop filter.
    dropMetricId Double
    (String) The unique identifier of the drop filter in the Logz.io database.
    id String
    modifiedAt String
    (String) The timestamp when the drop filter was last modified.
    modifiedBy String
    (String) The user who last updated the drop filter.
    operator String
    filters List<GetDropMetricsFilter>
    accountId number
    active boolean
    createdAt string
    (String) The timestamp when the drop filter was created.
    createdBy string
    (String) The user who created the drop filter.
    dropMetricId number
    (String) The unique identifier of the drop filter in the Logz.io database.
    id string
    modifiedAt string
    (String) The timestamp when the drop filter was last modified.
    modifiedBy string
    (String) The user who last updated the drop filter.
    operator string
    filters GetDropMetricsFilter[]
    account_id float
    active bool
    created_at str
    (String) The timestamp when the drop filter was created.
    created_by str
    (String) The user who created the drop filter.
    drop_metric_id float
    (String) The unique identifier of the drop filter in the Logz.io database.
    id str
    modified_at str
    (String) The timestamp when the drop filter was last modified.
    modified_by str
    (String) The user who last updated the drop filter.
    operator str
    filters Sequence[GetDropMetricsFilter]
    accountId Number
    active Boolean
    createdAt String
    (String) The timestamp when the drop filter was created.
    createdBy String
    (String) The user who created the drop filter.
    dropMetricId Number
    (String) The unique identifier of the drop filter in the Logz.io database.
    id String
    modifiedAt String
    (String) The timestamp when the drop filter was last modified.
    modifiedBy String
    (String) The user who last updated the drop filter.
    operator String
    filters List<Property Map>

    Supporting Types

    GetDropMetricsFilter

    Condition string
    The comparison operator to use for the filter. Supported values are EQ, NOT_EQ, REGEX_MATCH, and REGEX_NO_MATCH.
    Name string
    The name of the metric label to filter on.
    Value string
    The value of the metric label to match against.
    Condition string
    The comparison operator to use for the filter. Supported values are EQ, NOT_EQ, REGEX_MATCH, and REGEX_NO_MATCH.
    Name string
    The name of the metric label to filter on.
    Value string
    The value of the metric label to match against.
    condition String
    The comparison operator to use for the filter. Supported values are EQ, NOT_EQ, REGEX_MATCH, and REGEX_NO_MATCH.
    name String
    The name of the metric label to filter on.
    value String
    The value of the metric label to match against.
    condition string
    The comparison operator to use for the filter. Supported values are EQ, NOT_EQ, REGEX_MATCH, and REGEX_NO_MATCH.
    name string
    The name of the metric label to filter on.
    value string
    The value of the metric label to match against.
    condition str
    The comparison operator to use for the filter. Supported values are EQ, NOT_EQ, REGEX_MATCH, and REGEX_NO_MATCH.
    name str
    The name of the metric label to filter on.
    value str
    The value of the metric label to match against.
    condition String
    The comparison operator to use for the filter. Supported values are EQ, NOT_EQ, REGEX_MATCH, and REGEX_NO_MATCH.
    name String
    The name of the metric label to filter on.
    value String
    The value of the metric label to match against.

    Package Details

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