Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5369

Macro like {EVENT.TAGS} that expands to JSON format

XMLWordPrintable

    • Sprint 62 (Mar 2020)
    • 0.25

      It would be nice if there were a macro like {EVENT.TAGS} that exports the data in JSON format.  I've managed to work around this by creating all of my tags with quoted names and values and then being crafty in the output specification:   "eventTags" : [\{\{EVENT.TAGS}}]

      What I've done is fragile, though as forgetting to quote the tag name and value will break the code consuming the data output.

            asestakovs Aleksejs Sestakovs
            LarryDorman Larry Dorman
            Team C
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: