Hi Ram,
The Logs from the Manage URLs can be viewed from browser directly using both OSLC/API approach. However one need to make sure the following:
- STREAMLOG access under security group
- API KEY in case of accessing via API
- Logs can be viewed from UI/Manage Server bundle URL.. Mea/Report/Cron won't give any info.
However, if the intention is to store logs, we can do that as well with or without S3 bucket [need to setup S3 first from system properties & few config's].
Hope this helps!
-------------------------
Dhruva Kumar M
--------------------------
------------------------------
Dhruva Kumar Maccha
------------------------------
Original Message:
Sent: Mon September 11, 2023 02:19 AM
From: Ramakrishnudu Kayala
Subject: How to access manage logs using API url
Hi Kevin,
You will get URLs from Networking ->Routes of OpenShift based on your configurations for All, UI, MIF, REP and CRON clusters. Just we need to replace that URL in the below mentioned sample URL.
All Bundle: https://<manage all bundle url>/maximo/api/service/logging?action=wsmethod:streamLog&apikey=<apikey>
UI: https://<manage UI bundle url>/maximo/api/service/logging?action=wsmethod:streamLog&apikey=<apikey>
MIF(MEA): https://<manage MIF bundle url>/maximo/api/service/logging?action=wsmethod:streamLog&apikey=<apikey>
REP : https://<manage Report bundle url>/maximo/api/service/logging?action=wsmethod:streamLog&apikey=<apikey>
CRON: https://<manage Cron bundle url>/maximo/api/service/logging?action=wsmethod:streamLog&apikey=<apikey>
------------------------------
Ramakrishnudu Kayala
Original Message:
Sent: Wed September 06, 2023 04:02 PM
From: Kevin Frazier
Subject: How to access manage logs using API url
Hi Ramakrishnudu, do you have a sample URL for streaming directly from a specific pod like the MEA pod?
------------------------------
Kevin Frazier
Original Message:
Sent: Mon April 17, 2023 12:31 PM
From: Ramakrishnudu Kayala
Subject: How to access manage logs using API url
Hi Manoj,
Thank you for response.
We have utilized Tools API to access, generate logs and able to access stream logs.
Stream logs access URL:
https://<manage all bundle url>/maximo/api/service/logging?action=wsmethod:streamLog&apikey=<apikey>
------------------------------
Ramakrishnudu Kayala
Original Message:
Sent: Mon April 17, 2023 10:43 AM
From: Manoj Sawant
Subject: How to access manage logs using API url
Hi Ramakrishnudu
I don't believe there is API option to access/stream Maximo manage logs(apart from tools). You can view logs OpenShift console or upload to S3 object storage or configure third party option like Elasticsearch.
Useful links:
https://www.ibm.com/docs/en/maximo-manage/continuous-delivery?topic=upgrade-maximo-manage-logging
https://www.ibm.com/support/pages/how-use-new-tools-api-maximo-application-suite
------------------------------
Manoj Sawant
Original Message:
Sent: Wed April 12, 2023 12:13 PM
From: Ramakrishnudu Kayala
Subject: How to access manage logs using API url
Hi All,
We have option to use tools API access tools logs(integrity checker, updatedb logs...) using postman. For manage, we need to generate using POST but it will store in s3 storage.
Do we have option to access manage logs using postman with api URLs?
------------------------------
Ramakrishnudu Kayala
------------------------------