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
If you're sending events to the same Elasticsearch cluster but you're targeting different indices you can:
70
+
If you're sending events to the same Elasticsearch cluster, but you're targeting different indices you can:
91
71
92
72
* use different Elasticsearch outputs, each one with a different value for the `index` parameter
93
73
* use one Elasticsearch output and use the dynamic variable substitution for the `index` parameter
@@ -453,11 +433,15 @@ If you have custom firewall rules you may need to change this
453
433
454
434
Sets the host(s) of the remote instance. If given an array it will load balance requests across the hosts specified in the `hosts` parameter.
455
435
Remember the `http` protocol uses the http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html#modules-http[http] address (eg. 9200, not 9300).
436
+
437
+
Examples:
438
+
456
439
`"127.0.0.1"`
457
440
`["127.0.0.1:9200","127.0.0.2:9200"]`
458
441
`["http://127.0.0.1"]`
459
442
`["https://127.0.0.1:9200"]`
460
443
`["https://127.0.0.1:9200/mypath"]` (If using a proxy on a subpath)
444
+
461
445
It is important to exclude http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html[dedicated master nodes] from the `hosts` list
462
446
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