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

When I am using auth feature. Fluentd is not able to connect to ES. #67

Open
harshvardhan1998 opened this issue Mar 24, 2021 · 0 comments

Comments

@harshvardhan1998
Copy link

harshvardhan1998 commented Mar 24, 2021

When I am using auth feature. Fluentd is not able to connect to ES. But My Es is accessible from Host. I am able to connect using curl and esdump command.
auth:
enabled: true
user: "xyz"
password: "xyz"
includeTagKey: true
setOutputHostEnvVar: true
hosts: ["es.ap-south-1.es.amazonaws.com"]

logs of fluentd
2021-03-24 06:37:32 +0000 [warn]: [elasticsearch] Could not communicate to Elasticsearch, resetting connection and trying again. EOFError (EOFError)
2021-03-24 06:37:32 +0000 [warn]: [elasticsearch] Remaining retry: 11. Retry to communicate after 16 second(s).
2021-03-24 06:38:07 +0000 [warn]: [elasticsearch] Could not communicate to Elasticsearch, resetting connection and trying again. EOFError (EOFError)
2021-03-24 06:38:07 +0000 [warn]: [elasticsearch] Remaining retry: 10. Retry to communicate after 32 second(s).

Am I missing any more Configuration.

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

No branches or pull requests

1 participant