Hey,
I have set up filebeat with elasticsearch output. My ES instance is behind nginx reverse proxy with basic auth. I have tested my login:password with curl and everything works fine. However, I keep getting 401 unauthorized errors in my filebeat logs.
filebeat version 6.2.4 (amd64), libbeat 6.2.4
Here is my beat config:
filebeat.prospectors:
- type: log
enabled: false
paths:
- /var/log/*.log
filebeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
setup.template.settings:
index.number_of_shards: 3
setup.kibana:
host: "myhost:port"
protocol: "https"
path: "/kibana"
username: "login"
password: "changeme"
output.elasticsearch:
hosts: ["myhost:port"]
protocol: "https"
username: "elastic"
password: "changeme"
path: "/elastic"