10-31-2017 09:09 AM - edited 03-08-2019 12:34 PM
Hi,
I configured my syslog server and I reiceive the body of the message, but I don't have the host (Attachments1.jpg).
Here the command in the cisco:
logging origin-id string PAR-COT-SR0 logging facility syslog logging host xx.xx.xx.xx
Any idea ?
thanks.
10-31-2017 12:32 PM
Hello,
you need to define the source interface, e.g.:
Router(config)#logging source-interface Loopback0
10-31-2017 01:14 PM
Hello
What do you mean by "you dont have the Host" ?
res
Paul
11-02-2017 01:48 AM
Hi,
When I said "I don't have the host", I wanted to say, I don't have the name or the IP of the concerning host (see my attachment and I hope you understand).
Thanks.
11-02-2017 02:27 AM
Hello,
Router(config)#logging source-interface Loopback0
didn't make a difference ?
Which syslog server are you using ?
11-02-2017 02:45 AM
Hi,
I added the command but unfortunately the result is the same: I don't have the information with the host.
For information, when I enter the command: "show log", I have this configuration:
099308: Nov 2 10:15:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/5, changed state to up
About the syslog server, I use << Visual Syslog Server >>.
Thanks for your help.
11-02-2017 03:29 AM
Hello
Is 192.168.50.1 the syslog server or is this an interface on your switch/rtr and if its the latter then what is the syslog server ip address and can you ping it from your switch/rtr?
res
Paul
11-02-2017 03:48 AM
192.168.50.1 is the interface of the switch
And yes i can ping from and to switch <-> syslog.
I receive all informations concerning the log except the host.
11-02-2017 04:13 AM
It appears to be in the message body based on your attachment, so I would thing it is a SYSLOG server issue, not parsing the pre-: as host-id.
11-02-2017 05:21 AM
I agree. Visual Syslog is a free program, and those usually have limitations.
Under the Main Tab of 'Setup' there is an option to "Write all received messages to a file 'raw' for diagnostic purposes". If you enable that, check the raw file for any indication of the source IP address being at least sent to your server...
11-02-2017 06:07 AM
Ok, I activated the raw file and I don't have nothing for the host.
But when i see screenshot about the program, the host column is entered.
I don't understand where is the problem because when I see screenshot about the software all columns works.
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