IBM Support

How can log files be extracted from an InfoSphere Guardium Appliance?

Question & Answer


Question

When we need to get log files from an InfoSphere Guardium system, how can we extract them ?

Cause

You don't have access to the file system in an InfoSphere Guardium Appliance, so a dedicated process is required.

Answer

You can extract log files by using any of the following commands from the CLI command prompt

    • fileserver
    • diag

To use the fileserver command :-


    1. Logon to the InfoSphere Guardium appliance as a CLI account,

    2. Issue "fileserver" command.

    xxxx.ibm.com> fileserver

    Creating the index file.

    Starting the file server. You can find it at http://xxxx.ibm.com

    Press ENTER to stop the file server.


      NOTE : If you get a message like this with the fileserver command

        Unable to determine remote host to limit fileserver access to.

      You may need to supply the ip address of the machine you wish to open the browser on


        fileserver <ip_address>

    3. A web server will be launched on your collector, and you can access the log files directory from your browser.

    4. click "Sqlguard logs", you'll see the file list in the appliance's log directory. You can download any files by clicking on the file.


      [NOTE] The link at the top line which says /var/log/guard is the current page, and the link doesn't work. Please do not click the link. Other links to the files and directories work fine.

    To use the diag command :-

      1. Logon to the InfoSphere Guardium appliance as a CLI account,
      2. Issue "diag" command.
      3. From the diag command menu:
        1. Select "1 Output management" and press "OK".
        2. Select "3 Export recorded files" and press "OK".
        3. Choose the log files you need, and press "OK".
        4. Select "1 FTP" or "2 SCP" and press "OK".
        5. Input the host name which you want to upload to, and press "OK".
        6. Input the user name and press "OK".
        7. Input the password and press "OK". ****
        8. Input the destination path and press "OK".
        9. Check the information and press "OK". -> The file will be uploaded to the target system.
      4. Select "OK" to exit
      5. Select "3 Exit" and press "OK"
      6. Go to step 3a. when you need to upload another file. If not, proceed to the next step:
      7. Select "5 Exit to CLI" and press "OK".

      **** [NOTE] if "2 SCP". is chosen the destination path will be asked for before the password

[{"Product":{"code":"SSMPHH","label":"IBM Security Guardium"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"9.1;9.0;8.2;8.1;8.0.1;8.0","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21499434