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 dictionary
The following arguments are supported:
- Drop
Filter stringId - Drop filter ID in the Logz.io database.
- Field
Conditions 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
- Log
Type 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 stringId - Drop filter ID in the Logz.io database.
- Field
Conditions []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
- Log
Type 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 StringId - Drop filter ID in the Logz.io database.
- field
Conditions 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
- log
Type 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 stringId - Drop filter ID in the Logz.io database.
- field
Conditions 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
- log
Type 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.
- drop
Filter StringId - Drop filter ID in the Logz.io database.
- field
Conditions 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
- log
Type 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. - Drop
Filter stringId - Id string
- Log
Type string - Field
Conditions 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
active
argument set to true. - Drop
Filter stringId - Id string
- Log
Type string - Field
Conditions []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
active
argument set to true. - drop
Filter StringId - id String
- log
Type String - field
Conditions 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
active
argument set to true. - drop
Filter stringId - id string
- log
Type string - field
Conditions 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
active
argument 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
active
argument set to true. - drop
Filter StringId - id String
- log
Type String - field
Conditions 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
logzio
Terraform Provider.