Downloading Access Logs Directly From The Edge SWG (ProxySG)
book
Article ID: 166230
calendar_today
Updated On:
Products
ProxySG Software - SGOS
Issue/Introduction
The access log is stored as a series of zipped objects that you need to download separately. Once you have downloaded the objects, you then need to delete the entries in the access log and the log should upload its content normally. The following procedure shows how to do this.
Resolution
First, browse to Statistics > Advanced > Access Log > Show list of all logs > Show log "logname"
You will see a series of objects. Right click on each object and do a download as and save the object.
One object will currently be open and you won't be able to download it. To get this object disable access logging.
Restart the Proxy (this will make sure that SGOS does not have the file open and you will be able to download the object).
Right click on this object and do a download as.
At this point you want to delete this access log so that normally access logging will take place. Deleting an access log can only be done through the Command Line Interface (CLI), so you need to use SSH or the serial interface. The following commands will delete the log entries.
SG510 Series#config t Enter configuration commands, one per line. End with CTRL-Z. SG510 Series#(config)access-log SG510 Series#(config access-log)edit log "logname"
SG510 Series#(config log main)commands delete-logs ok