Technical Articles
F5 SMEs share good practice.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner
KevinGallaugher
F5 Employee
F5 Employee

Introduction

This use case allows you to configure the BIG-IP SSL Orchestrator to send detailed logging to a remote Syslog server. Logging is an important aspect of SSL Orchestrator operation and troubleshooting. The volume of data created by debug logging is significant and should ideally be sent off-box for analysis and archiving. The following instructions demonstrate how to configure Remote Logging.

Logging Level

Logging verbosity is configured in the BIG-IP Configuration Utility. Under SSL Orchestrator select Configuration > Logs > Settings.

0EM1T000002KQsJ.png

Logging verbosity is set to Error by default. Change this to Debug for the Per-Request Policy and SSL Orchestrator Generic. Click Save when done.

0EM1T000002KQsK.png

Note: For simplified logging that combines each connection flow into a single summary log, only enable SSL Orchestrator Generic at level Informational of higher. These log settings are Global and can be over ridden by per-Topology logging settings.

Create a Pool for the Syslog server

Under Local Traffic select Pools. 

0EM1T000002KQsL.png

Click Create.

0EM1T000002KQsM.png

Give it a name, Remote_syslog_pool in this example. Give the Node a Name, syslog_server in this example. Enter the IP address of the syslog server and port 514 for the Service Port. Click Add.

Note: 514 is the common port for syslogd but may be different in your environment.

0EM1T000002KQsN.png

If desired, add a Health Monitor like gateway_icmp. Use the << to move it from Available to Active.

0EM1T000002KQsO.png

Click Finished when done.

0EM1T000002KQsP.png

Create Logging Destination

Under SSL Orchestrator select Configuration > Logs > System.

0EM1T000002KQsQ.png

Then select Configuration > Log Destinations.

0EM1T000002KQsR.png

Click Create.

0EM1T000002KQsS.png

Give it a name, remote_syslog in this example. Select Remote High-Speed Log as the Type.

0EM1T000002KQsT.png

Note: The Remote High-Speed Log (HSL) uses the data plane while Remote Syslog uses the management plane. HSL logging is preferred due to better, sustained performance. For more information on HSL click here.

For Pool Name select the Pool created previously, Remote_syslog_pool in this example.

0EM1T000002KQsU.png

Set the Protocol to UDP or TCP (typically UDP). Click Finished.

0EM1T000002KQsV.png

Configure the Log Publisher

From the same screen click Configuration > Log Publishers.

0EM1T000003BJXw.png

Click on sys-sslo-publisher to edit it.

0EM1T000002KQsX.png

Select the local-syslog and click the >> to move it to Available.

0EM1T000002KQsY.png

Select the remote_syslog and click << to move it to Selected.

0EM1T000002KQsZ.png

Click Update when done.

0EM1T000002KQsa.png

The configuration is now complete. Detailed logs should now be sent to your Syslog server.

Verify it’s Working

Check the Syslog Pool Statistics. From the BIG-IP Configuration Utility select Local Traffic > Pools.

0EM1T000002KQsb.png

Select Statistics.

0EM1T000002KQsc.png

If it is working you should see a non-zero value for Bits and Packets.

0EM1T000002KQsd.png

Check your Syslog Server to verify it is receiving logs from SSL Orchestrator. In this example I’m running a packet capture on the Syslog Server to check that packets are being sent from the BIG-IP to the Syslog Server.

0EM1T000002KQse.png

In the example above you can see that the BIG-IP (10.0.0.1) is sending packets to the Syslog Server (10.0.0.2) on UDP port 514. You can also see the details of the Syslog message in the circle.

Note: BIG-IP SSL Orchestrator needs a Self IP Address in order to send detailed logging to the Syslog Server. If deployed in Layer 2 mode you will need to configure a new Self IP Address. You cannot assign an IP address to an interface in an L2 vwire group. If deployed in Layer 3 mode you can use an existing Self IP Address as long as it can reach the Syslog Server. Ideally though, the Syslog traffic should not be on the same interface(s) as client/server traffic. In this example BIG-IP is configured with the Self IP 10.0.0.1 which is on the same subnet as the Syslog Server at IP address 10.0.0.2.

0EM1T000002KQsf.png

Summary

In this SSL Orchestrator Use Case you learned how to enable detailed logging on BIG-IP and have the logs sent to a remote Syslog Server.


Version history
Last update:
‎10-Feb-2021 07:54
Updated by:
Contributors