[
https://issues.apache.org/jira/browse/FLUME-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701171#comment-14701171
]
dima levchenko commented on FLUME-2764:
---------------------------------------
hello,
i think this header can be added by Static Interceptor -
https://flume.apache.org/FlumeUserGuide.html#static-interceptor
of course this can work only if you have static path for this source.
actually exposing more properties of HTTPServletRequest seems nice.
please let me know if static interceptor does not work for you.
> HTTPSource saving client ip and some http-headers into event
> ------------------------------------------------------------
>
> Key: FLUME-2764
> URL: https://issues.apache.org/jira/browse/FLUME-2764
> Project: Flume
> Issue Type: Improvement
> Components: Sinks+Sources
> Reporter: dima levchenko
> Labels: features, newbie, patch
> Attachments: flume-2764-0.patch
>
>
> I plan to use flume as a receiver of events coming from javascript
> applications. For each event I would like to store an IP from which this
> event comes. Because flume can be behind some proxy, I also would like to be
> able to retrieve original IP from headers set by this proxy.
> this behavior seems pretty common for http components, so I would like to
> suggest an improvement for HTTPSource to dump remote ip, and/or some headers
> into event headers.
> thank you for comments :)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)