Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

How to give credentials for ES stagemonitor? #230

Closed
gopi-nath opened this issue Dec 20, 2016 · 2 comments
Closed

How to give credentials for ES stagemonitor? #230

gopi-nath opened this issue Dec 20, 2016 · 2 comments

Comments

@gopi-nath
Copy link
Contributor

gopi-nath commented Dec 20, 2016

I am getting below warn and error when stagemonitor is trying to enter data in the ES.

20 Dec 2016 19:59:28,845 WARN [I/O dispatcher 3] LoggingBulk:120 - [] - [] - Error in parsing responseBody as JSON:

<title>401 Unauthorized</title> This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

20 Dec 2016 19:59:28,845 ERROR [I/O dispatcher 3] ElasticsearchReporter:128 - [] - [] - BulkRequest to ElasticSearch had failures. Reason: 401 Unauthorized

This ES cluster needs username and password to use it.
But how to do give this through the properties file or any other config file?

@felixbarny
Copy link
Member

See #223
I'll try to release this tomorrow.

@felixbarny
Copy link
Member

Stagemonitor 0.31.0 is now available on maven central. Happy monitoring!

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

No branches or pull requests

2 participants