I suspect that in general, ProcessInput + TokenSplitter don't work well together with 0.10. Have you looked at the issue #1620 [1]? BR, Simon
[1] https://github.com/mozilla-services/heka/issues/1620 On Wed, Jul 29, 2015 at 2:46 PM, Timur Batyrshin <[email protected]> wrote: > 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 > >
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

