Re: [rsyslog] timezone

2022-06-15 Thread d.jagodic via rsyslog
Thank you for your reply. In the rawmsg at the input to the imuxsock, the time is correct 15:11:56 It is not clear to me why the time was changed to UTC (13:11:56)? Does this mean if there is no time zone id, the time changes to UTC? BR Drasko Am 15.06.2022 um 20:13 schrieb David Lang: I beli

Re: [rsyslog] timezone

2022-06-15 Thread David Lang via rsyslog
ibc and rsyslog suffers from it as they don't want to duplicate the complex timezone code in rsyslog. David Lang On Wed, 15 Jun 2022, d.jagodic via rsyslog wrote: Date: Wed, 15 Jun 2022 15:36:21 +0200 From: d.jagodic via rsyslog To: rsyslog@lists.adiscon.com Cc: d.jagodic Subject: [r

[rsyslog] timezone

2022-06-15 Thread d.jagodic via rsyslog
Hi, I have a problem with the time zone. rsyslog (8.2010) is configured: timezone(id="CET" offset="-02:00") $ActionFileDefaultTemplate S_Format template (name="S_Format" type="string" string="-----%timegenerated% %TIMESTAMP% [%syslogpriority%] %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp

Re: [rsyslog] rsyslog Timezone?

2020-11-04 Thread Rainer Gerhards via rsyslog
rwo.net/tmp/rsyslog.conf > > On Debian 10 > > Wilhelm Greiner > > -Ursprüngliche Nachricht- > Von: rsyslog [mailto:rsyslog-boun...@lists.adiscon.com] Im Auftrag von Rainer > Gerhards via rsyslog > Gesendet: Mittwoch, 4. November 2020 09:14 > An: rsyslog-users >

Re: [rsyslog] rsyslog Timezone?

2020-11-04 Thread Wilhelm Greiner via rsyslog
: Mittwoch, 4. November 2020 09:14 An: rsyslog-users Cc: Rainer Gerhards Betreff: Re: [rsyslog] rsyslog Timezone? 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 Lan

Re: [rsyslog] rsyslog Timezone?

2020-11-04 Thread Rainer Gerhards via rsyslog
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 > > To: rsyslog@lists.adiscon.com > > Cc: Wilhelm Greiner > > Subject: [rsyslog] rsyslog Timezone? > > > >

Re: [rsyslog] rsyslog Timezone?

2020-11-03 Thread David Lang via rsyslog
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 To: rsyslog@lists.adiscon.com Cc: Wilhelm Greiner Subject: [rsyslog] rsyslog Timezone? Hi

[rsyslog] rsyslog Timezone?

2020-11-03 Thread Wilhelm Greiner via rsyslog
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

Re: [rsyslog] Timezone Question

2019-04-16 Thread John Chivian via rsyslog
: Kelly McCubbin via rsyslog Subject: Re: [rsyslog] Timezone Question Ok, this is hokey, but I Kobayashi Maru'd it.  Figuring that the timereported time would always be correct per the actual event time in UTC and the timegenerated time would always have the local hour right, I ch

Re: [rsyslog] Timezone Question

2019-04-16 Thread David Lang via rsyslog
, and nobody else has started working to contribute code for it. David Lang On Tue, 16 Apr 2019, Kelly McCubbin wrote: Date: Tue, 16 Apr 2019 14:30:12 -0700 From: Kelly McCubbin To: David Lang Cc: Kelly McCubbin via rsyslog Subject: Re: [rsyslog] Timezone Question Ok, this is hokey, but I Koba

Re: [rsyslog] Timezone Question

2019-04-16 Thread Kelly McCubbin via rsyslog
u write logs to files that > have the > time as part of the filename, you will get 'odd' results when the time > moves > backwards. > > David Lang > > On Tue, 16 Apr 2019, Kelly McCubbin wrote: > > > Date: Tue, 16 Apr 2019 10:57:53 -0700 > > From:

Re: [rsyslog] Timezone Question

2019-04-16 Thread David Lang via rsyslog
t have the time as part of the filename, you will get 'odd' results when the time moves backwards. David Lang On Tue, 16 Apr 2019, Kelly McCubbin wrote: Date: Tue, 16 Apr 2019 10:57:53 -0700 From: Kelly McCubbin To: David Lang Cc: Kelly McCubbin via rsyslog Subject: Re: [rsyslo

Re: [rsyslog] Timezone Question

2019-04-16 Thread Kelly McCubbin via rsyslog
Tricky. What about the other way around; could we somehow force Rsyslog to assume that anything unlabeled with a time zone was, as a default, UTC? On Tue, Apr 16, 2019 at 10:39 AM David Lang wrote: > On Tue, 16 Apr 2019, Kelly McCubbin via rsyslog wrote: > > > I may have posed this before, but I

Re: [rsyslog] Timezone Question

2019-04-16 Thread David Lang via rsyslog
On Tue, 16 Apr 2019, Kelly McCubbin via rsyslog wrote: I may have posed this before, but I haven't found a solution yet; so I'm going to come at it from a different angle. We're processing syslogs from Cisco nextgen firewalls (FTDs). The firewall sends the logs with no time zone stamp, but the

[rsyslog] Timezone Question

2019-04-16 Thread Kelly McCubbin via rsyslog
I may have posed this before, but I haven't found a solution yet; so I'm going to come at it from a different angle. We're processing syslogs from Cisco nextgen firewalls (FTDs). The firewall sends the logs with no time zone stamp, but the time is in UTC. We correlate those logs on our Rsyslog ser