Collecting logs automatically
System logs can be collected automatically and uploaded to an HTTP Server or an SFTP server.
Procedure
- On the Settings tab, navigate to Support > Logs > Log Collection.
-
Provide the following information, depending upon the backup server type.
Backup Server Actions IBM Log Server Automatic log collection is not supported. SFTP Provide valid SFTP server connection details:
- Host name
- Path
- User name
All of these fields must be entered.
Select an SSH key algorithm to use (ED25519, ECDSA, RSA). ED25519 is recommended but other algorithms are supported if the FTP server cannot support ED25519.
If the SSH public key is used to authenticate log transfer, then the Password is optional.
The IBM Cloud Object Storage Managerâ„¢ validates the SFTP credentials before the selected devices start collecting logs.
HTTP Provide valid HTTP server connection details:
- Required
-
- Host name (for example,
192.168.14.63orfe00:d7::1orlogs.company.com).Note: Do not includehttp://orhttps://. - Path (for example, /s3/vault)
- Host name (for example,
- Optional
-
- Check the SSL/TLS check box to use HTTPS.
- Check the Use Custom Port check box (then
type in the port number) to set a different port than the defaults.
- The default HTTP port is 80.
- The default HTTPS port is 443.
- Check the Use authentication check box if
necessary.
- If it is checked, type values into the Username and Password fields.
- Check HTTP Proxy check box.
- If checked, enter values in the following fields:
- Proxy Hostname
- Proxy Port
- Check the Use authentication check
box if necessary.
- If it is checked, type values into the Proxy Username and Proxy Password fields.
- If checked, enter values in the following fields:
-
Enable Automatic Log Collection and select the collection
period.
Note: Select the wanted logs to minimize excess network traffic. Log files can be large. Selecting a smaller time range limits the file size and speeds up the operation.