Skip to content

Commit 9fd4d6b

Browse files
authored
remove + references for xpack.monitoring.collection.indices (#37282)
`+` for index name inclusions is no longer supported for 6.x+. This commit removes references of the `+` from the documenation. System indices additional example is also included. fixes #37237
1 parent b5b93a2 commit 9fd4d6b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

docs/reference/monitoring/collecting-monitoring-data.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ example:
8888
xpack.monitoring.collection.indices: logstash-*, index1, test2
8989
----------------------------------
9090

91-
You can prepend `+` or `-` to explicitly include or exclude index names or
91+
You can prepend `-` to explicitly exclude index names or
9292
patterns. For example, to include all indices that start with `test` except
93-
`test3`, you could specify `+test*,-test3`.
93+
`test3`, you could specify `test*,-test3`. To include system indices such as
94+
.security and .kibana, add `.*` to the list of included names.
95+
For example `.*,test*,-test3`
9496
--
9597

9698
.. Optional: Specify how often to collect monitoring data. The default value for

docs/reference/settings/monitoring-settings.asciidoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ Sets the timeout for collecting the cluster statistics. Defaults to `10s`.
7676

7777
Controls which indices Monitoring collects data from. Defaults to all indices. Specify the index names
7878
as a comma-separated list, for example `test1,test2,test3`. Names can include wildcards, for
79-
example `test*`. You can explicitly include or exclude indices by prepending
80-
`+` to include the index, or `-` to exclude the index. For example, to include all indices that
81-
start with `test` except `test3`, you could specify `+test*,-test3`.
79+
example `test*`. You can explicitly exclude indices by prepending `-`. For example `test*,-test3` will
80+
monitor all indexes that start with `test` except for `test3`. System indices like .security* or .kibana*
81+
always start with a `.`, and generally should be monitored. Consider adding `.*` to the list of indices
82+
ensure monitoring of system indices. For example `.*,test*,-test3`
8283

8384
`xpack.monitoring.collection.index.stats.timeout`::
8485

0 commit comments

Comments
 (0)