mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
[backport 7x] Doc: wildcards in xpack.management.pipeline.id (#12416)
Backports: #12396 Fixes: #12366
This commit is contained in:
parent
92f304a132
commit
d473e0b7cf
4 changed files with 21 additions and 0 deletions
|
@ -43,3 +43,4 @@ that the `pipelines.yml` file and settings like `path.config` and
|
|||
`config.string` are inactive when this feature is enabled.
|
||||
|
||||
include::{log-repo-dir}/static/settings/configuration-management-settings.asciidoc[]
|
||||
include::{log-repo-dir}/static/settings/configuration-wildcard-pipeline-id.asciidoc[]
|
||||
|
|
BIN
docs/static/management/images/centralized_config.png
vendored
BIN
docs/static/management/images/centralized_config.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 143 KiB |
|
@ -40,6 +40,7 @@ The default is 5s.
|
|||
Specify a comma-separated list of pipeline IDs to register for centralized
|
||||
pipeline management. After changing this setting, you need to restart Logstash
|
||||
to pick up changes.
|
||||
Pipeline IDs support `*` as a <<wildcard-in-pipeline-id, wildcard>> for matching multiple IDs
|
||||
|
||||
`xpack.management.elasticsearch.hosts`::
|
||||
|
||||
|
|
19
docs/static/settings/configuration-wildcard-pipeline-id.asciidoc
vendored
Normal file
19
docs/static/settings/configuration-wildcard-pipeline-id.asciidoc
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
[role="xpack"]
|
||||
[[wildcard-in-pipeline-id]]
|
||||
==== Wildcard support in pipeline ID
|
||||
++++
|
||||
<titleabbrev>Wildcard support in pipeline ID</titleabbrev>
|
||||
++++
|
||||
Pipeline IDs must begin with a letter or underscore and contain only letters, underscores, dashes, and numbers.
|
||||
You can use `*` in `xpack.management.pipeline.id` to match any number of letters, underscores, dashes, and numbers.
|
||||
|
||||
[source,shell]
|
||||
-----
|
||||
xpack.management.pipeline.id: ["*logs", "*apache*", "tomcat_log"]
|
||||
-----
|
||||
|
||||
In this example, `"*logs"` matches all IDs ending in `logs`. `"*apache*"` matches any IDs with `apache` in the name.
|
||||
|
||||
Wildcard in pipeline IDs is available starting with Elasticsearch 7.10. Logstash can pick up new pipeline without a restart if the new pipeline ID matches the wildcard pattern.
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue