Historical Event Import

If you already have historical event data, you can use it in LogHive. To do this, you can create a historical record by pushing the event with the Timestamp field.

Push Event to LogHive

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

Request Body

NameTypeDescription

project*

String

Project name

group*

String

Group name

event*

String

Event name / header

description

String

Event description

timestamp*

Long/Number

Unix Timestamp in Seconds

{
    // Response
}

If an error occurs while creating an event, you will receive an Error object in return:

{'StatusCode': 400, 'Message': 'missing group name'}

Last updated