logzio 1.17.1 published on Monday, Apr 14, 2025 by logzio
logzio.getAlertV2
Explore with Pulumi AI
# Alert V2 Datasource
Provides a Logz.io log monitoring alert resource. This can be used to create and manage Logz.io log monitoring alerts.
- Learn more about log alerts in the Logz.io Docs
Using getAlertV2
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 getAlertV2(args: GetAlertV2Args, opts?: InvokeOptions): Promise<GetAlertV2Result>
function getAlertV2Output(args: GetAlertV2OutputArgs, opts?: InvokeOptions): Output<GetAlertV2Result>
def get_alert_v2(id: Optional[float] = None,
title: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAlertV2Result
def get_alert_v2_output(id: Optional[pulumi.Input[float]] = None,
title: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlertV2Result]
func LookupAlertV2(ctx *Context, args *LookupAlertV2Args, opts ...InvokeOption) (*LookupAlertV2Result, error)
func LookupAlertV2Output(ctx *Context, args *LookupAlertV2OutputArgs, opts ...InvokeOption) LookupAlertV2ResultOutput
> Note: This function is named LookupAlertV2
in the Go SDK.
public static class GetAlertV2
{
public static Task<GetAlertV2Result> InvokeAsync(GetAlertV2Args args, InvokeOptions? opts = null)
public static Output<GetAlertV2Result> Invoke(GetAlertV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAlertV2Result> getAlertV2(GetAlertV2Args args, InvokeOptions options)
public static Output<GetAlertV2Result> getAlertV2(GetAlertV2Args args, InvokeOptions options)
fn::invoke:
function: logzio:index/getAlertV2:getAlertV2
arguments:
# arguments dictionary
The following arguments are supported:
getAlertV2 Result
The following output properties are available:
- Alert
Notification List<double>Endpoints - Array of IDs of pre-configured endpoint channels to notify when the alert triggers.
- Correlation
Operator string - Comma separated string of supported operators. Only applicable when multiple sub-components are in use. Selects a logic for correlating the alert’s sub-components.
AND
is currently the only supported operator. When AND is the correlation_operator, both sub-components must meet their triggering criteria for the alert to trigger. - Created
At string - Date and time in UTC when the alert was first created.
- Created
By string - Email of the user who first created the alert.
- Description string
- A description of the event, its significance, and suggested next steps or instructions for the team.
- Is
Enabled bool - If
true
, the alert is currently active. - Joins
List<Immutable
Dictionary<string, string>> - Specifies which group by fields must have the same values to trigger the alert. Joins the group by fields from the first and second sub-components. The key represents the index of the sub component in the array. The fields must be ordered pairs of the group by fields already in use in the
sub_components.query_string
. - Notification
Emails List<string> - Array of email addresses to be notified when the alert triggers.
- Output
Type string - Selects the output format for the alert notification. Can be:
"JSON"
or"TABLE""
If the alert has no aggregations/group by fields, JSON offers the option to send full sample logs without selecting specific fields. - Schedule
Cron stringExpression - Schedule
Timezone string - Search
Timeframe doubleMinutes - The time frame for evaluating the log data is a sliding window, with 1 minute granularity.
- Sub
Components List<GetAlert V2Sub Component> - Sets the search criteria using a search query, filters, group by aggregations, accounts to search, and trigger conditions.
- Suppress
Notifications doubleMinutes - Add a waiting period in minutes to space out notifications. (The alert will still trigger but will not send out notifications during the waiting period.)
- List<string>
- Tags for filtering alerts and triggered alerts. Can be used in Kibana Discover, dashboards, and more.
- Updated
At string - Date and time in UTC when the alert was last updated.
updated by
- Email of the user who last updated the alert.
- Updated
By string - Id double
- Title string
- Alert
Notification []float64Endpoints - Array of IDs of pre-configured endpoint channels to notify when the alert triggers.
- Correlation
Operator string - Comma separated string of supported operators. Only applicable when multiple sub-components are in use. Selects a logic for correlating the alert’s sub-components.
AND
is currently the only supported operator. When AND is the correlation_operator, both sub-components must meet their triggering criteria for the alert to trigger. - Created
At string - Date and time in UTC when the alert was first created.
- Created
By string - Email of the user who first created the alert.
- Description string
- A description of the event, its significance, and suggested next steps or instructions for the team.
- Is
Enabled bool - If
true
, the alert is currently active. - Joins []map[string]string
- Specifies which group by fields must have the same values to trigger the alert. Joins the group by fields from the first and second sub-components. The key represents the index of the sub component in the array. The fields must be ordered pairs of the group by fields already in use in the
sub_components.query_string
. - Notification
Emails []string - Array of email addresses to be notified when the alert triggers.
- Output
Type string - Selects the output format for the alert notification. Can be:
"JSON"
or"TABLE""
If the alert has no aggregations/group by fields, JSON offers the option to send full sample logs without selecting specific fields. - Schedule
Cron stringExpression - Schedule
Timezone string - Search
Timeframe float64Minutes - The time frame for evaluating the log data is a sliding window, with 1 minute granularity.
- Sub
Components []GetAlert V2Sub Component - Sets the search criteria using a search query, filters, group by aggregations, accounts to search, and trigger conditions.
- Suppress
Notifications float64Minutes - Add a waiting period in minutes to space out notifications. (The alert will still trigger but will not send out notifications during the waiting period.)
- []string
- Tags for filtering alerts and triggered alerts. Can be used in Kibana Discover, dashboards, and more.
- Updated
At string - Date and time in UTC when the alert was last updated.
updated by
- Email of the user who last updated the alert.
- Updated
By string - Id float64
- Title string
- alert
Notification List<Double>Endpoints - Array of IDs of pre-configured endpoint channels to notify when the alert triggers.
- correlation
Operator String - Comma separated string of supported operators. Only applicable when multiple sub-components are in use. Selects a logic for correlating the alert’s sub-components.
AND
is currently the only supported operator. When AND is the correlation_operator, both sub-components must meet their triggering criteria for the alert to trigger. - created
At String - Date and time in UTC when the alert was first created.
- created
By String - Email of the user who first created the alert.
- description String
- A description of the event, its significance, and suggested next steps or instructions for the team.
- is
Enabled Boolean - If
true
, the alert is currently active. - joins List<Map<String,String>>
- Specifies which group by fields must have the same values to trigger the alert. Joins the group by fields from the first and second sub-components. The key represents the index of the sub component in the array. The fields must be ordered pairs of the group by fields already in use in the
sub_components.query_string
. - notification
Emails List<String> - Array of email addresses to be notified when the alert triggers.
- output
Type String - Selects the output format for the alert notification. Can be:
"JSON"
or"TABLE""
If the alert has no aggregations/group by fields, JSON offers the option to send full sample logs without selecting specific fields. - schedule
Cron StringExpression - schedule
Timezone String - search
Timeframe DoubleMinutes - The time frame for evaluating the log data is a sliding window, with 1 minute granularity.
- sub
Components List<GetAlert V2Sub Component> - Sets the search criteria using a search query, filters, group by aggregations, accounts to search, and trigger conditions.
- suppress
Notifications DoubleMinutes - Add a waiting period in minutes to space out notifications. (The alert will still trigger but will not send out notifications during the waiting period.)
- List<String>
- Tags for filtering alerts and triggered alerts. Can be used in Kibana Discover, dashboards, and more.
- updated
At String - Date and time in UTC when the alert was last updated.
updated by
- Email of the user who last updated the alert.
- updated
By String - id Double
- title String
- alert
Notification number[]Endpoints - Array of IDs of pre-configured endpoint channels to notify when the alert triggers.
- correlation
Operator string - Comma separated string of supported operators. Only applicable when multiple sub-components are in use. Selects a logic for correlating the alert’s sub-components.
AND
is currently the only supported operator. When AND is the correlation_operator, both sub-components must meet their triggering criteria for the alert to trigger. - created
At string - Date and time in UTC when the alert was first created.
- created
By string - Email of the user who first created the alert.
- description string
- A description of the event, its significance, and suggested next steps or instructions for the team.
- is
Enabled boolean - If
true
, the alert is currently active. - joins {[key: string]: string}[]
- Specifies which group by fields must have the same values to trigger the alert. Joins the group by fields from the first and second sub-components. The key represents the index of the sub component in the array. The fields must be ordered pairs of the group by fields already in use in the
sub_components.query_string
. - notification
Emails string[] - Array of email addresses to be notified when the alert triggers.
- output
Type string - Selects the output format for the alert notification. Can be:
"JSON"
or"TABLE""
If the alert has no aggregations/group by fields, JSON offers the option to send full sample logs without selecting specific fields. - schedule
Cron stringExpression - schedule
Timezone string - search
Timeframe numberMinutes - The time frame for evaluating the log data is a sliding window, with 1 minute granularity.
- sub
Components GetAlert V2Sub Component[] - Sets the search criteria using a search query, filters, group by aggregations, accounts to search, and trigger conditions.
- suppress
Notifications numberMinutes - Add a waiting period in minutes to space out notifications. (The alert will still trigger but will not send out notifications during the waiting period.)
- string[]
- Tags for filtering alerts and triggered alerts. Can be used in Kibana Discover, dashboards, and more.
- updated
At string - Date and time in UTC when the alert was last updated.
updated by
- Email of the user who last updated the alert.
- updated
By string - id number
- title string
- alert_
notification_ Sequence[float]endpoints - Array of IDs of pre-configured endpoint channels to notify when the alert triggers.
- correlation_
operator str - Comma separated string of supported operators. Only applicable when multiple sub-components are in use. Selects a logic for correlating the alert’s sub-components.
AND
is currently the only supported operator. When AND is the correlation_operator, both sub-components must meet their triggering criteria for the alert to trigger. - created_
at str - Date and time in UTC when the alert was first created.
- created_
by str - Email of the user who first created the alert.
- description str
- A description of the event, its significance, and suggested next steps or instructions for the team.
- is_
enabled bool - If
true
, the alert is currently active. - joins Sequence[Mapping[str, str]]
- Specifies which group by fields must have the same values to trigger the alert. Joins the group by fields from the first and second sub-components. The key represents the index of the sub component in the array. The fields must be ordered pairs of the group by fields already in use in the
sub_components.query_string
. - notification_
emails Sequence[str] - Array of email addresses to be notified when the alert triggers.
- output_
type str - Selects the output format for the alert notification. Can be:
"JSON"
or"TABLE""
If the alert has no aggregations/group by fields, JSON offers the option to send full sample logs without selecting specific fields. - schedule_
cron_ strexpression - schedule_
timezone str - search_
timeframe_ floatminutes - The time frame for evaluating the log data is a sliding window, with 1 minute granularity.
- sub_
components Sequence[GetAlert V2Sub Component] - Sets the search criteria using a search query, filters, group by aggregations, accounts to search, and trigger conditions.
- suppress_
notifications_ floatminutes - Add a waiting period in minutes to space out notifications. (The alert will still trigger but will not send out notifications during the waiting period.)
- Sequence[str]
- Tags for filtering alerts and triggered alerts. Can be used in Kibana Discover, dashboards, and more.
- updated_
at str - Date and time in UTC when the alert was last updated.
updated by
- Email of the user who last updated the alert.
- updated_
by str - id float
- title str
- alert
Notification List<Number>Endpoints - Array of IDs of pre-configured endpoint channels to notify when the alert triggers.
- correlation
Operator String - Comma separated string of supported operators. Only applicable when multiple sub-components are in use. Selects a logic for correlating the alert’s sub-components.
AND
is currently the only supported operator. When AND is the correlation_operator, both sub-components must meet their triggering criteria for the alert to trigger. - created
At String - Date and time in UTC when the alert was first created.
- created
By String - Email of the user who first created the alert.
- description String
- A description of the event, its significance, and suggested next steps or instructions for the team.
- is
Enabled Boolean - If
true
, the alert is currently active. - joins List<Map<String>>
- Specifies which group by fields must have the same values to trigger the alert. Joins the group by fields from the first and second sub-components. The key represents the index of the sub component in the array. The fields must be ordered pairs of the group by fields already in use in the
sub_components.query_string
. - notification
Emails List<String> - Array of email addresses to be notified when the alert triggers.
- output
Type String - Selects the output format for the alert notification. Can be:
"JSON"
or"TABLE""
If the alert has no aggregations/group by fields, JSON offers the option to send full sample logs without selecting specific fields. - schedule
Cron StringExpression - schedule
Timezone String - search
Timeframe NumberMinutes - The time frame for evaluating the log data is a sliding window, with 1 minute granularity.
- sub
Components List<Property Map> - Sets the search criteria using a search query, filters, group by aggregations, accounts to search, and trigger conditions.
- suppress
Notifications NumberMinutes - Add a waiting period in minutes to space out notifications. (The alert will still trigger but will not send out notifications during the waiting period.)
- List<String>
- Tags for filtering alerts and triggered alerts. Can be used in Kibana Discover, dashboards, and more.
- updated
At String - Date and time in UTC when the alert was last updated.
updated by
- Email of the user who last updated the alert.
- updated
By String - id Number
- title String
Supporting Types
GetAlertV2SubComponent
- Account
Ids List<double>To Query Ons - Specify Account IDs to select which accounts the alert should monitor. The alert will be checked only on these accounts.
- Columns
List<Get
Alert V2Sub Component Column> - Filter
Must string - Runs Elasticsearch Bool Query
must
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - Filter
Must stringNot - Runs Elasticsearch Bool Query
must_not
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - Group
By List<string>Aggregation Fields - Specify 1-3 fields by which to group the results and count them. If you apply a group by operation, the alert returns a count of the results aggregated by unique values.
- Operation string
- Specifies the operator for evaluating the results. Can be:
"LESS_THAN"
,"GREATER_THAN"
,"LESS_THAN_OR_EQUALS"
,"GREATER_THAN_OR_EQUALS"
,"EQUALS"
,"NOT_EQUALS"
. - Query
String string - Provide a Kibana search query written in Lucene syntax. The search query together with the filters select for the relevant logs. Cannot be null - send an asterisk wildcard
"*"
if not using a search query. - Severity
Threshold List<GetTiers Alert V2Sub Component Severity Threshold Tier> - Sets a severity label per trigger threshold. If using more than one sub-component, only 1 severityThresholdTiers is allowed. Otherwise, 1 per enum are allowed (for a total of 5 thresholds of increasing severities). Increasing severity must adhere to the logic of the operator.
- Should
Query boolOn All Accounts - Defaults to true. Only applicable when the alert is run from the main account. If true, the alert runs on the main account and all associated searchable sub accounts. If false, specify relevant account IDs for the alert to monitor using the
account_ids_to_query_on
field. - Value
Aggregation stringField - Selects the field on which to run the aggregation for the trigger condition. Cannot be a field already in use for
group_by_aggregation_fields
. - Value
Aggregation stringType - Specifies the aggregation operator. Can be:
"SUM"
,"MIN"
,"MAX"
,"AVG"
,"COUNT"
,"UNIQUE_COUNT"
,"NONE"
. If"COUNT"
or"NONE"
,value_aggregation_field
must be null, andgroup_by_aggregation_fields
fields must not be empty. If any other operator type (other than"NONE"
or"COUNT"
),value_aggregation_field
must not be null.
- Account
Ids []float64To Query Ons - Specify Account IDs to select which accounts the alert should monitor. The alert will be checked only on these accounts.
- Columns
[]Get
Alert V2Sub Component Column - Filter
Must string - Runs Elasticsearch Bool Query
must
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - Filter
Must stringNot - Runs Elasticsearch Bool Query
must_not
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - Group
By []stringAggregation Fields - Specify 1-3 fields by which to group the results and count them. If you apply a group by operation, the alert returns a count of the results aggregated by unique values.
- Operation string
- Specifies the operator for evaluating the results. Can be:
"LESS_THAN"
,"GREATER_THAN"
,"LESS_THAN_OR_EQUALS"
,"GREATER_THAN_OR_EQUALS"
,"EQUALS"
,"NOT_EQUALS"
. - Query
String string - Provide a Kibana search query written in Lucene syntax. The search query together with the filters select for the relevant logs. Cannot be null - send an asterisk wildcard
"*"
if not using a search query. - Severity
Threshold []GetTiers Alert V2Sub Component Severity Threshold Tier - Sets a severity label per trigger threshold. If using more than one sub-component, only 1 severityThresholdTiers is allowed. Otherwise, 1 per enum are allowed (for a total of 5 thresholds of increasing severities). Increasing severity must adhere to the logic of the operator.
- Should
Query boolOn All Accounts - Defaults to true. Only applicable when the alert is run from the main account. If true, the alert runs on the main account and all associated searchable sub accounts. If false, specify relevant account IDs for the alert to monitor using the
account_ids_to_query_on
field. - Value
Aggregation stringField - Selects the field on which to run the aggregation for the trigger condition. Cannot be a field already in use for
group_by_aggregation_fields
. - Value
Aggregation stringType - Specifies the aggregation operator. Can be:
"SUM"
,"MIN"
,"MAX"
,"AVG"
,"COUNT"
,"UNIQUE_COUNT"
,"NONE"
. If"COUNT"
or"NONE"
,value_aggregation_field
must be null, andgroup_by_aggregation_fields
fields must not be empty. If any other operator type (other than"NONE"
or"COUNT"
),value_aggregation_field
must not be null.
- account
Ids List<Double>To Query Ons - Specify Account IDs to select which accounts the alert should monitor. The alert will be checked only on these accounts.
- columns
List<Get
Alert V2Sub Component Column> - filter
Must String - Runs Elasticsearch Bool Query
must
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - filter
Must StringNot - Runs Elasticsearch Bool Query
must_not
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - group
By List<String>Aggregation Fields - Specify 1-3 fields by which to group the results and count them. If you apply a group by operation, the alert returns a count of the results aggregated by unique values.
- operation String
- Specifies the operator for evaluating the results. Can be:
"LESS_THAN"
,"GREATER_THAN"
,"LESS_THAN_OR_EQUALS"
,"GREATER_THAN_OR_EQUALS"
,"EQUALS"
,"NOT_EQUALS"
. - query
String String - Provide a Kibana search query written in Lucene syntax. The search query together with the filters select for the relevant logs. Cannot be null - send an asterisk wildcard
"*"
if not using a search query. - severity
Threshold List<GetTiers Alert V2Sub Component Severity Threshold Tier> - Sets a severity label per trigger threshold. If using more than one sub-component, only 1 severityThresholdTiers is allowed. Otherwise, 1 per enum are allowed (for a total of 5 thresholds of increasing severities). Increasing severity must adhere to the logic of the operator.
- should
Query BooleanOn All Accounts - Defaults to true. Only applicable when the alert is run from the main account. If true, the alert runs on the main account and all associated searchable sub accounts. If false, specify relevant account IDs for the alert to monitor using the
account_ids_to_query_on
field. - value
Aggregation StringField - Selects the field on which to run the aggregation for the trigger condition. Cannot be a field already in use for
group_by_aggregation_fields
. - value
Aggregation StringType - Specifies the aggregation operator. Can be:
"SUM"
,"MIN"
,"MAX"
,"AVG"
,"COUNT"
,"UNIQUE_COUNT"
,"NONE"
. If"COUNT"
or"NONE"
,value_aggregation_field
must be null, andgroup_by_aggregation_fields
fields must not be empty. If any other operator type (other than"NONE"
or"COUNT"
),value_aggregation_field
must not be null.
- account
Ids number[]To Query Ons - Specify Account IDs to select which accounts the alert should monitor. The alert will be checked only on these accounts.
- columns
Get
Alert V2Sub Component Column[] - filter
Must string - Runs Elasticsearch Bool Query
must
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - filter
Must stringNot - Runs Elasticsearch Bool Query
must_not
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - group
By string[]Aggregation Fields - Specify 1-3 fields by which to group the results and count them. If you apply a group by operation, the alert returns a count of the results aggregated by unique values.
- operation string
- Specifies the operator for evaluating the results. Can be:
"LESS_THAN"
,"GREATER_THAN"
,"LESS_THAN_OR_EQUALS"
,"GREATER_THAN_OR_EQUALS"
,"EQUALS"
,"NOT_EQUALS"
. - query
String string - Provide a Kibana search query written in Lucene syntax. The search query together with the filters select for the relevant logs. Cannot be null - send an asterisk wildcard
"*"
if not using a search query. - severity
Threshold GetTiers Alert V2Sub Component Severity Threshold Tier[] - Sets a severity label per trigger threshold. If using more than one sub-component, only 1 severityThresholdTiers is allowed. Otherwise, 1 per enum are allowed (for a total of 5 thresholds of increasing severities). Increasing severity must adhere to the logic of the operator.
- should
Query booleanOn All Accounts - Defaults to true. Only applicable when the alert is run from the main account. If true, the alert runs on the main account and all associated searchable sub accounts. If false, specify relevant account IDs for the alert to monitor using the
account_ids_to_query_on
field. - value
Aggregation stringField - Selects the field on which to run the aggregation for the trigger condition. Cannot be a field already in use for
group_by_aggregation_fields
. - value
Aggregation stringType - Specifies the aggregation operator. Can be:
"SUM"
,"MIN"
,"MAX"
,"AVG"
,"COUNT"
,"UNIQUE_COUNT"
,"NONE"
. If"COUNT"
or"NONE"
,value_aggregation_field
must be null, andgroup_by_aggregation_fields
fields must not be empty. If any other operator type (other than"NONE"
or"COUNT"
),value_aggregation_field
must not be null.
- account_
ids_ Sequence[float]to_ query_ ons - Specify Account IDs to select which accounts the alert should monitor. The alert will be checked only on these accounts.
- columns
Sequence[Get
Alert V2Sub Component Column] - filter_
must str - Runs Elasticsearch Bool Query
must
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - filter_
must_ strnot - Runs Elasticsearch Bool Query
must_not
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - group_
by_ Sequence[str]aggregation_ fields - Specify 1-3 fields by which to group the results and count them. If you apply a group by operation, the alert returns a count of the results aggregated by unique values.
- operation str
- Specifies the operator for evaluating the results. Can be:
"LESS_THAN"
,"GREATER_THAN"
,"LESS_THAN_OR_EQUALS"
,"GREATER_THAN_OR_EQUALS"
,"EQUALS"
,"NOT_EQUALS"
. - query_
string str - Provide a Kibana search query written in Lucene syntax. The search query together with the filters select for the relevant logs. Cannot be null - send an asterisk wildcard
"*"
if not using a search query. - severity_
threshold_ Sequence[Gettiers Alert V2Sub Component Severity Threshold Tier] - Sets a severity label per trigger threshold. If using more than one sub-component, only 1 severityThresholdTiers is allowed. Otherwise, 1 per enum are allowed (for a total of 5 thresholds of increasing severities). Increasing severity must adhere to the logic of the operator.
- should_
query_ boolon_ all_ accounts - Defaults to true. Only applicable when the alert is run from the main account. If true, the alert runs on the main account and all associated searchable sub accounts. If false, specify relevant account IDs for the alert to monitor using the
account_ids_to_query_on
field. - value_
aggregation_ strfield - Selects the field on which to run the aggregation for the trigger condition. Cannot be a field already in use for
group_by_aggregation_fields
. - value_
aggregation_ strtype - Specifies the aggregation operator. Can be:
"SUM"
,"MIN"
,"MAX"
,"AVG"
,"COUNT"
,"UNIQUE_COUNT"
,"NONE"
. If"COUNT"
or"NONE"
,value_aggregation_field
must be null, andgroup_by_aggregation_fields
fields must not be empty. If any other operator type (other than"NONE"
or"COUNT"
),value_aggregation_field
must not be null.
- account
Ids List<Number>To Query Ons - Specify Account IDs to select which accounts the alert should monitor. The alert will be checked only on these accounts.
- columns List<Property Map>
- filter
Must String - Runs Elasticsearch Bool Query
must
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - filter
Must StringNot - Runs Elasticsearch Bool Query
must_not
filters on the data (before the search query is applied). The most efficient way to grab the logs you are looking for. - group
By List<String>Aggregation Fields - Specify 1-3 fields by which to group the results and count them. If you apply a group by operation, the alert returns a count of the results aggregated by unique values.
- operation String
- Specifies the operator for evaluating the results. Can be:
"LESS_THAN"
,"GREATER_THAN"
,"LESS_THAN_OR_EQUALS"
,"GREATER_THAN_OR_EQUALS"
,"EQUALS"
,"NOT_EQUALS"
. - query
String String - Provide a Kibana search query written in Lucene syntax. The search query together with the filters select for the relevant logs. Cannot be null - send an asterisk wildcard
"*"
if not using a search query. - severity
Threshold List<Property Map>Tiers - Sets a severity label per trigger threshold. If using more than one sub-component, only 1 severityThresholdTiers is allowed. Otherwise, 1 per enum are allowed (for a total of 5 thresholds of increasing severities). Increasing severity must adhere to the logic of the operator.
- should
Query BooleanOn All Accounts - Defaults to true. Only applicable when the alert is run from the main account. If true, the alert runs on the main account and all associated searchable sub accounts. If false, specify relevant account IDs for the alert to monitor using the
account_ids_to_query_on
field. - value
Aggregation StringField - Selects the field on which to run the aggregation for the trigger condition. Cannot be a field already in use for
group_by_aggregation_fields
. - value
Aggregation StringType - Specifies the aggregation operator. Can be:
"SUM"
,"MIN"
,"MAX"
,"AVG"
,"COUNT"
,"UNIQUE_COUNT"
,"NONE"
. If"COUNT"
or"NONE"
,value_aggregation_field
must be null, andgroup_by_aggregation_fields
fields must not be empty. If any other operator type (other than"NONE"
or"COUNT"
),value_aggregation_field
must not be null.
GetAlertV2SubComponentColumn
- Field
Name string - Specify the fields to be included in the notification.
- Regex string
- Trims the data using regex filters. Learn more.
- Sort string
- Specify a single field to sort by. The field cannot be an analyzed field (a field that supports free text search or searching by part of a message, such as the 'message' field). Should be:
"DESC"
,"ASC"
.
- Field
Name string - Specify the fields to be included in the notification.
- Regex string
- Trims the data using regex filters. Learn more.
- Sort string
- Specify a single field to sort by. The field cannot be an analyzed field (a field that supports free text search or searching by part of a message, such as the 'message' field). Should be:
"DESC"
,"ASC"
.
- field
Name String - Specify the fields to be included in the notification.
- regex String
- Trims the data using regex filters. Learn more.
- sort String
- Specify a single field to sort by. The field cannot be an analyzed field (a field that supports free text search or searching by part of a message, such as the 'message' field). Should be:
"DESC"
,"ASC"
.
- field
Name string - Specify the fields to be included in the notification.
- regex string
- Trims the data using regex filters. Learn more.
- sort string
- Specify a single field to sort by. The field cannot be an analyzed field (a field that supports free text search or searching by part of a message, such as the 'message' field). Should be:
"DESC"
,"ASC"
.
- field_
name str - Specify the fields to be included in the notification.
- regex str
- Trims the data using regex filters. Learn more.
- sort str
- Specify a single field to sort by. The field cannot be an analyzed field (a field that supports free text search or searching by part of a message, such as the 'message' field). Should be:
"DESC"
,"ASC"
.
- field
Name String - Specify the fields to be included in the notification.
- regex String
- Trims the data using regex filters. Learn more.
- sort String
- Specify a single field to sort by. The field cannot be an analyzed field (a field that supports free text search or searching by part of a message, such as the 'message' field). Should be:
"DESC"
,"ASC"
.
GetAlertV2SubComponentSeverityThresholdTier
Package Details
- Repository
- logzio logzio/terraform-provider-logzio
- License
- Notes
- This Pulumi package is based on the
logzio
Terraform Provider.