published on Tuesday, Nov 10, 2026 by elastic
published on Tuesday, Nov 10, 2026 by elastic
Reads Kibana alerting rules in a space, either one rule by ID or the rules selected by a KQL filter.
last_execution_status, last_execution_date, and scheduled_task_id are null when Kibana does not report them. A rule that has never executed, or whose last execution time cannot be parsed, has a null last_execution_date. A rule with no tags has tags as an empty set.
This data source replaces the removed last_execution_status and last_execution_date attributes on the elasticstack.KibanaAlertingRule resource.
In a space with many rules, set filter so each read does not page through every rule.
Example Usage
Look up one rule and read its last execution status
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const exampleKibanaAlertingRule = new elasticstack.KibanaAlertingRule("example", {
name: "example-rule",
consumer: "alerts",
notifyWhen: "onActiveAlert",
ruleTypeId: ".index-threshold",
interval: "1m",
enabled: true,
params: JSON.stringify({
aggType: "avg",
groupBy: "top",
termSize: 10,
timeWindowSize: 10,
timeWindowUnit: "s",
threshold: [10],
thresholdComparator: ">",
index: ["test-index"],
timeField: "@timestamp",
aggField: "version",
termField: "name",
}),
});
const example = elasticstack.getKibanaAlertingRulesOutput({
ruleId: exampleKibanaAlertingRule.ruleId,
});
export const lastExecutionStatus = example.apply(example => example.rules?.[0]?.lastExecutionStatus);
import pulumi
import json
import pulumi_elasticstack as elasticstack
example_kibana_alerting_rule = elasticstack.KibanaAlertingRule("example",
name="example-rule",
consumer="alerts",
notify_when="onActiveAlert",
rule_type_id=".index-threshold",
interval="1m",
enabled=True,
params=json.dumps({
"aggType": "avg",
"groupBy": "top",
"termSize": 10,
"timeWindowSize": 10,
"timeWindowUnit": "s",
"threshold": [10],
"thresholdComparator": ">",
"index": ["test-index"],
"timeField": "@timestamp",
"aggField": "version",
"termField": "name",
}))
example = elasticstack.get_kibana_alerting_rules_output(rule_id=example_kibana_alerting_rule.rule_id)
pulumi.export("lastExecutionStatus", example.rules[0].last_execution_status)
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"aggType": "avg",
"groupBy": "top",
"termSize": 10,
"timeWindowSize": 10,
"timeWindowUnit": "s",
"threshold": []float64{
10,
},
"thresholdComparator": ">",
"index": []string{
"test-index",
},
"timeField": "@timestamp",
"aggField": "version",
"termField": "name",
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
exampleKibanaAlertingRule, err := elasticstack.NewKibanaAlertingRule(ctx, "example", &elasticstack.KibanaAlertingRuleArgs{
Name: pulumi.String("example-rule"),
Consumer: pulumi.String("alerts"),
NotifyWhen: pulumi.String("onActiveAlert"),
RuleTypeId: pulumi.String(".index-threshold"),
Interval: pulumi.String("1m"),
Enabled: pulumi.Bool(true),
Params: pulumi.String(json0),
})
if err != nil {
return err
}
example := elasticstack.GetKibanaAlertingRulesOutput(ctx, elasticstack.GetKibanaAlertingRulesOutputArgs{
RuleId: exampleKibanaAlertingRule.RuleId,
}, nil)
ctx.Export("lastExecutionStatus", example.ApplyT(func(example elasticstack.GetKibanaAlertingRulesResult) (*string, error) {
return &example.Rules[0].LastExecutionStatus, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var exampleKibanaAlertingRule = new Elasticstack.KibanaAlertingRule("example", new()
{
Name = "example-rule",
Consumer = "alerts",
NotifyWhen = "onActiveAlert",
RuleTypeId = ".index-threshold",
Interval = "1m",
Enabled = true,
Params = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["aggType"] = "avg",
["groupBy"] = "top",
["termSize"] = 10,
["timeWindowSize"] = 10,
["timeWindowUnit"] = "s",
["threshold"] = new[]
{
10,
},
["thresholdComparator"] = ">",
["index"] = new[]
{
"test-index",
},
["timeField"] = "@timestamp",
["aggField"] = "version",
["termField"] = "name",
}),
});
var example = Elasticstack.GetKibanaAlertingRules.Invoke(new()
{
RuleId = exampleKibanaAlertingRule.RuleId,
});
return new Dictionary<string, object?>
{
["lastExecutionStatus"] = example.Apply(getKibanaAlertingRulesResult => getKibanaAlertingRulesResult.Rules[0]?.LastExecutionStatus),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.KibanaAlertingRule;
import com.pulumi.elasticstack.KibanaAlertingRuleArgs;
import com.pulumi.elasticstack.ElasticstackFunctions;
import com.pulumi.elasticstack.inputs.GetKibanaAlertingRulesArgs;
import static com.pulumi.codegen.internal.Serialization.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleKibanaAlertingRule = new KibanaAlertingRule("exampleKibanaAlertingRule", KibanaAlertingRuleArgs.builder()
.name("example-rule")
.consumer("alerts")
.notifyWhen("onActiveAlert")
.ruleTypeId(".index-threshold")
.interval("1m")
.enabled(true)
.params(serializeJson(
jsonObject(
jsonProperty("aggType", "avg"),
jsonProperty("groupBy", "top"),
jsonProperty("termSize", 10),
jsonProperty("timeWindowSize", 10),
jsonProperty("timeWindowUnit", "s"),
jsonProperty("threshold", jsonArray(10)),
jsonProperty("thresholdComparator", ">"),
jsonProperty("index", jsonArray("test-index")),
jsonProperty("timeField", "@timestamp"),
jsonProperty("aggField", "version"),
jsonProperty("termField", "name")
)))
.build());
final var example = ElasticstackFunctions.getKibanaAlertingRules(GetKibanaAlertingRulesArgs.builder()
.ruleId(exampleKibanaAlertingRule.ruleId())
.build());
ctx.export("lastExecutionStatus", example.applyValue(_example -> _example.rules()[0].lastExecutionStatus()));
}
}
resources:
exampleKibanaAlertingRule:
type: elasticstack:KibanaAlertingRule
name: example
properties:
name: example-rule
consumer: alerts
notifyWhen: onActiveAlert
ruleTypeId: .index-threshold
interval: 1m
enabled: true
params:
fn::toJSON:
aggType: avg
groupBy: top
termSize: 10
timeWindowSize: 10
timeWindowUnit: s
threshold:
- 10
thresholdComparator: '>'
index:
- test-index
timeField: '@timestamp'
aggField: version
termField: name
variables:
example:
fn::invoke:
function: elasticstack:getKibanaAlertingRules
arguments:
ruleId: ${exampleKibanaAlertingRule.ruleId}
outputs:
lastExecutionStatus: ${example.rules[0].lastExecutionStatus}
Example coming soon!
Using getKibanaAlertingRules
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 getKibanaAlertingRules(args: GetKibanaAlertingRulesArgs, opts?: InvokeOptions): Promise<GetKibanaAlertingRulesResult>
function getKibanaAlertingRulesOutput(args: GetKibanaAlertingRulesOutputArgs, opts?: InvokeOutputOptions): Output<GetKibanaAlertingRulesResult>def get_kibana_alerting_rules(filter: Optional[str] = None,
kibana_connections: Optional[Sequence[GetKibanaAlertingRulesKibanaConnection]] = None,
rule_id: Optional[str] = None,
space_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKibanaAlertingRulesResult
def get_kibana_alerting_rules_output(filter: pulumi.Input[Optional[str]] = None,
kibana_connections: pulumi.Input[Optional[Sequence[pulumi.Input[GetKibanaAlertingRulesKibanaConnectionArgs]]]] = None,
rule_id: pulumi.Input[Optional[str]] = None,
space_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetKibanaAlertingRulesResult]func GetKibanaAlertingRules(ctx *Context, args *GetKibanaAlertingRulesArgs, opts ...InvokeOption) (*GetKibanaAlertingRulesResult, error)
func GetKibanaAlertingRulesOutput(ctx *Context, args *GetKibanaAlertingRulesOutputArgs, opts ...InvokeOption) GetKibanaAlertingRulesResultOutput> Note: This function is named GetKibanaAlertingRules in the Go SDK.
public static class GetKibanaAlertingRules
{
public static Task<GetKibanaAlertingRulesResult> InvokeAsync(GetKibanaAlertingRulesArgs args, InvokeOptions? opts = null)
public static Output<GetKibanaAlertingRulesResult> Invoke(GetKibanaAlertingRulesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetKibanaAlertingRulesResult> Invoke(GetKibanaAlertingRulesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetKibanaAlertingRulesResult> getKibanaAlertingRules(GetKibanaAlertingRulesArgs args, InvokeOptions options)
public static Output<GetKibanaAlertingRulesResult> getKibanaAlertingRules(GetKibanaAlertingRulesArgs args, InvokeOptions options)
public static Output<GetKibanaAlertingRulesResult> getKibanaAlertingRules(GetKibanaAlertingRulesArgs args, InvokeOutputOptions options)
fn::invoke:
function: elasticstack:index/getKibanaAlertingRules:getKibanaAlertingRules
arguments:
# arguments dictionarydata "elasticstack_get_kibana_alerting_rules" "name" {
# arguments
}The following arguments are supported:
- Filter string
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - Kibana
Connections List<GetKibana Alerting Rules Kibana Connection> - Kibana connection configuration block.
- Rule
Id string - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter. - Space
Id string - Kibana space identifier. When omitted, the default space is used and stored in state.
- Filter string
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - Kibana
Connections []GetKibana Alerting Rules Kibana Connection - Kibana connection configuration block.
- Rule
Id string - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter. - Space
Id string - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter string
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana_
connections list(object) - Kibana connection configuration block.
- rule_
id string - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter. - space_
id string - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter String
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana
Connections List<GetKibana Alerting Rules Kibana Connection> - Kibana connection configuration block.
- rule
Id String - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter. - space
Id String - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter string
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana
Connections GetKibana Alerting Rules Kibana Connection[] - Kibana connection configuration block.
- rule
Id string - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter. - space
Id string - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter str
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana_
connections Sequence[GetKibana Alerting Rules Kibana Connection] - Kibana connection configuration block.
- rule_
id str - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter. - space_
id str - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter String
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana
Connections List<Property Map> - Kibana connection configuration block.
- rule
Id String - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter. - space
Id String - Kibana space identifier. When omitted, the default space is used and stored in state.
getKibanaAlertingRules Result
The following output properties are available:
- Id string
- Space and, for a single-rule lookup, rule ID.
<space_id>/<rule_id>whenrule_idis set, otherwise<space_id>. - Rules
List<Get
Kibana Alerting Rules Rule> - Rules returned by the lookup or search.
last_execution_status,last_execution_date, andscheduled_task_idare null when Kibana does not report them. - Space
Id string - Kibana space identifier. When omitted, the default space is used and stored in state.
- Filter string
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - Kibana
Connections List<GetKibana Alerting Rules Kibana Connection> - Kibana connection configuration block.
- Rule
Id string - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter.
- Id string
- Space and, for a single-rule lookup, rule ID.
<space_id>/<rule_id>whenrule_idis set, otherwise<space_id>. - Rules
[]Get
Kibana Alerting Rules Rule - Rules returned by the lookup or search.
last_execution_status,last_execution_date, andscheduled_task_idare null when Kibana does not report them. - Space
Id string - Kibana space identifier. When omitted, the default space is used and stored in state.
- Filter string
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - Kibana
Connections []GetKibana Alerting Rules Kibana Connection - Kibana connection configuration block.
- Rule
Id string - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter.
- id string
- Space and, for a single-rule lookup, rule ID.
<space_id>/<rule_id>whenrule_idis set, otherwise<space_id>. - rules list(object)
- Rules returned by the lookup or search.
last_execution_status,last_execution_date, andscheduled_task_idare null when Kibana does not report them. - space_
id string - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter string
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana_
connections list(object) - Kibana connection configuration block.
- rule_
id string - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter.
- id String
- Space and, for a single-rule lookup, rule ID.
<space_id>/<rule_id>whenrule_idis set, otherwise<space_id>. - rules
List<Get
Kibana Alerting Rules Rule> - Rules returned by the lookup or search.
last_execution_status,last_execution_date, andscheduled_task_idare null when Kibana does not report them. - space
Id String - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter String
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana
Connections List<GetKibana Alerting Rules Kibana Connection> - Kibana connection configuration block.
- rule
Id String - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter.
- id string
- Space and, for a single-rule lookup, rule ID.
<space_id>/<rule_id>whenrule_idis set, otherwise<space_id>. - rules
Get
Kibana Alerting Rules Rule[] - Rules returned by the lookup or search.
last_execution_status,last_execution_date, andscheduled_task_idare null when Kibana does not report them. - space
Id string - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter string
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana
Connections GetKibana Alerting Rules Kibana Connection[] - Kibana connection configuration block.
- rule
Id string - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter.
- id str
- Space and, for a single-rule lookup, rule ID.
<space_id>/<rule_id>whenrule_idis set, otherwise<space_id>. - rules
Sequence[Get
Kibana Alerting Rules Rule] - Rules returned by the lookup or search.
last_execution_status,last_execution_date, andscheduled_task_idare null when Kibana does not report them. - space_
id str - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter str
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana_
connections Sequence[GetKibana Alerting Rules Kibana Connection] - Kibana connection configuration block.
- rule_
id str - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter.
- id String
- Space and, for a single-rule lookup, rule ID.
<space_id>/<rule_id>whenrule_idis set, otherwise<space_id>. - rules List<Property Map>
- Rules returned by the lookup or search.
last_execution_status,last_execution_date, andscheduled_task_idare null when Kibana does not report them. - space
Id String - Kibana space identifier. When omitted, the default space is used and stored in state.
- filter String
- KQL filter passed to Kibana unmodified. Mutually exclusive with
rule_id. When bothrule_idandfilterare omitted, every rule in the space is returned. Setfilterin spaces with many rules. - kibana
Connections List<Property Map> - Kibana connection configuration block.
- rule
Id String - Plain Kibana rule ID to look up in
space_id. Mutually exclusive withfilter.
Supporting Types
GetKibanaAlertingRulesKibanaConnection
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs List<string> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints List<string>
- Headers Dictionary<string, string>
- A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs []string - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints []string
- Headers map[string]string
- A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- api_
key string - API Key to use for authentication to Kibana
- bearer_
token string - Bearer Token to use for authentication to Kibana
- ca_
certs list(string) - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints list(string)
- headers map(string)
- A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
- insecure bool
- Disable TLS certificate validation
- password string
- Password to use for API authentication to Kibana.
- username string
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- headers Map<String,String>
- A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
- api
Key string - API Key to use for authentication to Kibana
- bearer
Token string - Bearer Token to use for authentication to Kibana
- ca
Certs string[] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints string[]
- headers {[key: string]: string}
- A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
- insecure boolean
- Disable TLS certificate validation
- password string
- Password to use for API authentication to Kibana.
- username string
- Username to use for API authentication to Kibana.
- api_
key str - API Key to use for authentication to Kibana
- bearer_
token str - Bearer Token to use for authentication to Kibana
- ca_
certs Sequence[str] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints Sequence[str]
- headers Mapping[str, str]
- A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
- insecure bool
- Disable TLS certificate validation
- password str
- Password to use for API authentication to Kibana.
- username str
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- headers Map<String>
- A map of headers to be sent with each request to Kibana. Custom header values may appear in provider debug logs: Authorization is masked, but arbitrary custom proxy-token headers are not generally redacted.
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
GetKibanaAlertingRulesRule
- Consumer string
- Kibana application that owns the rule.
- Enabled bool
- Whether the rule is enabled.
- Id string
- Rule ID.
- Last
Execution stringDate - UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
- Last
Execution stringStatus - Status of the rule's last execution, such as
okoractive. Null when Kibana reports no execution status. - Name string
- Rule name.
- Rule
Type stringId - Rule type identifier.
- Scheduled
Task stringId - Identifier of the rule's scheduled task. Null when Kibana omits it.
- List<string>
- Tags on the rule. An empty set when the rule has no tags.
- Consumer string
- Kibana application that owns the rule.
- Enabled bool
- Whether the rule is enabled.
- Id string
- Rule ID.
- Last
Execution stringDate - UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
- Last
Execution stringStatus - Status of the rule's last execution, such as
okoractive. Null when Kibana reports no execution status. - Name string
- Rule name.
- Rule
Type stringId - Rule type identifier.
- Scheduled
Task stringId - Identifier of the rule's scheduled task. Null when Kibana omits it.
- []string
- Tags on the rule. An empty set when the rule has no tags.
- consumer string
- Kibana application that owns the rule.
- enabled bool
- Whether the rule is enabled.
- id string
- Rule ID.
- last_
execution_ stringdate - UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
- last_
execution_ stringstatus - Status of the rule's last execution, such as
okoractive. Null when Kibana reports no execution status. - name string
- Rule name.
- rule_
type_ stringid - Rule type identifier.
- scheduled_
task_ stringid - Identifier of the rule's scheduled task. Null when Kibana omits it.
- list(string)
- Tags on the rule. An empty set when the rule has no tags.
- consumer String
- Kibana application that owns the rule.
- enabled Boolean
- Whether the rule is enabled.
- id String
- Rule ID.
- last
Execution StringDate - UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
- last
Execution StringStatus - Status of the rule's last execution, such as
okoractive. Null when Kibana reports no execution status. - name String
- Rule name.
- rule
Type StringId - Rule type identifier.
- scheduled
Task StringId - Identifier of the rule's scheduled task. Null when Kibana omits it.
- List<String>
- Tags on the rule. An empty set when the rule has no tags.
- consumer string
- Kibana application that owns the rule.
- enabled boolean
- Whether the rule is enabled.
- id string
- Rule ID.
- last
Execution stringDate - UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
- last
Execution stringStatus - Status of the rule's last execution, such as
okoractive. Null when Kibana reports no execution status. - name string
- Rule name.
- rule
Type stringId - Rule type identifier.
- scheduled
Task stringId - Identifier of the rule's scheduled task. Null when Kibana omits it.
- string[]
- Tags on the rule. An empty set when the rule has no tags.
- consumer str
- Kibana application that owns the rule.
- enabled bool
- Whether the rule is enabled.
- id str
- Rule ID.
- last_
execution_ strdate - UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
- last_
execution_ strstatus - Status of the rule's last execution, such as
okoractive. Null when Kibana reports no execution status. - name str
- Rule name.
- rule_
type_ strid - Rule type identifier.
- scheduled_
task_ strid - Identifier of the rule's scheduled task. Null when Kibana omits it.
- Sequence[str]
- Tags on the rule. An empty set when the rule has no tags.
- consumer String
- Kibana application that owns the rule.
- enabled Boolean
- Whether the rule is enabled.
- id String
- Rule ID.
- last
Execution StringDate - UTC RFC3339 timestamp of the rule's last execution, with exactly three fractional-second digits. Null when Kibana reports no last execution time or the time cannot be parsed.
- last
Execution StringStatus - Status of the rule's last execution, such as
okoractive. Null when Kibana reports no execution status. - name String
- Rule name.
- rule
Type StringId - Rule type identifier.
- scheduled
Task StringId - Identifier of the rule's scheduled task. Null when Kibana omits it.
- List<String>
- Tags on the rule. An empty set when the rule has no tags.
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstackTerraform Provider.
published on Tuesday, Nov 10, 2026 by elastic