3 Replies Latest reply on Mar 21, 2018 9:35 AM by Matthew Ragland

    Get Job Log Items from a Type 2 NSH Script with 0 targets

    Matthew Ragland

      I am trying to obtain the log items from a type 2 NSH Script with 0 targets, here is my command:

       

      blcli_execute JobRun getLogItemsByJobRunId "${JOBKEY}" "${RUNID}"

       

      This command yields 0 results, I found this command in the unreleased section:

       

      getLogItemsOfRootByJobRun

       

      Which might be what I'm looking for, but I'm not sure what to put for the 4 other parameters:

       

      Variable Name
      Variable Type
      jobRunId Integer
      sortParametercom.bladelogic.om.infra.model.job.jobrun.LogItemSortParameter
      sortOrdercom.bladelogic.om.infra.shared.db.QuerySortOrder
      startIndexInteger
      endIndexInteger

       

       

       

      getLogItemsOfRootByJobRun