elastic/logstash

elasticsearch connection produces 401 when password contains certain characters.

Open

#11,193 创建于 2019年10月4日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Ruby (3,496 fork)batch import
buggood first issue

仓库指标

Star
 (14,197 star)
PR 合并指标
 (平均合并 4天 19小时) (30 天内合并 50 个 PR)

描述

I've only just started trying to use filebeat > logstash > elasticsearch (cloud) but having spent the day yesterday having problems I think I've found a potential bug. Apologies if the below is not in an acceptable format. Please note, I used a 14 day trail on Google for elasticsearch and kibana so I have no idea if this applies to on-prem/self-hosted variants.

  • Version: 7.4
  • Operating System: Windows
  • Config File (if you have sensitive info, please remove it):
  • Sample Data:
  • Steps to Reproduce:

Create a trail account with Google and when prompted/changing the password for the default elastic user, use a password containing the @ symbol.

Install Logstash and configure with cloud.id and cloud.auth as per trial account.

Run logstash and view log file. Logstash is unable to connect to elasticsearch due to a 401 error.

Back in elasticsearch, change the password for the elastic user so that it contains no @ symbols.

Amend the logstash configuration to use updated password and run. Elasticsearch connection should now work.

贡献者指南