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

    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 19 days ago

    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

    Posted 17 days ago

    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 16 days ago

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