logzio 1.20.0 published on Wednesday, Aug 13, 2025 by logzio
logzio.getDropMetrics
Explore with Pulumi AI
# 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.
- Learn more about drop filters in the Logz.io Docs.
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:
- Account
Id 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.
- Drop
Metric doubleId - (String) The unique identifier of the drop filter in the Logz.io database.
- Filters
List<Get
Drop Metrics Filter> - Id string
- Operator string
- The logical operator for combining filter expressions. Supported value is
AND
.
- Account
Id 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.
- Drop
Metric float64Id - (String) The unique identifier of the drop filter in the Logz.io database.
- Filters
[]Get
Drop Metrics Filter - Id string
- Operator string
- The logical operator for combining filter expressions. Supported value is
AND
.
- account
Id 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.
- drop
Metric DoubleId - (String) The unique identifier of the drop filter in the Logz.io database.
- filters
List<Get
Drop Metrics Filter> - id String
- operator String
- The logical operator for combining filter expressions. Supported value is
AND
.
- account
Id 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.
- drop
Metric numberId - (String) The unique identifier of the drop filter in the Logz.io database.
- filters
Get
Drop Metrics Filter[] - 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_ floatid - (String) The unique identifier of the drop filter in the Logz.io database.
- filters
Sequence[Get
Drop Metrics Filter] - id str
- operator str
- The logical operator for combining filter expressions. Supported value is
AND
.
- account
Id 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.
- drop
Metric NumberId - (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:
- Account
Id double - Active bool
- Created
At string - (String) The timestamp when the drop filter was created.
- Created
By string - (String) The user who created the drop filter.
- Drop
Metric doubleId - (String) The unique identifier of the drop filter in the Logz.io database.
- Id string
- Modified
At string - (String) The timestamp when the drop filter was last modified.
- Modified
By string - (String) The user who last updated the drop filter.
- Operator string
- Filters
List<Get
Drop Metrics Filter>
- Account
Id float64 - Active bool
- Created
At string - (String) The timestamp when the drop filter was created.
- Created
By string - (String) The user who created the drop filter.
- Drop
Metric float64Id - (String) The unique identifier of the drop filter in the Logz.io database.
- Id string
- Modified
At string - (String) The timestamp when the drop filter was last modified.
- Modified
By string - (String) The user who last updated the drop filter.
- Operator string
- Filters
[]Get
Drop Metrics Filter
- account
Id Double - active Boolean
- created
At String - (String) The timestamp when the drop filter was created.
- created
By String - (String) The user who created the drop filter.
- drop
Metric DoubleId - (String) The unique identifier of the drop filter in the Logz.io database.
- id String
- modified
At String - (String) The timestamp when the drop filter was last modified.
- modified
By String - (String) The user who last updated the drop filter.
- operator String
- filters
List<Get
Drop Metrics Filter>
- account
Id number - active boolean
- created
At string - (String) The timestamp when the drop filter was created.
- created
By string - (String) The user who created the drop filter.
- drop
Metric numberId - (String) The unique identifier of the drop filter in the Logz.io database.
- id string
- modified
At string - (String) The timestamp when the drop filter was last modified.
- modified
By string - (String) The user who last updated the drop filter.
- operator string
- filters
Get
Drop Metrics Filter[]
- 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_ floatid - (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[Get
Drop Metrics Filter]
- account
Id Number - active Boolean
- created
At String - (String) The timestamp when the drop filter was created.
- created
By String - (String) The user who created the drop filter.
- drop
Metric NumberId - (String) The unique identifier of the drop filter in the Logz.io database.
- id String
- modified
At String - (String) The timestamp when the drop filter was last modified.
- modified
By String - (String) The user who last updated the drop filter.
- operator String
- filters List<Property Map>
Supporting Types
GetDropMetricsFilter
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the
logzio
Terraform Provider.