Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  MAS Manage Log Files

    Posted Wed March 20, 2024 01:17 PM

    Hi, How can I access the log files of the manage?



    ------------------------------
    Virendra Padwal
    ------------------------------


  • 2.  RE: MAS Manage Log Files

    Posted Wed March 20, 2024 01:19 PM

    Our VS Code extension supports directly streaming the log from MAS. 

     

    Documentation can be found here: https://marketplace.visualstudio.com/items?itemName=sharptree.maximo-script-deploy






  • 3.  RE: MAS Manage Log Files

    Posted Wed March 20, 2024 01:41 PM

    Hi Virendra,

    Please look into this conversation in IBM community: How to access manage logs using API url



    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------



  • 4.  RE: MAS Manage Log Files

    Posted Thu March 21, 2024 11:18 AM

    Hi Virendra,

    There are 2 ways to access logs.

    Logs gathering using OCP console:

    --------------------------------------------------

    Login to OCP Console -> Workloads -> Pods -> Select Manage pods (All, UI, MIF, REP, CRON) -> Click on logs tab. 

    Use logs API to access logs outside of the cluster:

    ------------------------------------------------------------------------

    To stream the contents of the systemout.log file for WebSphere Application Server Liberty, enter a URL in the following format in a browser or other API tool that you use for  REST API calls.

     Using Browser:

      https://<manage all bundle  url>/maximo/api/service/logging?action=wsmethod:streamLog&apikey=<apikey>

             

     Using POSTMAN:

      https://<manage all bundle url> /maximo/api/service/logging?action=wsmethod:streamLog

    Note: There is another way to get manage logs and store into S3 Object Storage using tools API



    ------------------------------
    Ramakrishnudu Kayala
    ------------------------------