How do I delete access logs on ProxySG?


<< Back to Knowledge Search

Solution

Overview

You'll need to log into the CLI, go into enable mode and then conf t.

Blue Coat SG>enable
Enable Password:
Blue Coat SG#conf t
Enter configuration commands, one per line.  End with CTRL-Z.
Blue Coat SG#(config)
Blue Coat SG#(config)access-log
Blue Coat SG#(config access-log)
Blue Coat SG#(config access-log)edit log ?
 <log-name>
Blue Coat SG#(config access-log)edit log main
Blue Coat SG#(config log main)commands delete
  ok
Blue Coat SG#(config log main)

 

If your ProxySG is constantly uploading small files, or the ProxySG has large access logs that have not been uploaded, please see 000007708 to understand why this is happening.  Simply deleting the access logs may stop the behavior, but the problem will return unless it is addressed.

To view the log facility that is currently configured on Proxy, you can use the "view log" command.
See below sample which is showing log "main":


Blue Coat SG#(config access-log)view log
Settings:
Log name: main
Format name: bcreportermain_v1
Description: Use for protocols having no specific default log
  Log uploading is disabled
  Logs upload as gzip file
  Wait 60 seconds between server connection attempts
  Log encryption disabled
  Log signing disabled
  FTP client:
    Filename format: SG_%f_%c_%l%m%d%H%M%S.log
    Filename uses utc time
    Use PASV: yes
    Use secure connections: no
  Primary host site:
    Host:
    Port: 21
    Path:
    Username:
    Password: ************
  Alternate host site:
    Host:
    Port: 21
    Path:
    Username:
    Password: ************
  HTTP client:
    Filename format: SG_%f_%c_%l%m%d%H%M%S.log
    Filename uses utc time
    Use secure connections: no
  Primary host site:
    Host:
    Port: 80
    Path:
    Username:
    Password: ************
  Alternate host site:
    Host:
    Port: 80
    Path:
    Username:
    Password: ************
  Custom client:
    Primary server:  :69
    Alternate server:  :69
    Use secure connections: no
  Bluecoat Reporter client:
    Primary server:  :9081
    Alternate server:  :9081
  Websense client:
    Primary server:  :55805
    Alternate server:  :55805
  Log uploading:
    Log is uploaded daily at 02:00
  No bandwidth class has been set for uploads
  A keep-alive log packet is sent every 300 seconds
  Start an early upload when log reaches 24161 megabytes
  Remote log file rotation by size is disabled

Cause
Resolution
Workaround
Additional Information
This is often times needed when the access log becomes full.
Bug Number
InQuira Doc IdFAQ465
Attachment

Article Feedback

Hide Properties
First Published      10/01/2014
Last Modified      03/17/2015
Last Published      03/17/2015
Article Audience
Product      ProxySG
Software      SGOS 4, SGOS 5
Topic      Access Logging, Configuration / WUI / CLI
Article Number      000010282
Summary     
Was this helpful?
Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat