The graylog API consider requests with undef parameters values as 0. So we'd better ensure that the timeframe value is valid when the option is set
* add plugin graylog restapi