API history.get for Elasticsearch do not support countOutput

XMLWordPrintable

    • Sprint candidates

      Steps to reproduce:

      1. Configure zabbix.conf.php
      2. Create item with value stored in Elasticsearch(value_type text). Same issue will be observed for value type: log, char
      3. Do API request below
        {
          "jsonrpc": "2.0",
          "method": "history.get",
          "params": {
              "history": 4,
              "itemids": [<value type text itemid>],
              "countOutput": true,
          },
          "id": 1
        }
        

      Result:
      API return array of criteria matching rows.
      Expected:
      API return count of criteria matching rows, same as API request to trend.get.

            Assignee:
            Gregory Chalenko
            Reporter:
            Gregory Chalenko
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 0.5h
                0.5h