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

Add regex or key/value based filter option for array fields

    XMLWordPrintable

Details

    • 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

      User Problem

      Some integrations send fields to Opsgenie as arrays. These fields are limited to only filter using Contains, Contains Key, Contains Value, and Is Empty.

      This seems to exist with a few different integrations such as Splunk's Result Object field, Graylog's Event Field field, etc.

      Suggested Solutions

      Add option to integrations that send array fields to either filter using regex, or an additional field that allows for Key/Value Based filtering - similar to Opsgenie's Details and Details (Key/Value Based) fields:

      Current Workarounds

      Use the existing options available to filter; Contains, Contains Key, Contains Value, and Is Empty. 

      Extract each key/value field into the alert as an extra property (or another alert field):

      Then use an Alert policy to filter on where this is extracted after alert creation, and modify the alert following:

      Global Alert Policy
      Team Alert Policy

      Attachments

        1. image-2022-06-16-10-39-51-985.png
          178 kB
          Nick H
        2. image-2022-06-16-10-43-58-528.png
          164 kB
          Nick H
        3. image-2022-06-16-10-46-16-047.png
          133 kB
          Nick H
        4. image-2022-06-16-10-47-35-776.png
          179 kB
          Nick H

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nhaller Nick H
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: