Uploaded image for project: 'Opsgenie'
  1. Opsgenie
  2. OPSGENIE-152

LAMP - Make the command output to Stdout and only output the JSON/YAML rather than the LOG

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Component Needed
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Customer Problem

      The output of the opsgenie-lamp command is pointing to stderr instead of stdout, and its content is a log file that is not machine-readable instead of JSON/YAML.

      Possible Solutions

      Change the output to Stdout and only output the API response in JSON format.

      Workaround

      Suggesting using jq command or others to manipulate the output data for automation.

      GitHub

      Issue -> https://github.com/opsgenie/opsgenie-lamp/issues/47

      Pull request -> https://github.com/opsgenie/opsgenie-lamp/pull/45

      Attachments

        Activity

          People

            Unassigned Unassigned
            dlee4@atlassian.com Darryl Lee
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: