Re: [heka] Logstreamer fails if log directory does not exist

2016-01-06 Thread Tony Cesaro
This sounds like something that could easily be solved with a configuration management solution that builds Heka's configuration from templates based on logic defined within it. You could check whether the host being deployed to has the directory you are wanting to check for the existence of and

Re: [heka] Logstreamer fails if log directory does not exist

2016-01-04 Thread Nathan Williams
this might be a good case for a systemd path unit or inotify if you're not on a systemd-based system; rather than having heka spin up the input, you could spin up a heka instance when the target files exist On Mon, Jan 4, 2016 at 3:09 PM, Rob Miller wrote: > I could maybe

[heka] Logstreamer fails if log directory does not exist

2016-01-01 Thread Eric LEMOINE
Hi First of all thank you for Heka! The logstreamer plugin fails to initialize with "lstat /var/log/foo: no such file or directory" if the log directory doesn't exist. In my case I would like the logstreamer plugin to do nothing if the log directory doesn't exist. And I'd like it to "wake up"