How many hosts I can list in logstash output

how many hosts I can list in output section of host part?
can I use wildcard?

something like this?
hosts => ["host_123*"]

how many hosts I can list in output section of host part?

I didn't see anywhere that would indicate a limit.

can I use wildcard?

Doesn't appear so.

Also if it appears to have a limit, you can specify a single host address and using a third party load-balancer like NGINX to have multiple upstreams.

I will have 20 data node that is why I was asking.

Should be no problem at all to add that many.

1 Like

Unless automated, adding additional hosts to every Elasticsearch Output can be an administrative task, which is why i mentioned reverse proxies like nginx. I use a single address in the configurations like data-nodes.mydomain.com in all Elasticsearch configurations and just edit the host in one place, a single time.

Hope this helps.

Let me ask our Linux team if they already have something like this in place which I can use.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.