Actually I've just tried that with 0.9.2 and everything works fine so this is probably a bug. I'll file a github ticket for this shortly.
Regards, Timur On Wed, Jul 29, 2015 at 3:42 PM, Timur Batyrshin <[email protected]> wrote: > Hi, > > I'm running Heka 0.10.0.b0 on Ubuntu Precise and I can't make ProcessInput > work with long processes. > > I'm using the following config: > > [hekad] > maxprocs = 2 > > [DashboardOutput] > ticker_interval = 5 > > [debug_encoder] > type="RstEncoder" > > [LogOutput] > message_matcher = "TRUE" > encoder = "debug_encoder" > > [process] > type = "ProcessInput" > ticker_interval = 0 > splitter = "on_space" > stdout = true > stderr = false > > [process.command.0] > bin = "/usr/local/bin/ticker" > > [on_space] > type = "TokenSplitter" > delimiter = " " > > > > The "ticker" is a simple script which outputs increasing numbers delimited > by space. > > #!/bin/sh > x=1 > while true; do > echo -n "$x " > sleep 1 > x=$(($x + 1)) > done > > > > I would expect to see the messages of type ProcessInput emitted every > second but I see no such messages in the output. > > If I change the ticker script into a simple > > #!/bin/sh > > echo 1 > > and set ticker_interval = 0 in heka config all appears to be working fine. > > Do I miss something here or should I file a bug? > > Thanks, > Timur >
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

