syslog over tcp and define management IP as source
Hello
I used following method to add syslog server ip with tcp port. can anyone help me how to define source IP (management IP) to send logs to syslog server.
https://support.f5.com/csp/article/K13080
Configuring the BIG-IP system to log to the remote syslog server using TCP protocol Impact of procedure: Performing the following procedure should not have a negative impact on your system.
1.Log in to tmsh by typing the following command: tmsh
2.To log to the remote syslog server using the TCP protocol, use the following command syntax:
modify /sys syslog include "destination remote_server {tcp(\"\" port (514));};filter f_alllogs {level (debug...emerg);};log source(local);filter(f_alllogs);destination(remote_server);};"
For example, to log to the remote syslog server 172.28.68.42, type the following command:
modify /sys syslog include "destination remote_server {tcp(\"172.28.68.42/" port (514));};filter f_alllogs {level (debug...emerg);};log {source(local);filter(f_alllogs);destination(remote_server);};"