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

logzio.getDropFilter

Explore with Pulumi AI

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

    # Drop Filter Datasource

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

    Using getDropFilter

    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 getDropFilter(args: GetDropFilterArgs, opts?: InvokeOptions): Promise<GetDropFilterResult>
    function getDropFilterOutput(args: GetDropFilterOutputArgs, opts?: InvokeOptions): Output<GetDropFilterResult>
    def get_drop_filter(drop_filter_id: Optional[str] = None,
                        field_conditions: Optional[Sequence[GetDropFilterFieldCondition]] = None,
                        gb_threshold: Optional[float] = None,
                        id: Optional[str] = None,
                        log_type: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDropFilterResult
    def get_drop_filter_output(drop_filter_id: Optional[pulumi.Input[str]] = None,
                        field_conditions: Optional[pulumi.Input[Sequence[pulumi.Input[GetDropFilterFieldConditionArgs]]]] = None,
                        gb_threshold: Optional[pulumi.Input[float]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        log_type: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDropFilterResult]
    func LookupDropFilter(ctx *Context, args *LookupDropFilterArgs, opts ...InvokeOption) (*LookupDropFilterResult, error)
    func LookupDropFilterOutput(ctx *Context, args *LookupDropFilterOutputArgs, opts ...InvokeOption) LookupDropFilterResultOutput

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

    public static class GetDropFilter 
    {
        public static Task<GetDropFilterResult> InvokeAsync(GetDropFilterArgs args, InvokeOptions? opts = null)
        public static Output<GetDropFilterResult> Invoke(GetDropFilterInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDropFilterResult> getDropFilter(GetDropFilterArgs args, InvokeOptions options)
    public static Output<GetDropFilterResult> getDropFilter(GetDropFilterArgs args, InvokeOptions options)
    
    fn::invoke:
      function: logzio:index/getDropFilter:getDropFilter
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DropFilterId string
    Drop filter ID in the Logz.io database.
    FieldConditions List<GetDropFilterFieldCondition>
    Filters for an exact match of a field:value pair. Note that changing this field after creation will cause the resource to be destroyed and re-created. See below for nested schema.
    GbThreshold double
    The threshold in GB for the drop filter. If the total size of the logs that match the filter exceeds this threshold, the logs are dropped before indexing.
    Id string
    LogType string
    Filters for the log type. Emit or leave empty if you want this filter to apply to all types. Note that changing this field after creation will cause the resource to be destroyed and re-created.
    DropFilterId string
    Drop filter ID in the Logz.io database.
    FieldConditions []GetDropFilterFieldCondition
    Filters for an exact match of a field:value pair. Note that changing this field after creation will cause the resource to be destroyed and re-created. See below for nested schema.
    GbThreshold float64
    The threshold in GB for the drop filter. If the total size of the logs that match the filter exceeds this threshold, the logs are dropped before indexing.
    Id string
    LogType string
    Filters for the log type. Emit or leave empty if you want this filter to apply to all types. Note that changing this field after creation will cause the resource to be destroyed and re-created.
    dropFilterId String
    Drop filter ID in the Logz.io database.
    fieldConditions List<GetDropFilterFieldCondition>
    Filters for an exact match of a field:value pair. Note that changing this field after creation will cause the resource to be destroyed and re-created. See below for nested schema.
    gbThreshold Double
    The threshold in GB for the drop filter. If the total size of the logs that match the filter exceeds this threshold, the logs are dropped before indexing.
    id String
    logType String
    Filters for the log type. Emit or leave empty if you want this filter to apply to all types. Note that changing this field after creation will cause the resource to be destroyed and re-created.
    dropFilterId string
    Drop filter ID in the Logz.io database.
    fieldConditions GetDropFilterFieldCondition[]
    Filters for an exact match of a field:value pair. Note that changing this field after creation will cause the resource to be destroyed and re-created. See below for nested schema.
    gbThreshold number
    The threshold in GB for the drop filter. If the total size of the logs that match the filter exceeds this threshold, the logs are dropped before indexing.
    id string
    logType string
    Filters for the log type. Emit or leave empty if you want this filter to apply to all types. Note that changing this field after creation will cause the resource to be destroyed and re-created.
    drop_filter_id str
    Drop filter ID in the Logz.io database.
    field_conditions Sequence[GetDropFilterFieldCondition]
    Filters for an exact match of a field:value pair. Note that changing this field after creation will cause the resource to be destroyed and re-created. See below for nested schema.
    gb_threshold float
    The threshold in GB for the drop filter. If the total size of the logs that match the filter exceeds this threshold, the logs are dropped before indexing.
    id str
    log_type str
    Filters for the log type. Emit or leave empty if you want this filter to apply to all types. Note that changing this field after creation will cause the resource to be destroyed and re-created.
    dropFilterId String
    Drop filter ID in the Logz.io database.
    fieldConditions List<Property Map>
    Filters for an exact match of a field:value pair. Note that changing this field after creation will cause the resource to be destroyed and re-created. See below for nested schema.
    gbThreshold Number
    The threshold in GB for the drop filter. If the total size of the logs that match the filter exceeds this threshold, the logs are dropped before indexing.
    id String
    logType String
    Filters for the log type. Emit or leave empty if you want this filter to apply to all types. Note that changing this field after creation will cause the resource to be destroyed and re-created.

    getDropFilter Result

    The following output properties are available:

    Active bool
    If true, the drop filter is active and logs that match the filter are dropped before indexing. If false, the drop filter is disabled. Note this argument can only be changed after the creation of the filter. Each filter is created with the active argument set to true.
    DropFilterId string
    Id string
    LogType string
    FieldConditions List<GetDropFilterFieldCondition>
    GbThreshold double
    Active bool
    If true, the drop filter is active and logs that match the filter are dropped before indexing. If false, the drop filter is disabled. Note this argument can only be changed after the creation of the filter. Each filter is created with the active argument set to true.
    DropFilterId string
    Id string
    LogType string
    FieldConditions []GetDropFilterFieldCondition
    GbThreshold float64
    active Boolean
    If true, the drop filter is active and logs that match the filter are dropped before indexing. If false, the drop filter is disabled. Note this argument can only be changed after the creation of the filter. Each filter is created with the active argument set to true.
    dropFilterId String
    id String
    logType String
    fieldConditions List<GetDropFilterFieldCondition>
    gbThreshold Double
    active boolean
    If true, the drop filter is active and logs that match the filter are dropped before indexing. If false, the drop filter is disabled. Note this argument can only be changed after the creation of the filter. Each filter is created with the active argument set to true.
    dropFilterId string
    id string
    logType string
    fieldConditions GetDropFilterFieldCondition[]
    gbThreshold number
    active bool
    If true, the drop filter is active and logs that match the filter are dropped before indexing. If false, the drop filter is disabled. Note this argument can only be changed after the creation of the filter. Each filter is created with the active argument set to true.
    drop_filter_id str
    id str
    log_type str
    field_conditions Sequence[GetDropFilterFieldCondition]
    gb_threshold float
    active Boolean
    If true, the drop filter is active and logs that match the filter are dropped before indexing. If false, the drop filter is disabled. Note this argument can only be changed after the creation of the filter. Each filter is created with the active argument set to true.
    dropFilterId String
    id String
    logType String
    fieldConditions List<Property Map>
    gbThreshold Number

    Supporting Types

    GetDropFilterFieldCondition

    FieldName string
    Value string
    FieldName string
    Value string
    fieldName String
    value String
    fieldName string
    value string
    fieldName String
    value String

    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