You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cloud rework broke some links from the plugins. This work updates the links and points
one level up in docs to give user a bit more context for logstash->cloud.
Bump to v.10.7.2
Fixes: logstash-plugins#974
Copy file name to clipboardExpand all lines: docs/index.asciidoc
+19-11
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,10 @@ Each Elasticsearch output is a new client connected to the cluster:
91
91
* it has to initialize the client and connect to Elasticsearch (restart time is longer if you have more clients)
92
92
* it has an associated connection pool
93
93
94
-
In order to minimize the number of open connections to Elasticsearch, maximize the bulk size and reduce the number of "small" bulk requests (which could easily fill up the queue), it is usually more efficient to have a single Elasticsearch output.
94
+
In order to minimize the number of open connections to Elasticsearch, maximize
95
+
the bulk size and reduce the number of "small" bulk requests (which could easily
96
+
fill up the queue), it is usually more efficient to have a single Elasticsearch
97
+
output.
95
98
96
99
Example:
97
100
[source,ruby]
@@ -103,8 +106,11 @@ Example:
103
106
104
107
**What to do in case there is no field in the event containing the destination index prefix?**
105
108
106
-
You can use the `mutate` filter and conditionals to add a `[@metadata]` field (see https://www.elastic.co/guide/en/logstash/current/event-dependent-configuration.html#metadata) to set
107
-
the destination index for each event. The `[@metadata]` fields will not be sent to Elasticsearch.
109
+
You can use the `mutate` filter and conditionals to add a `[@metadata]` field
to set the destination index for each event. The `[@metadata]` fields will not
113
+
be sent to Elasticsearch.
108
114
109
115
Example:
110
116
[source,ruby]
@@ -369,7 +375,7 @@ The .cer or .pem file to validate the server's certificate
369
375
370
376
Cloud authentication string ("<username>:<password>" format) is an alternative for the `user`/`password` pair.
371
377
372
-
For more details, check out the https://www.elastic.co/guide/en/logstash/current/connecting-to-cloud.html#_cloud_auth[Logstash-to-Cloud documentation]
378
+
For more details, check out the https://www.elastic.co/guide/en/logstash/current/connecting-to-cloud.html[Logstash-to-Cloud documentation]
373
379
374
380
[id="plugins-{type}s-{plugin}-cloud_id"]
375
381
===== `cloud_id`
@@ -379,7 +385,7 @@ For more details, check out the https://www.elastic.co/guide/en/logstash/current
379
385
380
386
Cloud ID, from the Elastic Cloud web console. If set `hosts` should not be used.
381
387
382
-
For more details, check out the https://www.elastic.co/guide/en/logstash/current/connecting-to-cloud.html#_cloud_id[Logstash-to-Cloud documentation]
388
+
For more details, check out the https://www.elastic.co/guide/en/logstash/current/connecting-to-cloud.html[Logstash-to-Cloud documentation]
383
389
384
390
[id="plugins-{type}s-{plugin}-doc_as_upsert"]
385
391
===== `doc_as_upsert`
@@ -487,10 +493,14 @@ Examples:
487
493
`["https://127.0.0.1:9200"]`
488
494
`["https://127.0.0.1:9200/mypath"]` (If using a proxy on a subpath)
489
495
490
-
It is important to exclude http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html[dedicated master nodes] from the `hosts` list
491
-
to prevent LS from sending bulk requests to the master nodes. So this parameter should only reference either data or client nodes in Elasticsearch.
0 commit comments