Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21063

API queries using filters for fields containing id

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 5.0.23, 6.0.4
    • API (A), Documentation (D)

      We are using id as numbers. But as potentially it can big numbers so, FE is working with them as strings
      In some cases, we have ids as additional properties for some objects. For example r_eventid or c_eventid in an event object
      If you want to filter on these properties, it would be logical to use filter
      But if you read the documentation - for text and string types search should be used.
      But none of them actually work =) Usually it's not a problem as we have specific Parameters for them (eventids,objectids, etc...)
      First:
      If we can get these properties, let's make it possible to use them for filtering?
      Second:
      It is necessary to explicitly deal with the type for the *id and explicitly indicate if some properties cannot be used for filtering

            zabbix.dev Zabbix Development Team
            elina.kuzyutkina Elina Kuzyutkina (Inactive)
            Votes:
            8 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: