System Online/Offline

The insight channel can also be used for the online/offline display in the dashboard. Simply push 1 or 0, depending on the online status of your system, to an insight for this purpose.

Push Event to LogHive

POST https://api.loghive.app/v1/insight/add

Request Body

NameTypeDescription

project*

String

Project name

insight*

String

Insight name (system name)

value*

Double/Number

Insight value (0 or 1 for online/offline state)

{
    // Response
}

Example dashboard entry for the online/offline state:

Last updated