From 16d7fd1b25527811cd6ff38ada2caac8b0f2f703 Mon Sep 17 00:00:00 2001 From: Phillip Burch Date: Thu, 2 Apr 2020 07:21:13 -0500 Subject: [PATCH 1/4] Add docs for metric explorer alerts --- docs/infrastructure/index.asciidoc | 2 ++ docs/infrastructure/metrics-explorer.asciidoc | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/docs/infrastructure/index.asciidoc b/docs/infrastructure/index.asciidoc index 60695c0e3f1cf..416e95a8941ce 100644 --- a/docs/infrastructure/index.asciidoc +++ b/docs/infrastructure/index.asciidoc @@ -21,6 +21,8 @@ You can optionally save these views and add them to {kibana-ref}/dashboard.html[ * Seamlessly switch to view the corresponding logs, application traces or uptime information for a component. +* Create alerts based on metric thresholds for one or more components. + To get started, you need to <>. Then you can <>. [role="screenshot"] diff --git a/docs/infrastructure/metrics-explorer.asciidoc b/docs/infrastructure/metrics-explorer.asciidoc index d47581ffe720a..28819cf160640 100644 --- a/docs/infrastructure/metrics-explorer.asciidoc +++ b/docs/infrastructure/metrics-explorer.asciidoc @@ -20,6 +20,7 @@ By default that is set to `@timestamp`. * The interval for the X Axis is set to `auto`. The bucket size is determined by the time range. * To use *Open in Visualize* you need access to the Visualize app. +* To use *Create alert* you need alerting ${kibana-ref}/alerting-getting-started.html#alerting-setup-prerequisites[setup]. [float] [[metrics-explorer-tutorial]] @@ -67,4 +68,8 @@ Choose a graph, click the *Actions* dropdown and select *Open In Visualize*. This opens the graph in {kibana-ref}/TSVB.html[TSVB]. From here you can save the graph and add it to a dashboard as usual. +9. You can also create an alert based on the metrics in a graph. +Choose a graph, click the *Actions* dropdown and select *Create alert*. +This opens the {kibana-ref}/defining-alerts.html[alert flyout] prefilled with mertrics from the chart. + Who's the Metrics Explorer now? You are! From 96aeb65ce46716cf5cca0dfb4d0a41d9cac1eb7b Mon Sep 17 00:00:00 2001 From: Phillip Burch Date: Thu, 2 Apr 2020 08:50:09 -0500 Subject: [PATCH 2/4] Fix link --- docs/infrastructure/metrics-explorer.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/infrastructure/metrics-explorer.asciidoc b/docs/infrastructure/metrics-explorer.asciidoc index 28819cf160640..ebb57bf6e6d6d 100644 --- a/docs/infrastructure/metrics-explorer.asciidoc +++ b/docs/infrastructure/metrics-explorer.asciidoc @@ -20,7 +20,7 @@ By default that is set to `@timestamp`. * The interval for the X Axis is set to `auto`. The bucket size is determined by the time range. * To use *Open in Visualize* you need access to the Visualize app. -* To use *Create alert* you need alerting ${kibana-ref}/alerting-getting-started.html#alerting-setup-prerequisites[setup]. +* To use *Create alert* you need alerting ${kibana-ref}/alerting-getting-started.html[setup]. [float] [[metrics-explorer-tutorial]] From 9c42b1062a91191be250b212f6834e28f11e0b64 Mon Sep 17 00:00:00 2001 From: Phillip Burch Date: Thu, 2 Apr 2020 11:04:12 -0500 Subject: [PATCH 3/4] Actually fix the link --- docs/infrastructure/metrics-explorer.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/infrastructure/metrics-explorer.asciidoc b/docs/infrastructure/metrics-explorer.asciidoc index ebb57bf6e6d6d..96fa5d10c8095 100644 --- a/docs/infrastructure/metrics-explorer.asciidoc +++ b/docs/infrastructure/metrics-explorer.asciidoc @@ -20,7 +20,7 @@ By default that is set to `@timestamp`. * The interval for the X Axis is set to `auto`. The bucket size is determined by the time range. * To use *Open in Visualize* you need access to the Visualize app. -* To use *Create alert* you need alerting ${kibana-ref}/alerting-getting-started.html[setup]. +* To use *Create alert* you need alerting {kibana-ref}/alerting-getting-started.html#alerting-setup-prerequisites[setup]. [float] [[metrics-explorer-tutorial]] From 345b195295f8c41a07fa329850c0a9d32888cea4 Mon Sep 17 00:00:00 2001 From: Phillip Burch Date: Fri, 3 Apr 2020 14:46:59 -0500 Subject: [PATCH 4/4] Grammar fix Co-Authored-By: Brandon Morelli --- docs/infrastructure/metrics-explorer.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/infrastructure/metrics-explorer.asciidoc b/docs/infrastructure/metrics-explorer.asciidoc index 96fa5d10c8095..793f09ea83b4f 100644 --- a/docs/infrastructure/metrics-explorer.asciidoc +++ b/docs/infrastructure/metrics-explorer.asciidoc @@ -20,7 +20,7 @@ By default that is set to `@timestamp`. * The interval for the X Axis is set to `auto`. The bucket size is determined by the time range. * To use *Open in Visualize* you need access to the Visualize app. -* To use *Create alert* you need alerting {kibana-ref}/alerting-getting-started.html#alerting-setup-prerequisites[setup]. +* To use *Create alert* you need to {kibana-ref}/alerting-getting-started.html#alerting-setup-prerequisites[set up alerting]. [float] [[metrics-explorer-tutorial]]