Viewing your app logs

Use the fileserver CLI command to allow connection to the Guardium® appliance from a web browser so that you can download your app files.

About this task

Attention: While the file server is running, Guardium logs and other product-specific files are available on the Guardium server without any requirement to log in. Turn off the file server as soon as you are done downloading your files.
Tip: The file server automatically stops after 800 seconds. To change the timeout value, use the CLI command: store timeout fileserver_session M, where M is the number of seconds, from 60 to 1200, after which the file server will time out.

Procedure

  1. Log in to the CLI.
  2. Enter the command fileserver <ip_address>, where IP is the IP address of the computer from which you want to open a connection to the file server. If no IP address is entered, only the computer from which you opened the connection to the CLI is permitted to connect to the file server. If you access the CLI in the physical Guardium appliance, the IP address is required.
    The system should respond:
    xxxx.ibm.com> fileserver Creating the index file. Starting the file server. You can find it at http://xxxx.ibm.comPress ENTER to stop the file server
    A web server launches on your collector, and you can access the log files directory from your browser.
  3. Click Sqlguard logs. You'll see the file list in the appliance's log directory. You can download any file by clicking on it. Do not click the link in the top line /var/log/guard, which is the current page. Other links to the files and directories work fine.