It's here: https://www.rsyslog.com/doc/v8-stable/configuration/timezone.html

But I think we need to see the config of the OP.

Rainer

El mié., 4 nov. 2020 a las 5:57, David Lang via rsyslog
(<[email protected]>) escribió:
>
> where did you find documentation on the timezone() parameter?
>
> David Lang
> On Tue, 3 Nov 2020, Wilhelm Greiner via rsyslog wrote:
>
> > Date: Tue, 3 Nov 2020 16:46:49 +0100
> > From: Wilhelm Greiner via rsyslog <[email protected]>
> > To: [email protected]
> > Cc: Wilhelm Greiner <[email protected]>
> > Subject: [rsyslog] rsyslog Timezone?
> >
> > Hi,
> >
> >
> >
> > im trying to set a CEST Timezon ion rsyslog generally,
> >
> > so the logs are on all Servers are in the same TZ,
> >
> > also when the local System Time is set to another TZ.
> >
> >
> >
> > In the config i have:
> >
> >
> >
> > timezone(id="UTC" offset="+00:00")
> >
> > $template mytime,"%timegenerated% %HOSTNAME% %syslogtag%%msg%\n"
> >
> > $ActionFileDefaultTemplate mytime
> >
> >
> >
> > But it wont work, it always use the Local System Time.
> >
> >
> >
> > The rsyslog Version is: 8.1901.0-1 (Debian 10)
> >
> >
> >
> > Wilhelm
> >
> >
> >
> > _______________________________________________
> > rsyslog mailing list
> > https://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.
> >
> _______________________________________________
> rsyslog mailing list
> https://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.
_______________________________________________
rsyslog mailing list
https://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