@version: 3.4 @include "scl.conf" options { threaded(yes); }; source s_local { # system(); internal(); }; destination d_local { file("/tmp/test.json" template("$(format-json --key json.* --rekey --shift 4 --add-prefix JSON --replace JSON.foo=foo --key cee.*)\n")); }; log { source(s_local); destination(d_local); };