flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hari Shreedharan <hshreedha...@cloudera.com>
Subject Re: Code Sample for HTTP source for flume
Date Thu, 22 Aug 2013 21:49:47 GMT
Do you want a code sample for the handler? If yes, here you are: 

You need to implement this interface:


On Thursday, August 22, 2013 at 12:35 PM, Nikhil Mhatre wrote:

> Hi There,
> I am a hadoop noob and wanted to write data from Windows eventing logs to HDFS, setup
on a linux box. I want to use Flume to do the same. I want to understand how i can setup a
source on a Windows machine with the sink on a Linux box. 
> I was exploring the usage of the HTTP source to push data through. 
> Is there a code sample that explains how this can be done. I understand that i will need
to write a RestHandler to handle the code. 
> Thanks,
> Nikhil

View raw message