You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by Lars Sjöström <la...@radicore.se> on 2013/10/06 15:12:48 UTC

python log handler

Hello fellow Flume users!

I like to announce a python log handler to send events to flume.

https://github.com/lsjostro/flumelogger

can be installed using pip installer as well.

$ pip install flumelogger

Have fun!

Cheers,
Lars

Re: python log handler

Posted by Lars Sjöström <la...@radicore.se>.
The python log handler now has support for the upstream thrift flume-ng.
https://github.com/lsjostro/flumelogger

Cheers,
Lars


2013/10/6 Lars Sjöström <la...@radicore.se>

> I see that we use the legacy thrift in 1.4.. so it will only work with OG
> as Harri stated.
>
> When we are ready to update I will get NG thrift working. If anyone
> interested and like to contribute NG code I happily accept PRs :-)
>
> cheers,
> Lars
>
> On Oct 6, 2013, at 6:07 PM, Hari Shreedharan <hs...@cloudera.com>
> wrote:
>
> Hi Lars,
>
> Is this for Flume OG (0.9.x) or NG (1.x)? If this is for Flume 0.9.x,
> please be aware that that version of Flume is no longer developed. Instead
> Flume 1.x is what is developed and supported. You can find the source code
> here: https://github.com/apache/flume/tree/trunk, and the thrift IDL for
> the current version of Flume:
> https://github.com/apache/flume/blob/trunk/flume-ng-sdk/src/main/thrift/flume.thriftwhich can be used to develop a similar logger. for Flume NG.
>
>
> Thanks,
> Hari
>
>
> On Sun, Oct 6, 2013 at 6:12 AM, Lars Sjöström <la...@radicore.se> wrote:
>
>> Hello fellow Flume users!
>>
>> I like to announce a python log handler to send events to flume.
>>
>> https://github.com/lsjostro/flumelogger
>>
>> can be installed using pip installer as well.
>>
>> $ pip install flumelogger
>>
>> Have fun!
>>
>> Cheers,
>> Lars
>>
>
>
>


-- 
Lars Sjöström
Senior Consultant / Owner
Radicore AB

Mobile: +46 (0)703 021502
Email: lars@radicore.se
Web: http://www.radicore.se

Re: python log handler

Posted by Lars Sjöström <la...@radicore.se>.
I see that we use the legacy thrift in 1.4.. so it will only work with OG as Harri stated.

When we are ready to update I will get NG thrift working. If anyone interested and like to contribute NG code I happily accept PRs :-)

cheers,
Lars

On Oct 6, 2013, at 6:07 PM, Hari Shreedharan <hs...@cloudera.com> wrote:

> Hi Lars,
> 
> Is this for Flume OG (0.9.x) or NG (1.x)? If this is for Flume 0.9.x, please be aware that that version of Flume is no longer developed. Instead Flume 1.x is what is developed and supported. You can find the source code here: https://github.com/apache/flume/tree/trunk, and the thrift IDL for the current version of Flume: https://github.com/apache/flume/blob/trunk/flume-ng-sdk/src/main/thrift/flume.thrift which can be used to develop a similar logger. for Flume NG.
> 
> 
> Thanks,
> Hari
> 
> 
> On Sun, Oct 6, 2013 at 6:12 AM, Lars Sjöström <la...@radicore.se> wrote:
> Hello fellow Flume users!
> 
> I like to announce a python log handler to send events to flume.
> 
> https://github.com/lsjostro/flumelogger
> 
> can be installed using pip installer as well.
> 
> $ pip install flumelogger
> 
> Have fun!
> 
> Cheers,
> Lars
> 


Re: python log handler

Posted by Lars Sjöström <la...@radicore.se>.
Thanks Harri for the feedback! Its already working against flume-ng (1.4) but I'll regenerate the py-files from the flume master source to stay current. 

cheers.

On Oct 6, 2013, at 6:07 PM, Hari Shreedharan <hs...@cloudera.com> wrote:

> Hi Lars,
> 
> Is this for Flume OG (0.9.x) or NG (1.x)? If this is for Flume 0.9.x, please be aware that that version of Flume is no longer developed. Instead Flume 1.x is what is developed and supported. You can find the source code here: https://github.com/apache/flume/tree/trunk, and the thrift IDL for the current version of Flume: https://github.com/apache/flume/blob/trunk/flume-ng-sdk/src/main/thrift/flume.thrift which can be used to develop a similar logger. for Flume NG.
> 
> 
> Thanks,
> Hari
> 
> 
> On Sun, Oct 6, 2013 at 6:12 AM, Lars Sjöström <la...@radicore.se> wrote:
> Hello fellow Flume users!
> 
> I like to announce a python log handler to send events to flume.
> 
> https://github.com/lsjostro/flumelogger
> 
> can be installed using pip installer as well.
> 
> $ pip install flumelogger
> 
> Have fun!
> 
> Cheers,
> Lars
> 


Re: python log handler

Posted by Hari Shreedharan <hs...@cloudera.com>.
Hi Lars,

Is this for Flume OG (0.9.x) or NG (1.x)? If this is for Flume 0.9.x,
please be aware that that version of Flume is no longer developed. Instead
Flume 1.x is what is developed and supported. You can find the source code
here: https://github.com/apache/flume/tree/trunk, and the thrift IDL for
the current version of Flume:
https://github.com/apache/flume/blob/trunk/flume-ng-sdk/src/main/thrift/flume.thriftwhich
can be used to develop a similar logger. for Flume NG.


Thanks,
Hari


On Sun, Oct 6, 2013 at 6:12 AM, Lars Sjöström <la...@radicore.se> wrote:

> Hello fellow Flume users!
>
> I like to announce a python log handler to send events to flume.
>
> https://github.com/lsjostro/flumelogger
>
> can be installed using pip installer as well.
>
> $ pip install flumelogger
>
> Have fun!
>
> Cheers,
> Lars
>