[heka] ProcessInput retries

2014-10-09 Thread Kieren Hynd
Hi! ProcessInput and ProcessDirectoryInput both have a "retries" config in the docs, but i'm having trouble making that work - if the "bin" defined in the "command"section exits, nothing is restarted. Here's an example of my config: [ProcessInput] parser_type = "token" stdout = true stderr = tru

Re: [heka] ProcessInput retries

2014-10-09 Thread Michael Trinkala
Set ticker_interval to 30 * ticker_interval (uint): The number of seconds to wait between each run of command . Defaults to 15. A ticker_interval of 0 indicates that the command is run only once, useful for long running processes. Retries applies to the plugin itself and not the command

Re: [heka] ProcessInput retries

2014-10-09 Thread Kieren Hynd
Ah, OK - that works better. I'd set ticker_interval to 0 as foo.sh would normally be a long-running process (i was expecting to end up with multiple copies running if i set it to something else). My confusion about the retries came from this bit of the doc: "In the event the program returns a no

Re: [heka] ProcessInput retries

2014-10-09 Thread Rob Miller
On 10/09/2014 10:39 AM, Kieren Hynd wrote: Ah, OK - that works better. I'd set ticker_interval to 0 as foo.sh would normally be a long-running process (i was expecting to end up with multiple copies running if i set it to something else). Yup, this is correct. My confusion about the retries