[DOC] Index pattern and cluster exclusion examples with CCS (#61256) (#96848)

* [DOC] Index pattern and cluster exclusion examples with CCS

Providing some examples of using Index Pattern and cluster exclusions with CCS

* Update docs/management/index-patterns.asciidoc

* Update docs/management/index-patterns.asciidoc

* Update docs/management/index-patterns.asciidoc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Luca Belluccini <luca.belluccini@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Kaarina Tungseth 2021-04-12 12:28:59 -05:00 committed by GitHub
parent ab8b273d02
commit 9e386eef2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,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-*`.
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:-*`.
Once an index pattern is configured using the {ccs} syntax, all searches and
aggregations using that index pattern in {kib} take advantage of {ccs}.