Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request]Hide elasticsearch username and password from log #1980

Closed
wei-hai opened this issue Nov 1, 2016 · 0 comments · Fixed by #2186
Closed

[feature request]Hide elasticsearch username and password from log #1980

wei-hai opened this issue Nov 1, 2016 · 0 comments · Fixed by #2186
Assignees
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@wei-hai
Copy link

wei-hai commented Nov 1, 2016

Feature Request

Proposal:

Hide elasticsearch username and password from log

Current behavior:

given servers = ["https://admin:password@localhost:9200"]
The log includes username and password in elasticsearch URL like:
2016/11/01 13:53:09 ERROR in input [elasticsearch]: Errors encountered: [Get https://admin:password@localhost:9200/_nodes/_local/stats: remote error: handshake failure]

Desired behavior:

Hide username and password in the log file

@sparrc sparrc added the bug unexpected problem or unintended behavior label Nov 2, 2016
@sparrc sparrc added this to the 1.2.0 milestone Nov 2, 2016
sparrc added a commit that referenced this issue Dec 20, 2016
sparrc added a commit that referenced this issue Dec 20, 2016
njwhite pushed a commit to njwhite/telegraf that referenced this issue Jan 31, 2017
maxunt pushed a commit that referenced this issue Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants