HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

Log entries.

Get current log entries.

Query Params
integer
0 to 7

Log priority levels. Valid values 0-7. The format is either integer or integer range(e.g. 1..3). Single integer option will match events with equal or lower severity than this value. Integer range option will match all events with priority in the range.

string

Fetch logs since the time specified. Valid format: YYYY-MM-DD hh:mm:ss. Relative words like yesterday, today, now,1 day ago, 10 hours ago, 12 minutes ago are accepted. Words like hour ago, minute ago and day ago must precede with a positive integer and can be in plural form too

string

Fetch logs until the time specified. Valid format: YYYY-MM-DD hh:mm:ss. Relative words like yesterday, today, now,1 day ago, 10 hours ago, 12 minutes ago are accepted. Words like hour ago, minute ago and day ago must precede with a positive integer and can be in plural form too

integer
1 to 1000

Number of log entries in the response.Valid range is 1-1000

string

Exact log message that is expected to be matched.

string

A comma separated list of 128-bit message identifiers for recognizing certain message types. Use MESSAGE_ID 50c0fa81c2a545ec982a54293f1b1945 and 73d7a43eaf714f97bbdf2b251b21cade to query all of the events in the systemd journal. Default value is 50c0fa81c2a545ec982a54293f1b1945.

string

A comma separated list of event log identifiers.

string

A comma separated list of event log filter ip addresses.

string

A comma separated list of event log filter mac addresses.

string

The event category. For retrieving only the events in a specific category.

string

This is the module generating the log message. Use this field to filter logs by a specific module.

string

The NAE agent name. This field is only included in messages sent by NAE backend when an alert happens and indicates which agent generated that alert.

integer

The Process ID of the process that is generating the log entry.

integer

The Group ID of the process that is generating the log entry.

integer

The User ID of the process that is generating the log entry.

Headers
string

Entity-tag value for representation comparison (see RFC 7232 - Conditional Requests - section 3.2)

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

Language
Response
Click Try It! to start a request and see the response here!