logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio
logzio.getDropFilter
Explore with Pulumi AI
# Drop Filter Datasource
Provides a Logz.io drop filter datasource. This can be used to create and manage Logz.io drop filters.
- Learn more about drop filters in the Logz.io Docs.
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,
                    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,
                    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 dictionaryThe following arguments are supported:
- DropFilter stringId 
- Drop filter ID in the Logz.io database.
- FieldConditions List<GetDrop Filter Field Condition> 
- 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.
- 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.
- DropFilter stringId 
- Drop filter ID in the Logz.io database.
- FieldConditions []GetDrop Filter Field Condition 
- 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.
- 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.
- dropFilter StringId 
- Drop filter ID in the Logz.io database.
- fieldConditions List<GetDrop Filter Field Condition> 
- 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.
- 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.
- dropFilter stringId 
- Drop filter ID in the Logz.io database.
- fieldConditions GetDrop Filter Field Condition[] 
- 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.
- 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_ strid 
- Drop filter ID in the Logz.io database.
- field_conditions Sequence[GetDrop Filter Field Condition] 
- 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.
- 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.
- dropFilter StringId 
- 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.
- 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 activeargument set to true.
- DropFilter stringId 
- Id string
- LogType string
- FieldConditions List<GetDrop Filter Field Condition> 
- 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 activeargument set to true.
- DropFilter stringId 
- Id string
- LogType string
- FieldConditions []GetDrop Filter Field Condition 
- 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 activeargument set to true.
- dropFilter StringId 
- id String
- logType String
- fieldConditions List<GetDrop Filter Field Condition> 
- 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 activeargument set to true.
- dropFilter stringId 
- id string
- logType string
- fieldConditions GetDrop Filter Field Condition[] 
- 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 activeargument set to true.
- drop_filter_ strid 
- id str
- log_type str
- field_conditions Sequence[GetDrop Filter Field Condition] 
- 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 activeargument set to true.
- dropFilter StringId 
- id String
- logType String
- fieldConditions List<Property Map>
Supporting Types
GetDropFilterFieldCondition    
- field_name str
- value str
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the logzioTerraform Provider.