Accessing Maximo Manage logs by using Red Hat OpenShift web console

View the Maximo® Manage logs for Server or System.Out, MAXINST, Update database, User sync, Workspace operator, and Build from the Red Hat® OpenShift® console.

Procedure

  1. Log into the Red Hat OpenShift console.
  2. From the side navigation menu, click Workload > Pods menu.
  3. Select your Maximo Manage project name from the Project drop down.
  4. Select the pod from the list for which you want to view logs.
  5. Click the Logs tab to view the streaming log for that pod.
  6. To push the server logs to any S3 compatible object storage:
    1. Set up S3 credentials, by creating the following four environment variables in your Maximo Manage deployment, LOG_BUCKETNAME, LOG_S3ACCESSKEY, and LOG_S3ENDPOINTURL, and LOG_S3SECRETKEY.
    2. Create a log request, that is a POST request by using any HTTP REST Client, for example, download and use the Postman tool to create the log request.
      Request URL: http://manageserver:7001/maximo/oslc/service/logging?action=wsmethd:submitUploadRequest
      Note: Replace the Maximo Manage server in the URL with your Maximo Manage server host or IP address. A record for Maximo Manage is created in the LOGREQUESTDET table. The Maximo Manage records are removed by the LOGREQUESTCLEANUP cron task after the logs are posted to the object storage. The cron task must be activated manually, and then it runs once daily,
    3. Use the S3 browser to view the logs by using your S3 credentials.
      Each Maximo Manage server handles the latest log request. It compresses the log files in the log directory and uploads it to cloud object storage.

What to do next

You can install Red Hat OpenShift logging by deploying Red Hat OpenShift Elasticsearch and Red Hat OpenShift logging operators. For more information, see Installing Logging.