Influx measurement to track business_event

Need to know which influx measurement to track business_event like wlan1 is not available

Hi kelvinliu007,
For business_event or any other events, REST APIs are available (API doc will be updated soon)

  1. Use the below GET url to get the supported envent type:
    GET https:///es/api/es/v1/eventlist
  2. Subsequently, the enum value can be used to retrieve events for a time range in the following api:
    POST https:///es/api/es/v1/events?limit=20&offset=0
    Data can be retrieved with different filters, for example, for BUSINESS_EVENT(31) the below request json data can be used:
    {“deviceid”:[],“eventtype”:[31],“severity”:[],“tags”:[],“tstart”:1604905122,“tend”:1604993036}

Thanks,
Pronoy

1 Like