Filebeat to Logstash Basic Authentication

Hello,

I'm using a typical setup with Filebeat agents running on different Windows clients and Logstash and Elasticsearch setup on a separate server (Windows). I'm using the latest version 7.5.

I need to configure basic authentication from Filebeat to Logstash.
This option is available for Elasticsearch:
output.elasticsearch:
#Optional protocol and basic auth credentials.
#protocol: "https"
#username: "elastic"
#password: "changeme"

but not for Logstash. So, how do I configure basic authentication between Filebeat and Logstash in that case.

Thanks in advance,
Jy

The beats protocol used to communicate between Filebeat and Logstash does not support basic authentication. It does however support PKI based authentication, where you'd use a client certificate on the Filebeat side, and set up the Logstash input to require a client certificate for its encrypted channel. See the documentation for more details.

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