Ad Widget

Collapse

REST-API returns only up to 100k records

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Severin Simko
    Junior Member
    • Nov 2018
    • 2

    #1

    REST-API returns only up to 100k records

    Hi there!

    I'm currently trying to fetch the history records for an item for last year ( 500k records), it seems like the REST-API is limited to 100k records that the API can return. I know of trends, but for what I'm trying to do (Availability Record) is not suitable because it only contains min,max,ave values. My API params are:

    $all_params2 = array(
    "history" => "3",
    # 'limit' => "100000",
    'output' => "extend",
    'filter' => array('hostid' => 'X','itemid' => 'Y'),
    );

    Do you know where to change this limit?
Working...