[ 
https://issues.apache.org/jira/browse/FLUME-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dima levchenko updated FLUME-2764:
----------------------------------
    Attachment: flume-2764-1.patch

added new configuration values (for example we post onto 
http://server.com/one?two) :

* url - to dump url (http://server.com/one)
* uri - to dump uri (/one)
* query - to dump query (two)

this info is taken directly from HTTPServletRequest. maybe it is possible to 
add some query parsing capabilities, but i think there can be configured some 
regexp-based interceptor to perform this action.

> 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, flume-2764-1.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)

Reply via email to