[
https://issues.apache.org/jira/browse/FLUME-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17614521#comment-17614521
]
Ralph Goers commented on FLUME-2758:
------------------------------------
The Flume Elasticsearch sink is no longer supported as it was never upgraded to
a supported version. It has been moved to its own Flume Search Git repository.
Should it be revived it most likely will be substantially modified since it is
so out of date.
> Shield Support for Elasticsearch Sink
> -------------------------------------
>
> Key: FLUME-2758
> URL: https://issues.apache.org/jira/browse/FLUME-2758
> Project: Flume
> Issue Type: New Feature
> Affects Versions: 1.6.0
> Reporter: Jared Ramsey
> Assignee: Dario Lombardo
> Priority: Major
> Labels: client, elasticsearch, rest, shield
> Attachments: FLUME-2758-0.patch
>
>
> The existing Elasticsearch sink does not support Elasticsearch clusters that
> have been secured with Shield. (See https://www.elastic.co/products/shield)
> All that would be required to add this support is allowing users to configure
> the username and password on the sink in their flume.conf and then setting
> the username and password on the HTTP header like so:
> UsernamePasswordCredentials creds = new
> UsernamePasswordCredentials("username", "password");
> HttpPost httpRequest = new HttpPost(url);
> httpRequest.addHeader(new BasicScheme().authenticate(creds, httpRequest));
> I've already hard-coded a quick fix for myself that works, but it would be
> awesome to see this in a future release and/or patch.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]