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

NullPointerException at credential refresh #141

Open
WhiteJocc opened this issue Dec 9, 2019 · 4 comments
Open

NullPointerException at credential refresh #141

WhiteJocc opened this issue Dec 9, 2019 · 4 comments

Comments

@WhiteJocc
Copy link

WhiteJocc commented Dec 9, 2019

Logstash suddenly stopped shipping logs to AWS ES (Cognito protected) after NullPointerException around credential refresh by this plugin (according to the stacktrace). Stack traces are attached to the issue.

We observed the issue when we first set multiple pipelines (see below). Everything worked fine and after few days or a day or hours (kind of unpredictable) the logstash due to the NPE stopped shipping logs to AWS ES. We don't pass aws credentials to logstash plugin directly, we rely on "Instance profile credentials".

Multi pipeline setup:

  • pipeline.id: logs
    path.config: "/usr/share/logstash/pipeline/logs.conf"
  • pipeline.id: metrics
    path.config: "/usr/share/logstash/pipeline/metrics.conf"

stacktrace-2.log
stacktrace-1.log

@WhiteJocc
Copy link
Author

Guys, any news on this? What kind of help do you need?

@AustinTag
Copy link
Contributor

Hi. Could you please provide which version of Logstash and the plugin you are using?

@WhiteJocc WhiteJocc reopened this Jan 30, 2020
@WhiteJocc
Copy link
Author

logstash:6.3.2
amazon_es:6.4.2

@WhiteJocc
Copy link
Author

Any news on this thread, guys?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants