From a347fdfd3b7047a8e53622b953ae98f7f33957b3 Mon Sep 17 00:00:00 2001 From: Luca Belluccini Date: Wed, 25 Mar 2020 14:05:27 +0100 Subject: [PATCH 1/4] [DOC] Index pattern and cluster exclusion examples with CCS Providing some examples of using Index Pattern and cluster exclusions with CCS --- docs/management/index-patterns.asciidoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/management/index-patterns.asciidoc b/docs/management/index-patterns.asciidoc index 45f8bd13a5c54..c0c346cc6abb3 100644 --- a/docs/management/index-patterns.asciidoc +++ b/docs/management/index-patterns.asciidoc @@ -89,6 +89,11 @@ To query across all {es} clusters that have been configured for {ccs}, use a standalone wildcard for your cluster name in your index pattern: `*:logstash-*`. +Exclusions can be used too. +To match indices starting with `logstash-` and exclude those starting with `logstash-old` from +all clusters having a name starting with `cluster_`, you can use `cluster_*:logstash-*,cluster*:logstash-old*`. +To exclude a cluster, you might use `cluster_*:logstash-*,cluster_one:-*`. + Once an index pattern is configured using the {ccs} syntax, all searches and aggregations using that index pattern in {kib} take advantage of {ccs}. From f6c89e7feeb6aa2a86f1021d607880461aea5e23 Mon Sep 17 00:00:00 2001 From: Luca Belluccini Date: Thu, 14 Jan 2021 10:16:50 +0100 Subject: [PATCH 2/4] Update docs/management/index-patterns.asciidoc --- docs/management/index-patterns.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/management/index-patterns.asciidoc b/docs/management/index-patterns.asciidoc index c0c346cc6abb3..0d1a376b5d850 100644 --- a/docs/management/index-patterns.asciidoc +++ b/docs/management/index-patterns.asciidoc @@ -92,7 +92,7 @@ pattern: `*:logstash-*`. Exclusions can be used too. To match indices starting with `logstash-` and exclude those starting with `logstash-old` from all clusters having a name starting with `cluster_`, you can use `cluster_*:logstash-*,cluster*:logstash-old*`. -To exclude a cluster, you might use `cluster_*:logstash-*,cluster_one:-*`. +To exclude a cluster, use `cluster_*:logstash-*,cluster_one:-*`. Once an index pattern is configured using the {ccs} syntax, all searches and aggregations using that index pattern in {kib} take advantage of {ccs}. From 15b26cb13975acf3f0a8f145098ead1a7b4a6167 Mon Sep 17 00:00:00 2001 From: Luca Belluccini Date: Thu, 14 Jan 2021 10:16:58 +0100 Subject: [PATCH 3/4] Update docs/management/index-patterns.asciidoc --- docs/management/index-patterns.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/management/index-patterns.asciidoc b/docs/management/index-patterns.asciidoc index 0d1a376b5d850..b9d3289c6043d 100644 --- a/docs/management/index-patterns.asciidoc +++ b/docs/management/index-patterns.asciidoc @@ -90,7 +90,7 @@ use a standalone wildcard for your cluster name in your index pattern: `*:logstash-*`. Exclusions can be used too. -To match indices starting with `logstash-` and exclude those starting with `logstash-old` from +To match indices starting with `logstash-`, and exclude those starting with `logstash-old` from all clusters having a name starting with `cluster_`, you can use `cluster_*:logstash-*,cluster*:logstash-old*`. To exclude a cluster, use `cluster_*:logstash-*,cluster_one:-*`. From bbc8f952c3740d3babdc02e23516c0aa65a60139 Mon Sep 17 00:00:00 2001 From: Luca Belluccini Date: Thu, 8 Apr 2021 16:44:38 +0100 Subject: [PATCH 4/4] Update docs/management/index-patterns.asciidoc --- docs/management/index-patterns.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/management/index-patterns.asciidoc b/docs/management/index-patterns.asciidoc index b9d3289c6043d..f858b6fba2142 100644 --- a/docs/management/index-patterns.asciidoc +++ b/docs/management/index-patterns.asciidoc @@ -89,7 +89,7 @@ To query across all {es} clusters that have been configured for {ccs}, use a standalone wildcard for your cluster name in your index pattern: `*:logstash-*`. -Exclusions can be used too. +You can use exclusions to exclude indices that might contain mapping errors. To match indices starting with `logstash-`, and exclude those starting with `logstash-old` from all clusters having a name starting with `cluster_`, you can use `cluster_*:logstash-*,cluster*:logstash-old*`. To exclude a cluster, use `cluster_*:logstash-*,cluster_one:-*`.