Ship logs from filebeat to logstash via NGINX reverse proxy

My architecture is as follows where only port 80 and 443 are open on the NGINX proxy server:
[filebeat] -> [NGINX - reverse proxy] -> [logstash]

I am attempting to ship logs from filebeat to logstash via an NGINX reverse proxy. Any ideas what the outbeat.logstash configuration would look like for this?

My current configuration looks like the below but have a feeling that passing a host:port/route to the hosts configuration is not allowed?:

output.logstash:
  hosts: ["*******:80/logstash"]
  index: "logstash-%{+yyyy.MM.dd}"

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