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

_bulk api call not compatible with ES 6.2 #24

Open
dr3s opened this issue Apr 23, 2018 · 1 comment
Open

_bulk api call not compatible with ES 6.2 #24

dr3s opened this issue Apr 23, 2018 · 1 comment

Comments

@dr3s
Copy link

dr3s commented Apr 23, 2018

I can't say if this is a bug because I don't really know the intent of the code. It seems that _bulk is being used in order to send multiple events to ES.

One thing I noticed is that the endpoint used is not _bulk for the configured index but at the ES app root. The index endpoint is preferred: /{index}/_bulk or {index}/{type}/_bulk instead of /_bulk

\r\n is being used in the payload which is not allowed except for delimiting records.

It could be that a recent ES version changed the format but the docs don't specify a required version. The payload seems all wrong for the bulk API.

@alhardy
Copy link
Collaborator

alhardy commented Apr 23, 2018

There are signaficant changes in ES 6, more discussion here.

Sorry, docs should specify the supported version, I'll have a look at that.

At the moment I don't have capacity to look into ES 6. PRs very welcomed.

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

No branches or pull requests

2 participants