Filebeat monitoring via proxy

Hi All,

I am using filebeat and I want to add xpack monitoring configuration. I do not have direct access to ES so I need to use a proxy. Does some have an example config with use of a proxy server? Also would it be possible to route the monitor traffic trought logstash?

Thanks,
Paul.

The monitoring output requires an HTTP or HTTPS connection to Elasticsearch. So you could use an HTTP proxy or a reverse HTTP proxy (like nginx or apache httpd).

You cannot route the monitoring data through LS or any other output at this time.

Thanks, for this. In the link there is no example config on how to use a proxy in the output.elasticsearch. Can you maybe point to a example?

Like this:

output.elasticsearch:
  hosts: ['example:9200']
  proxy_url: 'http://your.proxy.server:port'
1 Like

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