1. Packages
  2. stackit
  3. API Docs
  4. getObservabilityLogalertgroup
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    Observability log alert group datasource schema. Used to create alerts based on logs (Loki). Must have a region specified in the provider configuration.

    Example Usage

    data "stackit_observability_logalertgroup" "example" {
      project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      name        = "example-log-alert-group"
    }
    

    Using getObservabilityLogalertgroup

    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 getObservabilityLogalertgroup(args: GetObservabilityLogalertgroupArgs, opts?: InvokeOptions): Promise<GetObservabilityLogalertgroupResult>
    function getObservabilityLogalertgroupOutput(args: GetObservabilityLogalertgroupOutputArgs, opts?: InvokeOptions): Output<GetObservabilityLogalertgroupResult>
    def get_observability_logalertgroup(instance_id: Optional[str] = None,
                                        name: Optional[str] = None,
                                        project_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetObservabilityLogalertgroupResult
    def get_observability_logalertgroup_output(instance_id: Optional[pulumi.Input[str]] = None,
                                        name: Optional[pulumi.Input[str]] = None,
                                        project_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetObservabilityLogalertgroupResult]
    func LookupObservabilityLogalertgroup(ctx *Context, args *LookupObservabilityLogalertgroupArgs, opts ...InvokeOption) (*LookupObservabilityLogalertgroupResult, error)
    func LookupObservabilityLogalertgroupOutput(ctx *Context, args *LookupObservabilityLogalertgroupOutputArgs, opts ...InvokeOption) LookupObservabilityLogalertgroupResultOutput

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

    public static class GetObservabilityLogalertgroup 
    {
        public static Task<GetObservabilityLogalertgroupResult> InvokeAsync(GetObservabilityLogalertgroupArgs args, InvokeOptions? opts = null)
        public static Output<GetObservabilityLogalertgroupResult> Invoke(GetObservabilityLogalertgroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetObservabilityLogalertgroupResult> getObservabilityLogalertgroup(GetObservabilityLogalertgroupArgs args, InvokeOptions options)
    public static Output<GetObservabilityLogalertgroupResult> getObservabilityLogalertgroup(GetObservabilityLogalertgroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getObservabilityLogalertgroup:getObservabilityLogalertgroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    Observability instance ID to which the log alert group is associated.
    Name string
    The name of the log alert group. Is the identifier and must be unique in the group.
    ProjectId string
    STACKIT project ID to which the log alert group is associated.
    InstanceId string
    Observability instance ID to which the log alert group is associated.
    Name string
    The name of the log alert group. Is the identifier and must be unique in the group.
    ProjectId string
    STACKIT project ID to which the log alert group is associated.
    instanceId String
    Observability instance ID to which the log alert group is associated.
    name String
    The name of the log alert group. Is the identifier and must be unique in the group.
    projectId String
    STACKIT project ID to which the log alert group is associated.
    instanceId string
    Observability instance ID to which the log alert group is associated.
    name string
    The name of the log alert group. Is the identifier and must be unique in the group.
    projectId string
    STACKIT project ID to which the log alert group is associated.
    instance_id str
    Observability instance ID to which the log alert group is associated.
    name str
    The name of the log alert group. Is the identifier and must be unique in the group.
    project_id str
    STACKIT project ID to which the log alert group is associated.
    instanceId String
    Observability instance ID to which the log alert group is associated.
    name String
    The name of the log alert group. Is the identifier and must be unique in the group.
    projectId String
    STACKIT project ID to which the log alert group is associated.

    getObservabilityLogalertgroup Result

    The following output properties are available:

    Id string
    InstanceId string
    Observability instance ID to which the log alert group is associated.
    Interval string
    Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.
    Name string
    The name of the log alert group. Is the identifier and must be unique in the group.
    ProjectId string
    STACKIT project ID to which the log alert group is associated.
    Rules List<GetObservabilityLogalertgroupRule>
    Id string
    InstanceId string
    Observability instance ID to which the log alert group is associated.
    Interval string
    Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.
    Name string
    The name of the log alert group. Is the identifier and must be unique in the group.
    ProjectId string
    STACKIT project ID to which the log alert group is associated.
    Rules []GetObservabilityLogalertgroupRule
    id String
    instanceId String
    Observability instance ID to which the log alert group is associated.
    interval String
    Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.
    name String
    The name of the log alert group. Is the identifier and must be unique in the group.
    projectId String
    STACKIT project ID to which the log alert group is associated.
    rules List<GetObservabilityLogalertgroupRule>
    id string
    instanceId string
    Observability instance ID to which the log alert group is associated.
    interval string
    Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.
    name string
    The name of the log alert group. Is the identifier and must be unique in the group.
    projectId string
    STACKIT project ID to which the log alert group is associated.
    rules GetObservabilityLogalertgroupRule[]
    id str
    instance_id str
    Observability instance ID to which the log alert group is associated.
    interval str
    Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.
    name str
    The name of the log alert group. Is the identifier and must be unique in the group.
    project_id str
    STACKIT project ID to which the log alert group is associated.
    rules Sequence[GetObservabilityLogalertgroupRule]
    id String
    instanceId String
    Observability instance ID to which the log alert group is associated.
    interval String
    Specifies the frequency at which rules within the group are evaluated. The interval must be at least 60 seconds and defaults to 60 seconds if not set. Supported formats include hours, minutes, and seconds, either singly or in combination. Examples of valid formats are: '5h30m40s', '5h', '5h30m', '60m', and '60s'.
    name String
    The name of the log alert group. Is the identifier and must be unique in the group.
    projectId String
    STACKIT project ID to which the log alert group is associated.
    rules List<Property Map>

    Supporting Types

    GetObservabilityLogalertgroupRule

    Alert string
    The name of the alert rule. Is the identifier and must be unique in the group.
    Annotations Dictionary<string, string>
    A map of key:value. Annotations to add or overwrite for each alert
    Expression string
    The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts.
    For string
    Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s
    Labels Dictionary<string, string>
    A map of key:value. Labels to add or overwrite for each alert
    Alert string
    The name of the alert rule. Is the identifier and must be unique in the group.
    Annotations map[string]string
    A map of key:value. Annotations to add or overwrite for each alert
    Expression string
    The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts.
    For string
    Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s
    Labels map[string]string
    A map of key:value. Labels to add or overwrite for each alert
    alert String
    The name of the alert rule. Is the identifier and must be unique in the group.
    annotations Map<String,String>
    A map of key:value. Annotations to add or overwrite for each alert
    expression String
    The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts.
    for_ String
    Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s
    labels Map<String,String>
    A map of key:value. Labels to add or overwrite for each alert
    alert string
    The name of the alert rule. Is the identifier and must be unique in the group.
    annotations {[key: string]: string}
    A map of key:value. Annotations to add or overwrite for each alert
    expression string
    The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts.
    for string
    Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s
    labels {[key: string]: string}
    A map of key:value. Labels to add or overwrite for each alert
    alert str
    The name of the alert rule. Is the identifier and must be unique in the group.
    annotations Mapping[str, str]
    A map of key:value. Annotations to add or overwrite for each alert
    expression str
    The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts.
    for_ str
    Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s
    labels Mapping[str, str]
    A map of key:value. Labels to add or overwrite for each alert
    alert String
    The name of the alert rule. Is the identifier and must be unique in the group.
    annotations Map<String>
    A map of key:value. Annotations to add or overwrite for each alert
    expression String
    The LogQL expression to evaluate. Every evaluation cycle this is evaluated at the current time, and all resultant time series become pending/firing alerts.
    for String
    Alerts are considered firing once they have been returned for this long. Alerts which have not yet fired for long enough are considered pending. Default is 0s
    labels Map<String>
    A map of key:value. Labels to add or overwrite for each alert

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.