Maximo

 View Only
  • 1.  How to access manage logs using API url

    Posted Thu April 13, 2023 09:36 AM

    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
    ------------------------------


  • 2.  RE: How to access manage logs using API url

    Posted Mon April 17, 2023 10:44 AM

    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
    ------------------------------



  • 3.  RE: How to access manage logs using API url

    Posted Mon April 17, 2023 03:52 PM

    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
    ------------------------------



  • 4.  RE: How to access manage logs using API url

    IBM Champion
    Posted Mon April 17, 2023 04:02 PM

    Our VS Code extension and NPM package will live stream the log to your workstation directly.

     

    https://marketplace.visualstudio.com/items?itemName=sharptree.maximo-script-deploy

     

     

    https://www.npmjs.com/package/maximo-dev-tools

     

    They are both free and open source.  Feel free to reach out if you have any questions.

     

    Jason

     

    Jason VenHuizen

    CEO

     

    +1-206-669-6430 | sharptree.io

     






  • 5.  RE: How to access manage logs using API url

    Posted Fri September 08, 2023 10:28 AM

    Hi Ramakrishnudu, do you have a sample URL for streaming directly from a specific pod like the MEA pod?



    ------------------------------
    Kevin Frazier
    ------------------------------



  • 6.  RE: How to access manage logs using API url

    IBM Champion
    Posted Mon September 11, 2023 02:06 AM

    streamLog option works with every type of Pod so You just need to point the URL to Your MEA pod. Actual link will depend on Your environment config and You can find it in the Networking > Routes section of OpenShift



    ------------------------------
    Witold Wierzchowski
    ------------------------------



  • 7.  RE: How to access manage logs using API url

    Posted Mon September 11, 2023 10:30 AM

    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
    ------------------------------



  • 8.  RE: How to access manage logs using API url

    Posted 7 days ago

    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:

    1. STREAMLOG access under security group
    2. API KEY in case of accessing via API
    3. 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
    ------------------------------