The syslog server can’t show the time correctly

Latest reply: Apr 6, 2017 00:23:14 1361 2 0 0

<?xml:namespace prefix = "v" /><?xml:namespace prefix = "o" />S5700 connects to third party syslog server, then syslog server will records the logs of S5700. After he configures the command ‘clock timezone UTC add 03:00:00 on switch, it can’t show the time correctly. For example, the current time is 21:11, while logs time is 08:35.

b9e3046bb18a4d2899f45f270c68de7e

  • x
  • convention:

debugger
Created Apr 5, 2017 03:19:03 Helpful(0) Helpful(0)

after you change the timezone of the switch , you need to add a keyword "local-time " after the info-center configuration as following:
info-center loghost x.x.x.x local-time

Rating

Number of participants 1E-coins +10 Experience +2 Collapse Reasons
Lemon Lemon + 2
Lemon Lemon + 10

View All scores

  • x
  • convention:

ms.america
Created Apr 6, 2017 00:23:14 Helpful(0) Helpful(0)

1)   In fact, when device send the syslog, it use UTC time. for example, the current time is 15:11, while the UTC time is 12:12, so the log time shows 12:12, then it needs syslog server to transfer the time to clock time zone , while if the syslog server can’t transfer, then it will show as the following :

92b4ff6035644e3baea57f569526e3be(2) If the syslog server can’t transfer the time zone , we can use the command ‘info-center loghost x.x.x.x local-time’ to solve this problem .



  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login