macro filters regsub and iregsub not working as documented

XMLWordPrintable

    • Type: Documentation task
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      https://www.zabbix.com/documentation/5.0/manual/config/macros/macro_functions?s[]=regsub

      documentation is not correct it states that:

       
      <macro> - the macro to customize (for example {ITEM.VALUE} or {#LLDMACRO})
       
       
       
      however if i use  {

      {HOST.HOST}

      .regsub("(.)pr|oe|on(.)",\1-\2)}
      on the tag it doesn't work
       
      so either de documentation is unclear or there is something not working
       
       
       
       

            Assignee:
            Zabbix Support Team
            Reporter:
            Patrik Uytterhoeven
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: