Re: [heka] Change heka config during runtime

2014-10-06 Thread ChenXiao
It really helps. Thank you! On Mon, Oct 6, 2014 at 3:39 PM, Dieter Plaetinck wrote: > On Mon, 06 Oct 2014 14:43:49 -0700 > Rob Miller wrote: > > > That's not ready for use, though. Simply reloading the config is easy > > enough. But in most cases Heka restarts so quickly, there's not much > > b

Re: [heka] Change heka config during runtime

2014-10-06 Thread Dieter Plaetinck
On Mon, 06 Oct 2014 14:43:49 -0700 Rob Miller wrote: > That's not ready for use, though. Simply reloading the config is easy > enough. But in most cases Heka restarts so quickly, there's not much > benefit to reloading over restarting if the open connections are all > closed and need to be ree

Re: [heka] Change heka config during runtime

2014-10-06 Thread Rob Miller
On 10/06/2014 01:49 PM, ChenXiao wrote: Hi, Greeting from Heka newbie! :D I'm using Heka for a couple of weeks and was wondering if I could load another hekad.toml file during Heka runtime. As mentioned, it's possible to point your Heka daemon at a config directory, instead of a single confi

Re: [heka] Change heka config during runtime

2014-10-06 Thread ChenXiao
Thank you for the reply. But what I actually need is to change plugin config(e.g. input plugin filter rule) during runtime to save server resource. On Mon, Oct 6, 2014 at 1:55 PM, John Veldboom wrote: > I'll bite on the first part about loading multiple config files. You can > load a whole direc

Re: [heka] Change heka config during runtime

2014-10-06 Thread John Veldboom
I'll bite on the first part about loading multiple config files. You can load a whole directory with the following: hekad --config=/foo/bar That would load all the .toml files in the directory /foo/bar Not sure about turning off/on plugins without stopping Heka though. On Mon, Oct 6, 2014 at 4:

[heka] Change heka config during runtime

2014-10-06 Thread ChenXiao
Hi, Greeting from Heka newbie! :D I'm using Heka for a couple of weeks and was wondering if I could load another hekad.toml file during Heka runtime. If it was impossible, could I choose to turn on/off a specific plugin during Heka runtime? (I looked at: https://hekad.readthedocs.org/en/v0.7.2/co