BIG-IP versions 10.x
In BIG-IP version 10.0.x, you must use the bigpipe syslog command to create custom syslog configurations. For BIG-IP version 10.1.0 through 10.2.2, you can use the tmsh command or the bigpipe syslog command to create customsyslog configurations.
Adding a remote syslog server using the tmsh command
To configure the BIG-IP system to send all messages to a remote server using the tmsh command for versions 10.1.0 through 10.2.2, perform the following procedure:
- Log in to the command line.
- To add a single remote syslog server, use the following command syntax: tmsh modify sys syslog remote-servers add {{host XXXXX remote-port XXXXX}}
- For example:
tmsh modify sys syslog remote-servers add {server1.net {host 192.168.1.15 remote-port 514 }}
To add multiple remote syslog servers, use the following command syntax: tmsh modify sys syslog remote-servers add {{host XXX remote-port XXXX}{host XXXXX remote-port XXXXXX}}
For example:
tmsh modify sys syslog remote-servers add {server1.net {host 192.168.1.15 remote-port 514} server2.net {host 192.168.1.20 remote-port 514}}
- To save the configuration, type the following command:tmsh save sys config
Remove a remote syslog server using the tmsh command
To configure the BIG-IP system to send all messages to a remote server using the tmsh command for versions 10.1.0 through 10.2.2, perform the following procedure:
- Log in to the command line.
- To add a single remote syslog server, use the following command syntax: tmsh modify sys syslog remote-servers delete {name}
- For example:
tmsh modify sys syslog remote-servers delete {server1.net}
To add multiple remote syslog servers, use the following command syntax: tmsh modify sys syslog remote-servers delete {name}{name}
For example:
tmsh modify sys syslog remote-servers add {server1.net} {server2.net}
- To save the configuration, type the following command:tmsh save sys config