11-05-2012 01:04 AM - edited 03-11-2019 05:18 PM
Dear All,
My ASA is sync with my NTP server and showing correct time as we are in +5 GMT zone but in syslog ASA showing wrong time.
Kindly suggest regarding the same as soon as possible.
Regards,
Arshad
11-05-2012 01:34 AM
That problem can be caused my many problems. Where do you see the wrong time? on the ASA or on the syslog-server? Is your timezone set correctly? You should find a config similar to this in your config (with your local parameters):
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
If the problem is on the syslog-server, then make sure that the ASA sends a timestamp:
logging timestamp
And your syslog-server should also sync to ntp.
--
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni
11-05-2012 08:57 PM
Dear Karsten,
ASA has sync with NTP source and showing corrent time when i issue show clock command. Below are for your reference.
ASA(config)#clock timezone GMT 5
ASA(config)#logging enable
ASA(config)#logging timestamp
ASA# sh clock
09:49:01.363 GMT Tue Nov 6 2012
I have configured emailing filter for certain syslog ids in ASA so when i get email alerts from ASA its showing wrong timing like ( if corrent time is 9:49am then it showing 2:49pm).
Regards,
Arshad Ahmed
11-11-2012 10:34 PM
Any one kindly reply.
11-12-2012 06:05 PM
What version is your ASA?
It seems that the ASA has incorrectly added +5 to the timestamp of the syslogs.
06-05-2020 11:33 AM
Seems to be a feature instead of a bug because it still does this in 9.14.1
clock timezone CST -6
clock summer-time CDT recurring
...
logging timestamp
...
sho clock
13:29:19.731 CDT Fri Jun 5 2020
Jun 05 2020 18:29:30: %ASA-4-106023:...
Jun 05 2020 18:29:30: %ASA-4-106023: ...
Jun 05 2020 18:29:30: %ASA-4-313005: ...
etc
06-07-2020 07:05 AM - edited 06-08-2020 07:45 PM
Deleted.
06-07-2020 09:06 AM
06-07-2020 11:18 PM - edited 06-08-2020 07:45 PM
Deleted
06-08-2020 06:10 AM
Did you bother to read the post - I'm CDT, -6 UTC and no matter what the settings, my buffer logs are +5 hours from CDT. If it's noon on my sundial, the logs are timestamped 5PM. Every other piece of equipment is buffer logging correctly. Only the ASA is off.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide