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

Ability to expand user macro in real time data export

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 7.0.3
    • Server (S)
    • None

      It appears when exporting historical data, and if the item name contains an user macro, then it does not automatically expand:

      grep test-agent /apps/zabbix/zabbix-export/*ndjson
      /apps/zabbix/zabbix-export/history-history-syncer-1.ndjson:{"host":{"host":"test-agent","name":"test-agent"},"groups":["Zabbix servers"],"item_tags":[{"tag":"Application","value":"Zabbix agent"}],"itemid":48195,"name":"Default agent config file {$DEFAULT_AGENT_CONF} exists","clock":1725930135,"ns":193820850,"value":1,"type":3} 

      It is worth saying that the macro does not expand while browsing the "Items" configuration page. This is by design so far (certain benefits in the dashboards while targeting an item name).

      Could a flag be implemented to support expanding macros in item names before streaming data to other systems?

            wiper Andris Zeila
            aigars.kadikis Aigars Kadikis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: