Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Support Elasticsearch Auth #23

Open
Foolius opened this issue Apr 16, 2014 · 0 comments
Open

Support Elasticsearch Auth #23

Foolius opened this issue Apr 16, 2014 · 0 comments

Comments

@Foolius
Copy link

Foolius commented Apr 16, 2014

I need stream2es to support the ES Auth plugin ( https://github.com/codelibs/elasticsearch-auth ) and want to program this myself, but I'm not sure how I should do it.
I think one possibility would be to add username and password parameters.

Another more generic solution is to add only one parameter and with this parameter one can expand the json payload.

For example, when you add the option --additional "token":"uineqlxvonrtueaiobud" the json which gets send looks like this: {[old json], "token":"uineqlxvonrtueaiobud"}

Which one of these solutions do you prefer?

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

1 participant