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

* [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>
This commit is contained in:
Luca Belluccini 2021-04-12 18:14:03 +01:00 committed by GitHub
parent 9b239f64cd
commit 0836e4d67b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,6 +125,11 @@ 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}.