What happens to Access Logs on the ProxySG appliance after I set up the Upload Client to send log files to an FTP Server?

book

Article ID: 168319

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

The ProxySG appliance has Access Logging enabled and is configured to send those files  to an FTP server by the Upload Client. Do I need to remove those access logs manually on the appliance after the file has been sent?  What happens if the FTP server stops accepting Access Logs from the appliance? 

Resolution

After you have configured and verified that access logs are being sent over FTP from the appliance to your FTP server, there is no further action to take on the proxy-side access logs. Those log files are automatically removed.   

In the event that your FTP server stops transferring log files from the appliance, the access logs remain on the appliance. They will not be deleted. Once the Upload Client is able to send access logs to the FTP server the appliance will remove the sent access logs. 

If your access logs are not being sent over to the FTP server, and you would like to start deleting them, you can do so by following the procedure below.
Note that it is not possible to delete single access log entries. You will be only able to delete the entire log entries (
such as main, or SSL, or P2P, etc.).

 Delete the current logs.

  1. Log in to the Command Line Interface (CLI).
  2. Enter enable mode and run the following commands:

    Note:  In this example, the SSL protocol is writing data to the SSL log. The commands are for deleting the access logs for the SSL protocol.

    ProxySG#config t

    ProxySG#(config)access-log
    ProxySG#(config access-log)edit log main
    ProxySG#(config log main)commands delete-logs
    ProxySG#(config log main)

  3. You can go to https://<ProxySG_IP_address>:8082/Accesslog/statistics to verify that the files are removed.