Does anybody know if there is working directory variable available which
can be used inside a  configuration file.

For example, I would like to be able to use a lua script that is relative
to my configuration file.

hekad -config hekad.toml

[json_decoder]

type = "SandboxDecoder"

script_type = "lua"

filename = "./json_transform.lua"

I can use %ENV[PWD] but this isn't necessarily available if I run heka from
within a docker application:

docker run -d -v /work/hekad.toml:/etc/hekad/hekad.toml -v
/work/json_transform.lua:/etc/hekad/json_transform.lua --workdir
/etc/hekad  frosquin/hekad

Any advice on this would be gratefully appreciated?

Thanks
Alex
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to