03-10-2022 06:21 AM
Hi all,
How can I do to suppress the double timestamp of the syslogs messages sent by my ASR9906 routers?
I tried to disable the command via 'no service timestamps log...' without success.
Mar 10 11:12:46 55930 <171> HOSTNAME RP/0/RSP1/CPU0:Mar 10 11:12:46.015 CET: smartlicserver[178]: %LICENSE-SMART_LIC-3-COMM_XXX...........
This double timestamp format gives problems to our monitoring team.
Thanks in advance.
03-10-2022 06:41 AM
is this syslog on device or syslog server ? can you post syslog config
03-10-2022 07:22 AM
On the router I see only one timestamp ('show logg') but when the syslog messages reaches the server (tcpdump), I see two timestamps.
logging trap informational
logging events level informational
logging buffered xxxxxx
logging buffered informational
logging facility local7
logging A.B.C.D vrf mgmt severity info port default
logging hostnameprefix XYZ
Thanks
03-10-2022 09:17 AM
but when the syslog messages reaches the server (tcpdump),
This system ammending that additional information, i have seen my syslog server does.
03-10-2022 12:03 PM
Thanks for your answer @balaji.bandi
I did a test on a virtual mockup between two routers, one IOS-XRv and one IOS.
The IOS-XRv has the IOS IP address as a syslog server...when I did a traffic capture the syslog packet contained the two timestamps.... There was no real 'server' in between
03-10-2022 12:44 PM
So you logs sending to IOS router, that where you see this Logs with dual stamp ?
03-10-2022 10:46 AM
Hello,
I recall having seen this before. The second 'timestamp' is not actually a timestamp, but part of the actual message. Hence there is no way to get rid of it.
03-10-2022 11:59 AM
Thanks for your comment, and the first timestamp where does it come from? Can it be removed?
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