1. Packages
  2. Elasticstack Provider
  3. API Docs
  4. KibanaSlo
elasticstack 0.11.14 published on Monday, Apr 14, 2025 by elastic

elasticstack.KibanaSlo

Explore with Pulumi AI

Creates or updates a Kibana SLO. See the Kibana SLO docs and dev docs for more information.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";

const authServerLatency = new elasticstack.KibanaSlo("authServerLatency", {
    apmLatencyIndicator: {
        environment: "production",
        index: "metrics-apm*",
        service: "auth",
        threshold: 500,
        transactionName: "GET /auth",
        transactionType: "request",
    },
    budgetingMethod: "timeslices",
    description: "Ensures auth server is responding in time",
    objective: {
        target: 0.95,
        timesliceTarget: 0.95,
        timesliceWindow: "5m",
    },
    settings: {
        frequency: "5m",
        syncDelay: "5m",
    },
    timeWindow: {
        duration: "7d",
        type: "rolling",
    },
});
const authServerAvailability = new elasticstack.KibanaSlo("authServerAvailability", {
    apmAvailabilityIndicator: {
        environment: "production",
        index: "metrics-apm*",
        service: "my-service",
        transactionName: "GET /sup/dawg",
        transactionType: "request",
    },
    budgetingMethod: "timeslices",
    description: "Ensures auth server is responding in time",
    objective: {
        target: 0.95,
        timesliceTarget: 0.95,
        timesliceWindow: "5m",
    },
    settings: {
        frequency: "5m",
        syncDelay: "5m",
    },
    timeWindow: {
        duration: "7d",
        type: "rolling",
    },
});
const customKql = new elasticstack.KibanaSlo("customKql", {
    budgetingMethod: "timeslices",
    description: "custom kql",
    kqlCustomIndicator: {
        filter: "labels.groupId: group-0",
        good: "latency < 300",
        index: "my-index",
        timestampField: "custom_timestamp",
        total: "*",
    },
    objective: {
        target: 0.95,
        timesliceTarget: 0.95,
        timesliceWindow: "5m",
    },
    settings: {
        frequency: "5m",
        syncDelay: "5m",
    },
    timeWindow: {
        duration: "7d",
        type: "rolling",
    },
});
//Available from 8.10.0
const customHistogram = new elasticstack.KibanaSlo("customHistogram", {
    budgetingMethod: "timeslices",
    description: "custom histogram",
    histogramCustomIndicator: {
        filter: "labels.groupId: group-0",
        good: {
            aggregation: "value_count",
            field: "test",
            filter: "latency < 300",
        },
        index: "my-index",
        timestampField: "custom_timestamp",
        total: {
            aggregation: "value_count",
            field: "test",
        },
    },
    objective: {
        target: 0.95,
        timesliceTarget: 0.95,
        timesliceWindow: "5m",
    },
    tags: [
        "tag-1",
        "another_tag",
    ],
    timeWindow: {
        duration: "7d",
        type: "rolling",
    },
});
//Available from 8.10.0
const customMetric = new elasticstack.KibanaSlo("customMetric", {
    budgetingMethod: "timeslices",
    description: "custom kql",
    metricCustomIndicator: {
        good: {
            equation: "A",
            metrics: [{
                aggregation: "sum",
                field: "processor.processed",
                name: "A",
            }],
        },
        index: "my-index",
        total: {
            equation: "A",
            metrics: [{
                aggregation: "sum",
                field: "processor.accepted",
                name: "A",
            }],
        },
    },
    objective: {
        target: 0.95,
        timesliceTarget: 0.95,
        timesliceWindow: "5m",
    },
    timeWindow: {
        duration: "7d",
        type: "rolling",
    },
});
Copy
import pulumi
import pulumi_elasticstack as elasticstack

auth_server_latency = elasticstack.KibanaSlo("authServerLatency",
    apm_latency_indicator={
        "environment": "production",
        "index": "metrics-apm*",
        "service": "auth",
        "threshold": 500,
        "transaction_name": "GET /auth",
        "transaction_type": "request",
    },
    budgeting_method="timeslices",
    description="Ensures auth server is responding in time",
    objective={
        "target": 0.95,
        "timeslice_target": 0.95,
        "timeslice_window": "5m",
    },
    settings={
        "frequency": "5m",
        "sync_delay": "5m",
    },
    time_window={
        "duration": "7d",
        "type": "rolling",
    })
auth_server_availability = elasticstack.KibanaSlo("authServerAvailability",
    apm_availability_indicator={
        "environment": "production",
        "index": "metrics-apm*",
        "service": "my-service",
        "transaction_name": "GET /sup/dawg",
        "transaction_type": "request",
    },
    budgeting_method="timeslices",
    description="Ensures auth server is responding in time",
    objective={
        "target": 0.95,
        "timeslice_target": 0.95,
        "timeslice_window": "5m",
    },
    settings={
        "frequency": "5m",
        "sync_delay": "5m",
    },
    time_window={
        "duration": "7d",
        "type": "rolling",
    })
custom_kql = elasticstack.KibanaSlo("customKql",
    budgeting_method="timeslices",
    description="custom kql",
    kql_custom_indicator={
        "filter": "labels.groupId: group-0",
        "good": "latency < 300",
        "index": "my-index",
        "timestamp_field": "custom_timestamp",
        "total": "*",
    },
    objective={
        "target": 0.95,
        "timeslice_target": 0.95,
        "timeslice_window": "5m",
    },
    settings={
        "frequency": "5m",
        "sync_delay": "5m",
    },
    time_window={
        "duration": "7d",
        "type": "rolling",
    })
#Available from 8.10.0
custom_histogram = elasticstack.KibanaSlo("customHistogram",
    budgeting_method="timeslices",
    description="custom histogram",
    histogram_custom_indicator={
        "filter": "labels.groupId: group-0",
        "good": {
            "aggregation": "value_count",
            "field": "test",
            "filter": "latency < 300",
        },
        "index": "my-index",
        "timestamp_field": "custom_timestamp",
        "total": {
            "aggregation": "value_count",
            "field": "test",
        },
    },
    objective={
        "target": 0.95,
        "timeslice_target": 0.95,
        "timeslice_window": "5m",
    },
    tags=[
        "tag-1",
        "another_tag",
    ],
    time_window={
        "duration": "7d",
        "type": "rolling",
    })
#Available from 8.10.0
custom_metric = elasticstack.KibanaSlo("customMetric",
    budgeting_method="timeslices",
    description="custom kql",
    metric_custom_indicator={
        "good": {
            "equation": "A",
            "metrics": [{
                "aggregation": "sum",
                "field": "processor.processed",
                "name": "A",
            }],
        },
        "index": "my-index",
        "total": {
            "equation": "A",
            "metrics": [{
                "aggregation": "sum",
                "field": "processor.accepted",
                "name": "A",
            }],
        },
    },
    objective={
        "target": 0.95,
        "timeslice_target": 0.95,
        "timeslice_window": "5m",
    },
    time_window={
        "duration": "7d",
        "type": "rolling",
    })
Copy
package main

import (
	"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 {
		_, err := elasticstack.NewKibanaSlo(ctx, "authServerLatency", &elasticstack.KibanaSloArgs{
			ApmLatencyIndicator: &elasticstack.KibanaSloApmLatencyIndicatorArgs{
				Environment:     pulumi.String("production"),
				Index:           pulumi.String("metrics-apm*"),
				Service:         pulumi.String("auth"),
				Threshold:       pulumi.Float64(500),
				TransactionName: pulumi.String("GET /auth"),
				TransactionType: pulumi.String("request"),
			},
			BudgetingMethod: pulumi.String("timeslices"),
			Description:     pulumi.String("Ensures auth server is responding in time"),
			Objective: &elasticstack.KibanaSloObjectiveArgs{
				Target:          pulumi.Float64(0.95),
				TimesliceTarget: pulumi.Float64(0.95),
				TimesliceWindow: pulumi.String("5m"),
			},
			Settings: &elasticstack.KibanaSloSettingsArgs{
				Frequency: pulumi.String("5m"),
				SyncDelay: pulumi.String("5m"),
			},
			TimeWindow: &elasticstack.KibanaSloTimeWindowArgs{
				Duration: pulumi.String("7d"),
				Type:     pulumi.String("rolling"),
			},
		})
		if err != nil {
			return err
		}
		_, err = elasticstack.NewKibanaSlo(ctx, "authServerAvailability", &elasticstack.KibanaSloArgs{
			ApmAvailabilityIndicator: &elasticstack.KibanaSloApmAvailabilityIndicatorArgs{
				Environment:     pulumi.String("production"),
				Index:           pulumi.String("metrics-apm*"),
				Service:         pulumi.String("my-service"),
				TransactionName: pulumi.String("GET /sup/dawg"),
				TransactionType: pulumi.String("request"),
			},
			BudgetingMethod: pulumi.String("timeslices"),
			Description:     pulumi.String("Ensures auth server is responding in time"),
			Objective: &elasticstack.KibanaSloObjectiveArgs{
				Target:          pulumi.Float64(0.95),
				TimesliceTarget: pulumi.Float64(0.95),
				TimesliceWindow: pulumi.String("5m"),
			},
			Settings: &elasticstack.KibanaSloSettingsArgs{
				Frequency: pulumi.String("5m"),
				SyncDelay: pulumi.String("5m"),
			},
			TimeWindow: &elasticstack.KibanaSloTimeWindowArgs{
				Duration: pulumi.String("7d"),
				Type:     pulumi.String("rolling"),
			},
		})
		if err != nil {
			return err
		}
		_, err = elasticstack.NewKibanaSlo(ctx, "customKql", &elasticstack.KibanaSloArgs{
			BudgetingMethod: pulumi.String("timeslices"),
			Description:     pulumi.String("custom kql"),
			KqlCustomIndicator: &elasticstack.KibanaSloKqlCustomIndicatorArgs{
				Filter:         pulumi.String("labels.groupId: group-0"),
				Good:           pulumi.String("latency < 300"),
				Index:          pulumi.String("my-index"),
				TimestampField: pulumi.String("custom_timestamp"),
				Total:          pulumi.String("*"),
			},
			Objective: &elasticstack.KibanaSloObjectiveArgs{
				Target:          pulumi.Float64(0.95),
				TimesliceTarget: pulumi.Float64(0.95),
				TimesliceWindow: pulumi.String("5m"),
			},
			Settings: &elasticstack.KibanaSloSettingsArgs{
				Frequency: pulumi.String("5m"),
				SyncDelay: pulumi.String("5m"),
			},
			TimeWindow: &elasticstack.KibanaSloTimeWindowArgs{
				Duration: pulumi.String("7d"),
				Type:     pulumi.String("rolling"),
			},
		})
		if err != nil {
			return err
		}
		// Available from 8.10.0
		_, err = elasticstack.NewKibanaSlo(ctx, "customHistogram", &elasticstack.KibanaSloArgs{
			BudgetingMethod: pulumi.String("timeslices"),
			Description:     pulumi.String("custom histogram"),
			HistogramCustomIndicator: &elasticstack.KibanaSloHistogramCustomIndicatorArgs{
				Filter: pulumi.String("labels.groupId: group-0"),
				Good: &elasticstack.KibanaSloHistogramCustomIndicatorGoodArgs{
					Aggregation: pulumi.String("value_count"),
					Field:       pulumi.String("test"),
					Filter:      pulumi.String("latency < 300"),
				},
				Index:          pulumi.String("my-index"),
				TimestampField: pulumi.String("custom_timestamp"),
				Total: &elasticstack.KibanaSloHistogramCustomIndicatorTotalArgs{
					Aggregation: pulumi.String("value_count"),
					Field:       pulumi.String("test"),
				},
			},
			Objective: &elasticstack.KibanaSloObjectiveArgs{
				Target:          pulumi.Float64(0.95),
				TimesliceTarget: pulumi.Float64(0.95),
				TimesliceWindow: pulumi.String("5m"),
			},
			Tags: pulumi.StringArray{
				pulumi.String("tag-1"),
				pulumi.String("another_tag"),
			},
			TimeWindow: &elasticstack.KibanaSloTimeWindowArgs{
				Duration: pulumi.String("7d"),
				Type:     pulumi.String("rolling"),
			},
		})
		if err != nil {
			return err
		}
		// Available from 8.10.0
		_, err = elasticstack.NewKibanaSlo(ctx, "customMetric", &elasticstack.KibanaSloArgs{
			BudgetingMethod: pulumi.String("timeslices"),
			Description:     pulumi.String("custom kql"),
			MetricCustomIndicator: &elasticstack.KibanaSloMetricCustomIndicatorArgs{
				Good: &elasticstack.KibanaSloMetricCustomIndicatorGoodArgs{
					Equation: pulumi.String("A"),
					Metrics: elasticstack.KibanaSloMetricCustomIndicatorGoodMetricArray{
						&elasticstack.KibanaSloMetricCustomIndicatorGoodMetricArgs{
							Aggregation: pulumi.String("sum"),
							Field:       pulumi.String("processor.processed"),
							Name:        pulumi.String("A"),
						},
					},
				},
				Index: pulumi.String("my-index"),
				Total: &elasticstack.KibanaSloMetricCustomIndicatorTotalArgs{
					Equation: pulumi.String("A"),
					Metrics: elasticstack.KibanaSloMetricCustomIndicatorTotalMetricArray{
						&elasticstack.KibanaSloMetricCustomIndicatorTotalMetricArgs{
							Aggregation: pulumi.String("sum"),
							Field:       pulumi.String("processor.accepted"),
							Name:        pulumi.String("A"),
						},
					},
				},
			},
			Objective: &elasticstack.KibanaSloObjectiveArgs{
				Target:          pulumi.Float64(0.95),
				TimesliceTarget: pulumi.Float64(0.95),
				TimesliceWindow: pulumi.String("5m"),
			},
			TimeWindow: &elasticstack.KibanaSloTimeWindowArgs{
				Duration: pulumi.String("7d"),
				Type:     pulumi.String("rolling"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;

return await Deployment.RunAsync(() => 
{
    var authServerLatency = new Elasticstack.KibanaSlo("authServerLatency", new()
    {
        ApmLatencyIndicator = new Elasticstack.Inputs.KibanaSloApmLatencyIndicatorArgs
        {
            Environment = "production",
            Index = "metrics-apm*",
            Service = "auth",
            Threshold = 500,
            TransactionName = "GET /auth",
            TransactionType = "request",
        },
        BudgetingMethod = "timeslices",
        Description = "Ensures auth server is responding in time",
        Objective = new Elasticstack.Inputs.KibanaSloObjectiveArgs
        {
            Target = 0.95,
            TimesliceTarget = 0.95,
            TimesliceWindow = "5m",
        },
        Settings = new Elasticstack.Inputs.KibanaSloSettingsArgs
        {
            Frequency = "5m",
            SyncDelay = "5m",
        },
        TimeWindow = new Elasticstack.Inputs.KibanaSloTimeWindowArgs
        {
            Duration = "7d",
            Type = "rolling",
        },
    });

    var authServerAvailability = new Elasticstack.KibanaSlo("authServerAvailability", new()
    {
        ApmAvailabilityIndicator = new Elasticstack.Inputs.KibanaSloApmAvailabilityIndicatorArgs
        {
            Environment = "production",
            Index = "metrics-apm*",
            Service = "my-service",
            TransactionName = "GET /sup/dawg",
            TransactionType = "request",
        },
        BudgetingMethod = "timeslices",
        Description = "Ensures auth server is responding in time",
        Objective = new Elasticstack.Inputs.KibanaSloObjectiveArgs
        {
            Target = 0.95,
            TimesliceTarget = 0.95,
            TimesliceWindow = "5m",
        },
        Settings = new Elasticstack.Inputs.KibanaSloSettingsArgs
        {
            Frequency = "5m",
            SyncDelay = "5m",
        },
        TimeWindow = new Elasticstack.Inputs.KibanaSloTimeWindowArgs
        {
            Duration = "7d",
            Type = "rolling",
        },
    });

    var customKql = new Elasticstack.KibanaSlo("customKql", new()
    {
        BudgetingMethod = "timeslices",
        Description = "custom kql",
        KqlCustomIndicator = new Elasticstack.Inputs.KibanaSloKqlCustomIndicatorArgs
        {
            Filter = "labels.groupId: group-0",
            Good = "latency < 300",
            Index = "my-index",
            TimestampField = "custom_timestamp",
            Total = "*",
        },
        Objective = new Elasticstack.Inputs.KibanaSloObjectiveArgs
        {
            Target = 0.95,
            TimesliceTarget = 0.95,
            TimesliceWindow = "5m",
        },
        Settings = new Elasticstack.Inputs.KibanaSloSettingsArgs
        {
            Frequency = "5m",
            SyncDelay = "5m",
        },
        TimeWindow = new Elasticstack.Inputs.KibanaSloTimeWindowArgs
        {
            Duration = "7d",
            Type = "rolling",
        },
    });

    //Available from 8.10.0
    var customHistogram = new Elasticstack.KibanaSlo("customHistogram", new()
    {
        BudgetingMethod = "timeslices",
        Description = "custom histogram",
        HistogramCustomIndicator = new Elasticstack.Inputs.KibanaSloHistogramCustomIndicatorArgs
        {
            Filter = "labels.groupId: group-0",
            Good = new Elasticstack.Inputs.KibanaSloHistogramCustomIndicatorGoodArgs
            {
                Aggregation = "value_count",
                Field = "test",
                Filter = "latency < 300",
            },
            Index = "my-index",
            TimestampField = "custom_timestamp",
            Total = new Elasticstack.Inputs.KibanaSloHistogramCustomIndicatorTotalArgs
            {
                Aggregation = "value_count",
                Field = "test",
            },
        },
        Objective = new Elasticstack.Inputs.KibanaSloObjectiveArgs
        {
            Target = 0.95,
            TimesliceTarget = 0.95,
            TimesliceWindow = "5m",
        },
        Tags = new[]
        {
            "tag-1",
            "another_tag",
        },
        TimeWindow = new Elasticstack.Inputs.KibanaSloTimeWindowArgs
        {
            Duration = "7d",
            Type = "rolling",
        },
    });

    //Available from 8.10.0
    var customMetric = new Elasticstack.KibanaSlo("customMetric", new()
    {
        BudgetingMethod = "timeslices",
        Description = "custom kql",
        MetricCustomIndicator = new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorArgs
        {
            Good = new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorGoodArgs
            {
                Equation = "A",
                Metrics = new[]
                {
                    new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorGoodMetricArgs
                    {
                        Aggregation = "sum",
                        Field = "processor.processed",
                        Name = "A",
                    },
                },
            },
            Index = "my-index",
            Total = new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorTotalArgs
            {
                Equation = "A",
                Metrics = new[]
                {
                    new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorTotalMetricArgs
                    {
                        Aggregation = "sum",
                        Field = "processor.accepted",
                        Name = "A",
                    },
                },
            },
        },
        Objective = new Elasticstack.Inputs.KibanaSloObjectiveArgs
        {
            Target = 0.95,
            TimesliceTarget = 0.95,
            TimesliceWindow = "5m",
        },
        TimeWindow = new Elasticstack.Inputs.KibanaSloTimeWindowArgs
        {
            Duration = "7d",
            Type = "rolling",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.KibanaSlo;
import com.pulumi.elasticstack.KibanaSloArgs;
import com.pulumi.elasticstack.inputs.KibanaSloApmLatencyIndicatorArgs;
import com.pulumi.elasticstack.inputs.KibanaSloObjectiveArgs;
import com.pulumi.elasticstack.inputs.KibanaSloSettingsArgs;
import com.pulumi.elasticstack.inputs.KibanaSloTimeWindowArgs;
import com.pulumi.elasticstack.inputs.KibanaSloApmAvailabilityIndicatorArgs;
import com.pulumi.elasticstack.inputs.KibanaSloKqlCustomIndicatorArgs;
import com.pulumi.elasticstack.inputs.KibanaSloHistogramCustomIndicatorArgs;
import com.pulumi.elasticstack.inputs.KibanaSloHistogramCustomIndicatorGoodArgs;
import com.pulumi.elasticstack.inputs.KibanaSloHistogramCustomIndicatorTotalArgs;
import com.pulumi.elasticstack.inputs.KibanaSloMetricCustomIndicatorArgs;
import com.pulumi.elasticstack.inputs.KibanaSloMetricCustomIndicatorGoodArgs;
import com.pulumi.elasticstack.inputs.KibanaSloMetricCustomIndicatorTotalArgs;
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 authServerLatency = new KibanaSlo("authServerLatency", KibanaSloArgs.builder()
            .apmLatencyIndicator(KibanaSloApmLatencyIndicatorArgs.builder()
                .environment("production")
                .index("metrics-apm*")
                .service("auth")
                .threshold(500)
                .transactionName("GET /auth")
                .transactionType("request")
                .build())
            .budgetingMethod("timeslices")
            .description("Ensures auth server is responding in time")
            .objective(KibanaSloObjectiveArgs.builder()
                .target(0.95)
                .timesliceTarget(0.95)
                .timesliceWindow("5m")
                .build())
            .settings(KibanaSloSettingsArgs.builder()
                .frequency("5m")
                .syncDelay("5m")
                .build())
            .timeWindow(KibanaSloTimeWindowArgs.builder()
                .duration("7d")
                .type("rolling")
                .build())
            .build());

        var authServerAvailability = new KibanaSlo("authServerAvailability", KibanaSloArgs.builder()
            .apmAvailabilityIndicator(KibanaSloApmAvailabilityIndicatorArgs.builder()
                .environment("production")
                .index("metrics-apm*")
                .service("my-service")
                .transactionName("GET /sup/dawg")
                .transactionType("request")
                .build())
            .budgetingMethod("timeslices")
            .description("Ensures auth server is responding in time")
            .objective(KibanaSloObjectiveArgs.builder()
                .target(0.95)
                .timesliceTarget(0.95)
                .timesliceWindow("5m")
                .build())
            .settings(KibanaSloSettingsArgs.builder()
                .frequency("5m")
                .syncDelay("5m")
                .build())
            .timeWindow(KibanaSloTimeWindowArgs.builder()
                .duration("7d")
                .type("rolling")
                .build())
            .build());

        var customKql = new KibanaSlo("customKql", KibanaSloArgs.builder()
            .budgetingMethod("timeslices")
            .description("custom kql")
            .kqlCustomIndicator(KibanaSloKqlCustomIndicatorArgs.builder()
                .filter("labels.groupId: group-0")
                .good("latency < 300")
                .index("my-index")
                .timestampField("custom_timestamp")
                .total("*")
                .build())
            .objective(KibanaSloObjectiveArgs.builder()
                .target(0.95)
                .timesliceTarget(0.95)
                .timesliceWindow("5m")
                .build())
            .settings(KibanaSloSettingsArgs.builder()
                .frequency("5m")
                .syncDelay("5m")
                .build())
            .timeWindow(KibanaSloTimeWindowArgs.builder()
                .duration("7d")
                .type("rolling")
                .build())
            .build());

        //Available from 8.10.0
        var customHistogram = new KibanaSlo("customHistogram", KibanaSloArgs.builder()
            .budgetingMethod("timeslices")
            .description("custom histogram")
            .histogramCustomIndicator(KibanaSloHistogramCustomIndicatorArgs.builder()
                .filter("labels.groupId: group-0")
                .good(KibanaSloHistogramCustomIndicatorGoodArgs.builder()
                    .aggregation("value_count")
                    .field("test")
                    .filter("latency < 300")
                    .build())
                .index("my-index")
                .timestampField("custom_timestamp")
                .total(KibanaSloHistogramCustomIndicatorTotalArgs.builder()
                    .aggregation("value_count")
                    .field("test")
                    .build())
                .build())
            .objective(KibanaSloObjectiveArgs.builder()
                .target(0.95)
                .timesliceTarget(0.95)
                .timesliceWindow("5m")
                .build())
            .tags(            
                "tag-1",
                "another_tag")
            .timeWindow(KibanaSloTimeWindowArgs.builder()
                .duration("7d")
                .type("rolling")
                .build())
            .build());

        //Available from 8.10.0
        var customMetric = new KibanaSlo("customMetric", KibanaSloArgs.builder()
            .budgetingMethod("timeslices")
            .description("custom kql")
            .metricCustomIndicator(KibanaSloMetricCustomIndicatorArgs.builder()
                .good(KibanaSloMetricCustomIndicatorGoodArgs.builder()
                    .equation("A")
                    .metrics(KibanaSloMetricCustomIndicatorGoodMetricArgs.builder()
                        .aggregation("sum")
                        .field("processor.processed")
                        .name("A")
                        .build())
                    .build())
                .index("my-index")
                .total(KibanaSloMetricCustomIndicatorTotalArgs.builder()
                    .equation("A")
                    .metrics(KibanaSloMetricCustomIndicatorTotalMetricArgs.builder()
                        .aggregation("sum")
                        .field("processor.accepted")
                        .name("A")
                        .build())
                    .build())
                .build())
            .objective(KibanaSloObjectiveArgs.builder()
                .target(0.95)
                .timesliceTarget(0.95)
                .timesliceWindow("5m")
                .build())
            .timeWindow(KibanaSloTimeWindowArgs.builder()
                .duration("7d")
                .type("rolling")
                .build())
            .build());

    }
}
Copy
resources:
  authServerLatency:
    type: elasticstack:KibanaSlo
    properties:
      apmLatencyIndicator:
        environment: production
        index: metrics-apm*
        service: auth
        threshold: 500
        transactionName: GET /auth
        transactionType: request
      budgetingMethod: timeslices
      description: Ensures auth server is responding in time
      objective:
        target: 0.95
        timesliceTarget: 0.95
        timesliceWindow: 5m
      settings:
        frequency: 5m
        syncDelay: 5m
      timeWindow:
        duration: 7d
        type: rolling
  authServerAvailability:
    type: elasticstack:KibanaSlo
    properties:
      apmAvailabilityIndicator:
        environment: production
        index: metrics-apm*
        service: my-service
        transactionName: GET /sup/dawg
        transactionType: request
      budgetingMethod: timeslices
      description: Ensures auth server is responding in time
      objective:
        target: 0.95
        timesliceTarget: 0.95
        timesliceWindow: 5m
      settings:
        frequency: 5m
        syncDelay: 5m
      timeWindow:
        duration: 7d
        type: rolling
  customKql:
    type: elasticstack:KibanaSlo
    properties:
      budgetingMethod: timeslices
      description: custom kql
      kqlCustomIndicator:
        filter: 'labels.groupId: group-0'
        good: latency < 300
        index: my-index
        timestampField: custom_timestamp
        total: '*'
      objective:
        target: 0.95
        timesliceTarget: 0.95
        timesliceWindow: 5m
      settings:
        frequency: 5m
        syncDelay: 5m
      timeWindow:
        duration: 7d
        type: rolling
  # Available from 8.10.0
  customHistogram:
    type: elasticstack:KibanaSlo
    properties:
      budgetingMethod: timeslices
      description: custom histogram
      histogramCustomIndicator:
        filter: 'labels.groupId: group-0'
        good:
          aggregation: value_count
          field: test
          filter: latency < 300
        index: my-index
        timestampField: custom_timestamp
        total:
          aggregation: value_count
          field: test
      objective:
        target: 0.95
        timesliceTarget: 0.95
        timesliceWindow: 5m
      tags:
        - tag-1
        - another_tag
      timeWindow:
        duration: 7d
        type: rolling
  # Available from 8.10.0
  customMetric:
    type: elasticstack:KibanaSlo
    properties:
      budgetingMethod: timeslices
      description: custom kql
      metricCustomIndicator:
        good:
          equation: A
          metrics:
            - aggregation: sum
              field: processor.processed
              name: A
        index: my-index
        total:
          equation: A
          metrics:
            - aggregation: sum
              field: processor.accepted
              name: A
      objective:
        target: 0.95
        timesliceTarget: 0.95
        timesliceWindow: 5m
      timeWindow:
        duration: 7d
        type: rolling
Copy

Create KibanaSlo Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new KibanaSlo(name: string, args: KibanaSloArgs, opts?: CustomResourceOptions);
@overload
def KibanaSlo(resource_name: str,
              args: KibanaSloArgs,
              opts: Optional[ResourceOptions] = None)

@overload
def KibanaSlo(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              objective: Optional[KibanaSloObjectiveArgs] = None,
              time_window: Optional[KibanaSloTimeWindowArgs] = None,
              budgeting_method: Optional[str] = None,
              description: Optional[str] = None,
              metric_custom_indicator: Optional[KibanaSloMetricCustomIndicatorArgs] = None,
              histogram_custom_indicator: Optional[KibanaSloHistogramCustomIndicatorArgs] = None,
              kibana_slo_id: Optional[str] = None,
              kql_custom_indicator: Optional[KibanaSloKqlCustomIndicatorArgs] = None,
              apm_availability_indicator: Optional[KibanaSloApmAvailabilityIndicatorArgs] = None,
              name: Optional[str] = None,
              group_bies: Optional[Sequence[str]] = None,
              settings: Optional[KibanaSloSettingsArgs] = None,
              slo_id: Optional[str] = None,
              space_id: Optional[str] = None,
              tags: Optional[Sequence[str]] = None,
              apm_latency_indicator: Optional[KibanaSloApmLatencyIndicatorArgs] = None)
func NewKibanaSlo(ctx *Context, name string, args KibanaSloArgs, opts ...ResourceOption) (*KibanaSlo, error)
public KibanaSlo(string name, KibanaSloArgs args, CustomResourceOptions? opts = null)
public KibanaSlo(String name, KibanaSloArgs args)
public KibanaSlo(String name, KibanaSloArgs args, CustomResourceOptions options)
type: elasticstack:KibanaSlo
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. KibanaSloArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. KibanaSloArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. KibanaSloArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. KibanaSloArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. KibanaSloArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var kibanaSloResource = new Elasticstack.KibanaSlo("kibanaSloResource", new()
{
    Objective = new Elasticstack.Inputs.KibanaSloObjectiveArgs
    {
        Target = 0,
        TimesliceTarget = 0,
        TimesliceWindow = "string",
    },
    TimeWindow = new Elasticstack.Inputs.KibanaSloTimeWindowArgs
    {
        Duration = "string",
        Type = "string",
    },
    BudgetingMethod = "string",
    Description = "string",
    MetricCustomIndicator = new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorArgs
    {
        Good = new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorGoodArgs
        {
            Equation = "string",
            Metrics = new[]
            {
                new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorGoodMetricArgs
                {
                    Aggregation = "string",
                    Field = "string",
                    Name = "string",
                    Filter = "string",
                },
            },
        },
        Index = "string",
        Total = new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorTotalArgs
        {
            Equation = "string",
            Metrics = new[]
            {
                new Elasticstack.Inputs.KibanaSloMetricCustomIndicatorTotalMetricArgs
                {
                    Aggregation = "string",
                    Field = "string",
                    Name = "string",
                    Filter = "string",
                },
            },
        },
        Filter = "string",
        TimestampField = "string",
    },
    HistogramCustomIndicator = new Elasticstack.Inputs.KibanaSloHistogramCustomIndicatorArgs
    {
        Good = new Elasticstack.Inputs.KibanaSloHistogramCustomIndicatorGoodArgs
        {
            Aggregation = "string",
            Field = "string",
            Filter = "string",
            From = 0,
            To = 0,
        },
        Index = "string",
        Total = new Elasticstack.Inputs.KibanaSloHistogramCustomIndicatorTotalArgs
        {
            Aggregation = "string",
            Field = "string",
            Filter = "string",
            From = 0,
            To = 0,
        },
        Filter = "string",
        TimestampField = "string",
    },
    KibanaSloId = "string",
    KqlCustomIndicator = new Elasticstack.Inputs.KibanaSloKqlCustomIndicatorArgs
    {
        Index = "string",
        Filter = "string",
        Good = "string",
        TimestampField = "string",
        Total = "string",
    },
    ApmAvailabilityIndicator = new Elasticstack.Inputs.KibanaSloApmAvailabilityIndicatorArgs
    {
        Environment = "string",
        Index = "string",
        Service = "string",
        TransactionName = "string",
        TransactionType = "string",
        Filter = "string",
    },
    Name = "string",
    GroupBies = new[]
    {
        "string",
    },
    Settings = new Elasticstack.Inputs.KibanaSloSettingsArgs
    {
        Frequency = "string",
        SyncDelay = "string",
    },
    SloId = "string",
    SpaceId = "string",
    Tags = new[]
    {
        "string",
    },
    ApmLatencyIndicator = new Elasticstack.Inputs.KibanaSloApmLatencyIndicatorArgs
    {
        Environment = "string",
        Index = "string",
        Service = "string",
        Threshold = 0,
        TransactionName = "string",
        TransactionType = "string",
        Filter = "string",
    },
});
Copy
example, err := elasticstack.NewKibanaSlo(ctx, "kibanaSloResource", &elasticstack.KibanaSloArgs{
Objective: &.KibanaSloObjectiveArgs{
Target: pulumi.Float64(0),
TimesliceTarget: pulumi.Float64(0),
TimesliceWindow: pulumi.String("string"),
},
TimeWindow: &.KibanaSloTimeWindowArgs{
Duration: pulumi.String("string"),
Type: pulumi.String("string"),
},
BudgetingMethod: pulumi.String("string"),
Description: pulumi.String("string"),
MetricCustomIndicator: &.KibanaSloMetricCustomIndicatorArgs{
Good: &.KibanaSloMetricCustomIndicatorGoodArgs{
Equation: pulumi.String("string"),
Metrics: .KibanaSloMetricCustomIndicatorGoodMetricArray{
&.KibanaSloMetricCustomIndicatorGoodMetricArgs{
Aggregation: pulumi.String("string"),
Field: pulumi.String("string"),
Name: pulumi.String("string"),
Filter: pulumi.String("string"),
},
},
},
Index: pulumi.String("string"),
Total: &.KibanaSloMetricCustomIndicatorTotalArgs{
Equation: pulumi.String("string"),
Metrics: .KibanaSloMetricCustomIndicatorTotalMetricArray{
&.KibanaSloMetricCustomIndicatorTotalMetricArgs{
Aggregation: pulumi.String("string"),
Field: pulumi.String("string"),
Name: pulumi.String("string"),
Filter: pulumi.String("string"),
},
},
},
Filter: pulumi.String("string"),
TimestampField: pulumi.String("string"),
},
HistogramCustomIndicator: &.KibanaSloHistogramCustomIndicatorArgs{
Good: &.KibanaSloHistogramCustomIndicatorGoodArgs{
Aggregation: pulumi.String("string"),
Field: pulumi.String("string"),
Filter: pulumi.String("string"),
From: pulumi.Float64(0),
To: pulumi.Float64(0),
},
Index: pulumi.String("string"),
Total: &.KibanaSloHistogramCustomIndicatorTotalArgs{
Aggregation: pulumi.String("string"),
Field: pulumi.String("string"),
Filter: pulumi.String("string"),
From: pulumi.Float64(0),
To: pulumi.Float64(0),
},
Filter: pulumi.String("string"),
TimestampField: pulumi.String("string"),
},
KibanaSloId: pulumi.String("string"),
KqlCustomIndicator: &.KibanaSloKqlCustomIndicatorArgs{
Index: pulumi.String("string"),
Filter: pulumi.String("string"),
Good: pulumi.String("string"),
TimestampField: pulumi.String("string"),
Total: pulumi.String("string"),
},
ApmAvailabilityIndicator: &.KibanaSloApmAvailabilityIndicatorArgs{
Environment: pulumi.String("string"),
Index: pulumi.String("string"),
Service: pulumi.String("string"),
TransactionName: pulumi.String("string"),
TransactionType: pulumi.String("string"),
Filter: pulumi.String("string"),
},
Name: pulumi.String("string"),
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
Settings: &.KibanaSloSettingsArgs{
Frequency: pulumi.String("string"),
SyncDelay: pulumi.String("string"),
},
SloId: pulumi.String("string"),
SpaceId: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
ApmLatencyIndicator: &.KibanaSloApmLatencyIndicatorArgs{
Environment: pulumi.String("string"),
Index: pulumi.String("string"),
Service: pulumi.String("string"),
Threshold: pulumi.Float64(0),
TransactionName: pulumi.String("string"),
TransactionType: pulumi.String("string"),
Filter: pulumi.String("string"),
},
})
Copy
var kibanaSloResource = new KibanaSlo("kibanaSloResource", KibanaSloArgs.builder()
    .objective(KibanaSloObjectiveArgs.builder()
        .target(0)
        .timesliceTarget(0)
        .timesliceWindow("string")
        .build())
    .timeWindow(KibanaSloTimeWindowArgs.builder()
        .duration("string")
        .type("string")
        .build())
    .budgetingMethod("string")
    .description("string")
    .metricCustomIndicator(KibanaSloMetricCustomIndicatorArgs.builder()
        .good(KibanaSloMetricCustomIndicatorGoodArgs.builder()
            .equation("string")
            .metrics(KibanaSloMetricCustomIndicatorGoodMetricArgs.builder()
                .aggregation("string")
                .field("string")
                .name("string")
                .filter("string")
                .build())
            .build())
        .index("string")
        .total(KibanaSloMetricCustomIndicatorTotalArgs.builder()
            .equation("string")
            .metrics(KibanaSloMetricCustomIndicatorTotalMetricArgs.builder()
                .aggregation("string")
                .field("string")
                .name("string")
                .filter("string")
                .build())
            .build())
        .filter("string")
        .timestampField("string")
        .build())
    .histogramCustomIndicator(KibanaSloHistogramCustomIndicatorArgs.builder()
        .good(KibanaSloHistogramCustomIndicatorGoodArgs.builder()
            .aggregation("string")
            .field("string")
            .filter("string")
            .from(0)
            .to(0)
            .build())
        .index("string")
        .total(KibanaSloHistogramCustomIndicatorTotalArgs.builder()
            .aggregation("string")
            .field("string")
            .filter("string")
            .from(0)
            .to(0)
            .build())
        .filter("string")
        .timestampField("string")
        .build())
    .kibanaSloId("string")
    .kqlCustomIndicator(KibanaSloKqlCustomIndicatorArgs.builder()
        .index("string")
        .filter("string")
        .good("string")
        .timestampField("string")
        .total("string")
        .build())
    .apmAvailabilityIndicator(KibanaSloApmAvailabilityIndicatorArgs.builder()
        .environment("string")
        .index("string")
        .service("string")
        .transactionName("string")
        .transactionType("string")
        .filter("string")
        .build())
    .name("string")
    .groupBies("string")
    .settings(KibanaSloSettingsArgs.builder()
        .frequency("string")
        .syncDelay("string")
        .build())
    .sloId("string")
    .spaceId("string")
    .tags("string")
    .apmLatencyIndicator(KibanaSloApmLatencyIndicatorArgs.builder()
        .environment("string")
        .index("string")
        .service("string")
        .threshold(0)
        .transactionName("string")
        .transactionType("string")
        .filter("string")
        .build())
    .build());
Copy
kibana_slo_resource = elasticstack.KibanaSlo("kibanaSloResource",
    objective={
        "target": 0,
        "timeslice_target": 0,
        "timeslice_window": "string",
    },
    time_window={
        "duration": "string",
        "type": "string",
    },
    budgeting_method="string",
    description="string",
    metric_custom_indicator={
        "good": {
            "equation": "string",
            "metrics": [{
                "aggregation": "string",
                "field": "string",
                "name": "string",
                "filter": "string",
            }],
        },
        "index": "string",
        "total": {
            "equation": "string",
            "metrics": [{
                "aggregation": "string",
                "field": "string",
                "name": "string",
                "filter": "string",
            }],
        },
        "filter": "string",
        "timestamp_field": "string",
    },
    histogram_custom_indicator={
        "good": {
            "aggregation": "string",
            "field": "string",
            "filter": "string",
            "from_": 0,
            "to": 0,
        },
        "index": "string",
        "total": {
            "aggregation": "string",
            "field": "string",
            "filter": "string",
            "from_": 0,
            "to": 0,
        },
        "filter": "string",
        "timestamp_field": "string",
    },
    kibana_slo_id="string",
    kql_custom_indicator={
        "index": "string",
        "filter": "string",
        "good": "string",
        "timestamp_field": "string",
        "total": "string",
    },
    apm_availability_indicator={
        "environment": "string",
        "index": "string",
        "service": "string",
        "transaction_name": "string",
        "transaction_type": "string",
        "filter": "string",
    },
    name="string",
    group_bies=["string"],
    settings={
        "frequency": "string",
        "sync_delay": "string",
    },
    slo_id="string",
    space_id="string",
    tags=["string"],
    apm_latency_indicator={
        "environment": "string",
        "index": "string",
        "service": "string",
        "threshold": 0,
        "transaction_name": "string",
        "transaction_type": "string",
        "filter": "string",
    })
Copy
const kibanaSloResource = new elasticstack.KibanaSlo("kibanaSloResource", {
    objective: {
        target: 0,
        timesliceTarget: 0,
        timesliceWindow: "string",
    },
    timeWindow: {
        duration: "string",
        type: "string",
    },
    budgetingMethod: "string",
    description: "string",
    metricCustomIndicator: {
        good: {
            equation: "string",
            metrics: [{
                aggregation: "string",
                field: "string",
                name: "string",
                filter: "string",
            }],
        },
        index: "string",
        total: {
            equation: "string",
            metrics: [{
                aggregation: "string",
                field: "string",
                name: "string",
                filter: "string",
            }],
        },
        filter: "string",
        timestampField: "string",
    },
    histogramCustomIndicator: {
        good: {
            aggregation: "string",
            field: "string",
            filter: "string",
            from: 0,
            to: 0,
        },
        index: "string",
        total: {
            aggregation: "string",
            field: "string",
            filter: "string",
            from: 0,
            to: 0,
        },
        filter: "string",
        timestampField: "string",
    },
    kibanaSloId: "string",
    kqlCustomIndicator: {
        index: "string",
        filter: "string",
        good: "string",
        timestampField: "string",
        total: "string",
    },
    apmAvailabilityIndicator: {
        environment: "string",
        index: "string",
        service: "string",
        transactionName: "string",
        transactionType: "string",
        filter: "string",
    },
    name: "string",
    groupBies: ["string"],
    settings: {
        frequency: "string",
        syncDelay: "string",
    },
    sloId: "string",
    spaceId: "string",
    tags: ["string"],
    apmLatencyIndicator: {
        environment: "string",
        index: "string",
        service: "string",
        threshold: 0,
        transactionName: "string",
        transactionType: "string",
        filter: "string",
    },
});
Copy
type: elasticstack:KibanaSlo
properties:
    apmAvailabilityIndicator:
        environment: string
        filter: string
        index: string
        service: string
        transactionName: string
        transactionType: string
    apmLatencyIndicator:
        environment: string
        filter: string
        index: string
        service: string
        threshold: 0
        transactionName: string
        transactionType: string
    budgetingMethod: string
    description: string
    groupBies:
        - string
    histogramCustomIndicator:
        filter: string
        good:
            aggregation: string
            field: string
            filter: string
            from: 0
            to: 0
        index: string
        timestampField: string
        total:
            aggregation: string
            field: string
            filter: string
            from: 0
            to: 0
    kibanaSloId: string
    kqlCustomIndicator:
        filter: string
        good: string
        index: string
        timestampField: string
        total: string
    metricCustomIndicator:
        filter: string
        good:
            equation: string
            metrics:
                - aggregation: string
                  field: string
                  filter: string
                  name: string
        index: string
        timestampField: string
        total:
            equation: string
            metrics:
                - aggregation: string
                  field: string
                  filter: string
                  name: string
    name: string
    objective:
        target: 0
        timesliceTarget: 0
        timesliceWindow: string
    settings:
        frequency: string
        syncDelay: string
    sloId: string
    spaceId: string
    tags:
        - string
    timeWindow:
        duration: string
        type: string
Copy

KibanaSlo Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The KibanaSlo resource accepts the following input properties:

BudgetingMethod This property is required. string
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
Description This property is required. string
A description for the SLO.
Objective This property is required. KibanaSloObjective
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
TimeWindow This property is required. KibanaSloTimeWindow
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
ApmAvailabilityIndicator KibanaSloApmAvailabilityIndicator
ApmLatencyIndicator KibanaSloApmLatencyIndicator
GroupBies List<string>
Optional group by fields to use to generate an SLO per distinct value.
HistogramCustomIndicator KibanaSloHistogramCustomIndicator
KibanaSloId string
The ID of this resource.
KqlCustomIndicator KibanaSloKqlCustomIndicator
MetricCustomIndicator KibanaSloMetricCustomIndicator
Name string
The name of the SLO.
Settings KibanaSloSettings
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
SloId string
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
SpaceId string
An identifier for the space. If space_id is not provided, the default space is used.
Tags List<string>
The tags for the SLO.
BudgetingMethod This property is required. string
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
Description This property is required. string
A description for the SLO.
Objective This property is required. KibanaSloObjectiveArgs
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
TimeWindow This property is required. KibanaSloTimeWindowArgs
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
ApmAvailabilityIndicator KibanaSloApmAvailabilityIndicatorArgs
ApmLatencyIndicator KibanaSloApmLatencyIndicatorArgs
GroupBies []string
Optional group by fields to use to generate an SLO per distinct value.
HistogramCustomIndicator KibanaSloHistogramCustomIndicatorArgs
KibanaSloId string
The ID of this resource.
KqlCustomIndicator KibanaSloKqlCustomIndicatorArgs
MetricCustomIndicator KibanaSloMetricCustomIndicatorArgs
Name string
The name of the SLO.
Settings KibanaSloSettingsArgs
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
SloId string
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
SpaceId string
An identifier for the space. If space_id is not provided, the default space is used.
Tags []string
The tags for the SLO.
budgetingMethod This property is required. String
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
description This property is required. String
A description for the SLO.
objective This property is required. KibanaSloObjective
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
timeWindow This property is required. KibanaSloTimeWindow
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
apmAvailabilityIndicator KibanaSloApmAvailabilityIndicator
apmLatencyIndicator KibanaSloApmLatencyIndicator
groupBies List<String>
Optional group by fields to use to generate an SLO per distinct value.
histogramCustomIndicator KibanaSloHistogramCustomIndicator
kibanaSloId String
The ID of this resource.
kqlCustomIndicator KibanaSloKqlCustomIndicator
metricCustomIndicator KibanaSloMetricCustomIndicator
name String
The name of the SLO.
settings KibanaSloSettings
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
sloId String
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
spaceId String
An identifier for the space. If space_id is not provided, the default space is used.
tags List<String>
The tags for the SLO.
budgetingMethod This property is required. string
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
description This property is required. string
A description for the SLO.
objective This property is required. KibanaSloObjective
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
timeWindow This property is required. KibanaSloTimeWindow
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
apmAvailabilityIndicator KibanaSloApmAvailabilityIndicator
apmLatencyIndicator KibanaSloApmLatencyIndicator
groupBies string[]
Optional group by fields to use to generate an SLO per distinct value.
histogramCustomIndicator KibanaSloHistogramCustomIndicator
kibanaSloId string
The ID of this resource.
kqlCustomIndicator KibanaSloKqlCustomIndicator
metricCustomIndicator KibanaSloMetricCustomIndicator
name string
The name of the SLO.
settings KibanaSloSettings
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
sloId string
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
spaceId string
An identifier for the space. If space_id is not provided, the default space is used.
tags string[]
The tags for the SLO.
budgeting_method This property is required. str
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
description This property is required. str
A description for the SLO.
objective This property is required. KibanaSloObjectiveArgs
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
time_window This property is required. KibanaSloTimeWindowArgs
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
apm_availability_indicator KibanaSloApmAvailabilityIndicatorArgs
apm_latency_indicator KibanaSloApmLatencyIndicatorArgs
group_bies Sequence[str]
Optional group by fields to use to generate an SLO per distinct value.
histogram_custom_indicator KibanaSloHistogramCustomIndicatorArgs
kibana_slo_id str
The ID of this resource.
kql_custom_indicator KibanaSloKqlCustomIndicatorArgs
metric_custom_indicator KibanaSloMetricCustomIndicatorArgs
name str
The name of the SLO.
settings KibanaSloSettingsArgs
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
slo_id str
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
space_id str
An identifier for the space. If space_id is not provided, the default space is used.
tags Sequence[str]
The tags for the SLO.
budgetingMethod This property is required. String
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
description This property is required. String
A description for the SLO.
objective This property is required. Property Map
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
timeWindow This property is required. Property Map
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
apmAvailabilityIndicator Property Map
apmLatencyIndicator Property Map
groupBies List<String>
Optional group by fields to use to generate an SLO per distinct value.
histogramCustomIndicator Property Map
kibanaSloId String
The ID of this resource.
kqlCustomIndicator Property Map
metricCustomIndicator Property Map
name String
The name of the SLO.
settings Property Map
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
sloId String
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
spaceId String
An identifier for the space. If space_id is not provided, the default space is used.
tags List<String>
The tags for the SLO.

Outputs

All input properties are implicitly available as output properties. Additionally, the KibanaSlo resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing KibanaSlo Resource

Get an existing KibanaSlo resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: KibanaSloState, opts?: CustomResourceOptions): KibanaSlo
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        apm_availability_indicator: Optional[KibanaSloApmAvailabilityIndicatorArgs] = None,
        apm_latency_indicator: Optional[KibanaSloApmLatencyIndicatorArgs] = None,
        budgeting_method: Optional[str] = None,
        description: Optional[str] = None,
        group_bies: Optional[Sequence[str]] = None,
        histogram_custom_indicator: Optional[KibanaSloHistogramCustomIndicatorArgs] = None,
        kibana_slo_id: Optional[str] = None,
        kql_custom_indicator: Optional[KibanaSloKqlCustomIndicatorArgs] = None,
        metric_custom_indicator: Optional[KibanaSloMetricCustomIndicatorArgs] = None,
        name: Optional[str] = None,
        objective: Optional[KibanaSloObjectiveArgs] = None,
        settings: Optional[KibanaSloSettingsArgs] = None,
        slo_id: Optional[str] = None,
        space_id: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        time_window: Optional[KibanaSloTimeWindowArgs] = None) -> KibanaSlo
func GetKibanaSlo(ctx *Context, name string, id IDInput, state *KibanaSloState, opts ...ResourceOption) (*KibanaSlo, error)
public static KibanaSlo Get(string name, Input<string> id, KibanaSloState? state, CustomResourceOptions? opts = null)
public static KibanaSlo get(String name, Output<String> id, KibanaSloState state, CustomResourceOptions options)
resources:  _:    type: elasticstack:KibanaSlo    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ApmAvailabilityIndicator KibanaSloApmAvailabilityIndicator
ApmLatencyIndicator KibanaSloApmLatencyIndicator
BudgetingMethod string
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
Description string
A description for the SLO.
GroupBies List<string>
Optional group by fields to use to generate an SLO per distinct value.
HistogramCustomIndicator KibanaSloHistogramCustomIndicator
KibanaSloId string
The ID of this resource.
KqlCustomIndicator KibanaSloKqlCustomIndicator
MetricCustomIndicator KibanaSloMetricCustomIndicator
Name string
The name of the SLO.
Objective KibanaSloObjective
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
Settings KibanaSloSettings
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
SloId string
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
SpaceId string
An identifier for the space. If space_id is not provided, the default space is used.
Tags List<string>
The tags for the SLO.
TimeWindow KibanaSloTimeWindow
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
ApmAvailabilityIndicator KibanaSloApmAvailabilityIndicatorArgs
ApmLatencyIndicator KibanaSloApmLatencyIndicatorArgs
BudgetingMethod string
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
Description string
A description for the SLO.
GroupBies []string
Optional group by fields to use to generate an SLO per distinct value.
HistogramCustomIndicator KibanaSloHistogramCustomIndicatorArgs
KibanaSloId string
The ID of this resource.
KqlCustomIndicator KibanaSloKqlCustomIndicatorArgs
MetricCustomIndicator KibanaSloMetricCustomIndicatorArgs
Name string
The name of the SLO.
Objective KibanaSloObjectiveArgs
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
Settings KibanaSloSettingsArgs
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
SloId string
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
SpaceId string
An identifier for the space. If space_id is not provided, the default space is used.
Tags []string
The tags for the SLO.
TimeWindow KibanaSloTimeWindowArgs
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
apmAvailabilityIndicator KibanaSloApmAvailabilityIndicator
apmLatencyIndicator KibanaSloApmLatencyIndicator
budgetingMethod String
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
description String
A description for the SLO.
groupBies List<String>
Optional group by fields to use to generate an SLO per distinct value.
histogramCustomIndicator KibanaSloHistogramCustomIndicator
kibanaSloId String
The ID of this resource.
kqlCustomIndicator KibanaSloKqlCustomIndicator
metricCustomIndicator KibanaSloMetricCustomIndicator
name String
The name of the SLO.
objective KibanaSloObjective
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
settings KibanaSloSettings
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
sloId String
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
spaceId String
An identifier for the space. If space_id is not provided, the default space is used.
tags List<String>
The tags for the SLO.
timeWindow KibanaSloTimeWindow
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
apmAvailabilityIndicator KibanaSloApmAvailabilityIndicator
apmLatencyIndicator KibanaSloApmLatencyIndicator
budgetingMethod string
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
description string
A description for the SLO.
groupBies string[]
Optional group by fields to use to generate an SLO per distinct value.
histogramCustomIndicator KibanaSloHistogramCustomIndicator
kibanaSloId string
The ID of this resource.
kqlCustomIndicator KibanaSloKqlCustomIndicator
metricCustomIndicator KibanaSloMetricCustomIndicator
name string
The name of the SLO.
objective KibanaSloObjective
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
settings KibanaSloSettings
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
sloId string
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
spaceId string
An identifier for the space. If space_id is not provided, the default space is used.
tags string[]
The tags for the SLO.
timeWindow KibanaSloTimeWindow
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
apm_availability_indicator KibanaSloApmAvailabilityIndicatorArgs
apm_latency_indicator KibanaSloApmLatencyIndicatorArgs
budgeting_method str
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
description str
A description for the SLO.
group_bies Sequence[str]
Optional group by fields to use to generate an SLO per distinct value.
histogram_custom_indicator KibanaSloHistogramCustomIndicatorArgs
kibana_slo_id str
The ID of this resource.
kql_custom_indicator KibanaSloKqlCustomIndicatorArgs
metric_custom_indicator KibanaSloMetricCustomIndicatorArgs
name str
The name of the SLO.
objective KibanaSloObjectiveArgs
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
settings KibanaSloSettingsArgs
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
slo_id str
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
space_id str
An identifier for the space. If space_id is not provided, the default space is used.
tags Sequence[str]
The tags for the SLO.
time_window KibanaSloTimeWindowArgs
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.
apmAvailabilityIndicator Property Map
apmLatencyIndicator Property Map
budgetingMethod String
An occurrences budgeting method uses the number of good and total events during the time window. A timeslices budgeting method uses the number of good slices and total slices during the time window. A slice is an arbitrary time window (smaller than the overall SLO time window) that is either considered good or bad, calculated from the timeslice threshold and the ratio of good over total events that happened during the slice window. A budgeting method is required and must be either occurrences or timeslices.
description String
A description for the SLO.
groupBies List<String>
Optional group by fields to use to generate an SLO per distinct value.
histogramCustomIndicator Property Map
kibanaSloId String
The ID of this resource.
kqlCustomIndicator Property Map
metricCustomIndicator Property Map
name String
The name of the SLO.
objective Property Map
The target objective is the value the SLO needs to meet during the time window. If a timeslices budgeting method is used, we also need to define the timesliceTarget which can be different than the overall SLO target.
settings Property Map
The default settings should be sufficient for most users, but if needed, these properties can be overwritten.
sloId String
An ID (8 and 36 characters). If omitted, a UUIDv1 will be generated server-side.
spaceId String
An identifier for the space. If space_id is not provided, the default space is used.
tags List<String>
The tags for the SLO.
timeWindow Property Map
Currently support calendarAligned and rolling time windows. Any duration greater than 1 day can be used: days, weeks, months, quarters, years. Rolling time window requires a duration, e.g. 1w for one week, and type: rolling. SLOs defined with such time window, will only consider the SLI data from the last duration period as a moving window. Calendar aligned time window requires a duration, limited to 1M for monthly or 1w for weekly, and type: calendarAligned.

Supporting Types

KibanaSloApmAvailabilityIndicator
, KibanaSloApmAvailabilityIndicatorArgs

Environment This property is required. string
Index This property is required. string
Service This property is required. string
TransactionName This property is required. string
TransactionType This property is required. string
Filter string
Environment This property is required. string
Index This property is required. string
Service This property is required. string
TransactionName This property is required. string
TransactionType This property is required. string
Filter string
environment This property is required. String
index This property is required. String
service This property is required. String
transactionName This property is required. String
transactionType This property is required. String
filter String
environment This property is required. string
index This property is required. string
service This property is required. string
transactionName This property is required. string
transactionType This property is required. string
filter string
environment This property is required. str
index This property is required. str
service This property is required. str
transaction_name This property is required. str
transaction_type This property is required. str
filter str
environment This property is required. String
index This property is required. String
service This property is required. String
transactionName This property is required. String
transactionType This property is required. String
filter String

KibanaSloApmLatencyIndicator
, KibanaSloApmLatencyIndicatorArgs

Environment This property is required. string
Index This property is required. string
Service This property is required. string
Threshold This property is required. double
TransactionName This property is required. string
TransactionType This property is required. string
Filter string
Environment This property is required. string
Index This property is required. string
Service This property is required. string
Threshold This property is required. float64
TransactionName This property is required. string
TransactionType This property is required. string
Filter string
environment This property is required. String
index This property is required. String
service This property is required. String
threshold This property is required. Double
transactionName This property is required. String
transactionType This property is required. String
filter String
environment This property is required. string
index This property is required. string
service This property is required. string
threshold This property is required. number
transactionName This property is required. string
transactionType This property is required. string
filter string
environment This property is required. str
index This property is required. str
service This property is required. str
threshold This property is required. float
transaction_name This property is required. str
transaction_type This property is required. str
filter str
environment This property is required. String
index This property is required. String
service This property is required. String
threshold This property is required. Number
transactionName This property is required. String
transactionType This property is required. String
filter String

KibanaSloHistogramCustomIndicator
, KibanaSloHistogramCustomIndicatorArgs

Good This property is required. KibanaSloHistogramCustomIndicatorGood
Index This property is required. string
Total This property is required. KibanaSloHistogramCustomIndicatorTotal
Filter string
TimestampField string
Good This property is required. KibanaSloHistogramCustomIndicatorGood
Index This property is required. string
Total This property is required. KibanaSloHistogramCustomIndicatorTotal
Filter string
TimestampField string
good This property is required. KibanaSloHistogramCustomIndicatorGood
index This property is required. String
total This property is required. KibanaSloHistogramCustomIndicatorTotal
filter String
timestampField String
good This property is required. KibanaSloHistogramCustomIndicatorGood
index This property is required. string
total This property is required. KibanaSloHistogramCustomIndicatorTotal
filter string
timestampField string
good This property is required. KibanaSloHistogramCustomIndicatorGood
index This property is required. str
total This property is required. KibanaSloHistogramCustomIndicatorTotal
filter str
timestamp_field str
good This property is required. Property Map
index This property is required. String
total This property is required. Property Map
filter String
timestampField String

KibanaSloHistogramCustomIndicatorGood
, KibanaSloHistogramCustomIndicatorGoodArgs

Aggregation This property is required. string
Field This property is required. string
Filter string
From double
To double
Aggregation This property is required. string
Field This property is required. string
Filter string
From float64
To float64
aggregation This property is required. String
field This property is required. String
filter String
from Double
to Double
aggregation This property is required. string
field This property is required. string
filter string
from number
to number
aggregation This property is required. str
field This property is required. str
filter str
from_ float
to float
aggregation This property is required. String
field This property is required. String
filter String
from Number
to Number

KibanaSloHistogramCustomIndicatorTotal
, KibanaSloHistogramCustomIndicatorTotalArgs

Aggregation This property is required. string
Field This property is required. string
Filter string
From double
To double
Aggregation This property is required. string
Field This property is required. string
Filter string
From float64
To float64
aggregation This property is required. String
field This property is required. String
filter String
from Double
to Double
aggregation This property is required. string
field This property is required. string
filter string
from number
to number
aggregation This property is required. str
field This property is required. str
filter str
from_ float
to float
aggregation This property is required. String
field This property is required. String
filter String
from Number
to Number

KibanaSloKqlCustomIndicator
, KibanaSloKqlCustomIndicatorArgs

Index This property is required. string
Filter string
Good string
TimestampField string
Total string
Index This property is required. string
Filter string
Good string
TimestampField string
Total string
index This property is required. String
filter String
good String
timestampField String
total String
index This property is required. string
filter string
good string
timestampField string
total string
index This property is required. str
filter str
good str
timestamp_field str
total str
index This property is required. String
filter String
good String
timestampField String
total String

KibanaSloMetricCustomIndicator
, KibanaSloMetricCustomIndicatorArgs

Good This property is required. KibanaSloMetricCustomIndicatorGood
Index This property is required. string
Total This property is required. KibanaSloMetricCustomIndicatorTotal
Filter string
TimestampField string
Good This property is required. KibanaSloMetricCustomIndicatorGood
Index This property is required. string
Total This property is required. KibanaSloMetricCustomIndicatorTotal
Filter string
TimestampField string
good This property is required. KibanaSloMetricCustomIndicatorGood
index This property is required. String
total This property is required. KibanaSloMetricCustomIndicatorTotal
filter String
timestampField String
good This property is required. KibanaSloMetricCustomIndicatorGood
index This property is required. string
total This property is required. KibanaSloMetricCustomIndicatorTotal
filter string
timestampField string
good This property is required. KibanaSloMetricCustomIndicatorGood
index This property is required. str
total This property is required. KibanaSloMetricCustomIndicatorTotal
filter str
timestamp_field str
good This property is required. Property Map
index This property is required. String
total This property is required. Property Map
filter String
timestampField String

KibanaSloMetricCustomIndicatorGood
, KibanaSloMetricCustomIndicatorGoodArgs

Equation This property is required. string
Metrics This property is required. List<KibanaSloMetricCustomIndicatorGoodMetric>
Equation This property is required. string
Metrics This property is required. []KibanaSloMetricCustomIndicatorGoodMetric
equation This property is required. String
metrics This property is required. List<KibanaSloMetricCustomIndicatorGoodMetric>
equation This property is required. string
metrics This property is required. KibanaSloMetricCustomIndicatorGoodMetric[]
equation This property is required. str
metrics This property is required. Sequence[KibanaSloMetricCustomIndicatorGoodMetric]
equation This property is required. String
metrics This property is required. List<Property Map>

KibanaSloMetricCustomIndicatorGoodMetric
, KibanaSloMetricCustomIndicatorGoodMetricArgs

Aggregation This property is required. string
Field This property is required. string
Name This property is required. string
Filter string
Aggregation This property is required. string
Field This property is required. string
Name This property is required. string
Filter string
aggregation This property is required. String
field This property is required. String
name This property is required. String
filter String
aggregation This property is required. string
field This property is required. string
name This property is required. string
filter string
aggregation This property is required. str
field This property is required. str
name This property is required. str
filter str
aggregation This property is required. String
field This property is required. String
name This property is required. String
filter String

KibanaSloMetricCustomIndicatorTotal
, KibanaSloMetricCustomIndicatorTotalArgs

Equation This property is required. string
Metrics This property is required. List<KibanaSloMetricCustomIndicatorTotalMetric>
Equation This property is required. string
Metrics This property is required. []KibanaSloMetricCustomIndicatorTotalMetric
equation This property is required. String
metrics This property is required. List<KibanaSloMetricCustomIndicatorTotalMetric>
equation This property is required. string
metrics This property is required. KibanaSloMetricCustomIndicatorTotalMetric[]
equation This property is required. str
metrics This property is required. Sequence[KibanaSloMetricCustomIndicatorTotalMetric]
equation This property is required. String
metrics This property is required. List<Property Map>

KibanaSloMetricCustomIndicatorTotalMetric
, KibanaSloMetricCustomIndicatorTotalMetricArgs

Aggregation This property is required. string
Field This property is required. string
Name This property is required. string
Filter string
Aggregation This property is required. string
Field This property is required. string
Name This property is required. string
Filter string
aggregation This property is required. String
field This property is required. String
name This property is required. String
filter String
aggregation This property is required. string
field This property is required. string
name This property is required. string
filter string
aggregation This property is required. str
field This property is required. str
name This property is required. str
filter str
aggregation This property is required. String
field This property is required. String
name This property is required. String
filter String

KibanaSloObjective
, KibanaSloObjectiveArgs

Target This property is required. double
TimesliceTarget double
TimesliceWindow string
Target This property is required. float64
TimesliceTarget float64
TimesliceWindow string
target This property is required. Double
timesliceTarget Double
timesliceWindow String
target This property is required. number
timesliceTarget number
timesliceWindow string
target This property is required. float
timeslice_target float
timeslice_window str
target This property is required. Number
timesliceTarget Number
timesliceWindow String

KibanaSloSettings
, KibanaSloSettingsArgs

Frequency string
SyncDelay string
Frequency string
SyncDelay string
frequency String
syncDelay String
frequency string
syncDelay string
frequency String
syncDelay String

KibanaSloTimeWindow
, KibanaSloTimeWindowArgs

Duration This property is required. string
Type This property is required. string
Duration This property is required. string
Type This property is required. string
duration This property is required. String
type This property is required. String
duration This property is required. string
type This property is required. string
duration This property is required. str
type This property is required. str
duration This property is required. String
type This property is required. String

Import

$ pulumi import elasticstack:index/kibanaSlo:KibanaSlo my_slo <space id>/<slo id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
elasticstack elastic/terraform-provider-elasticstack
License
Notes
This Pulumi package is based on the elasticstack Terraform Provider.