This article answers the following questions:
'tail'ProxySG Access Logs from the command line?
Access logs can be displayed from the command line by using the open source WGET utility. This software is available for Windows and Linux platforms and can be found at the following sites.
(Note: WGET is not Blue Coat software, nor is it supported by Blue Coat. This information is provided "as-is").
To display the main Access Log, run the following command (replacing the administrator password and proxy IP address as required) .
wget --http-user=admin --http-passwd=password https://10.10.1.1:8082/Accesslog/tail-f/main -q -O -
This displays access logs in real time, showing any updates as they come in.
It is possible to use a range of command line tools (Linux: grep, sed, awk; Windows: find) to filter the output and display only selected text. For example, to show only log entries for Google use the following command:
wget --http-user=admin --http-passwd=password https://10.10.1.1:8082/Accesslog/tail-f/main -q -O - | find "google"