-
Notifications
You must be signed in to change notification settings - Fork 67
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
Use the new Elasticsearch client #26
Conversation
Failing on Node 12: https://travis-ci.org/pinojs/pino-elasticsearch/jobs/541274020 |
I saw that, but the test is passing on my machine. I fear is a timing issue. |
Now CI is green. Unfortunately, Travis may cause this flaky tests from time to time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a nit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
As titled.
This pr also removes the aws configuration, since the package has not been updated to support the new client.
It introduces two new cli options:
node
: the URL where Elasticsearch is runninges-version
: the major version of Elasticsearch you are using (needed only if ≤7)It removes
host
,port
,aws-credentials
.The minimum version of Node.js required is v8.