David,

On Mon, Nov 19, 2018 at 2:52 PM David Lang <[email protected]> wrote:

> On Mon, 19 Nov 2018, Mike Schleif wrote:
>
> > How can I do that?
>
> in your config for writing to mysql you specify a template to use, use
> that same
> template to write to a file
>
> old syntax
>
> /var/log/foo_file;bar_template
>
> new syntax
>
> action(type="omfile" filename="foo_file" template="bar_template")
>

I'm trying to do this; but, the only occurrence of the word "template" in
our conf is:
# Use default timestamp format
module(load="builtin:omfile" template="RSYSLOG_TraditionalFileFormat")

How ought I modify this?

~ Mike
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to