API Guide

Syslogs
Syslog messages received by SFD from switches.
Topics:
GET /syslogs/messages
GET /syslogs/messages/latest
GET /syslogs/messages
Retrieves syslog messages between the start and end timestamp.
API
GET /syslogs/messages
Description This API retrieves syslog messages between the start and end timestamp.
Parameters
Table 74. API parameters
Filter name Description
oid
string
(query)
If present, the Object ID acts as a filter.
start-time
integer ($int64)
(query)
Start time in epoch millisecond. The default value for
the start timestamp is set as (end-time - 24 hours).
end-time
integer ($int64)
(query)
End time in epoch millisecond. The default value for
the end timestamp is set as the current time.
max-messages
integer
(query)
Maximum number of messages to retrieve. By
default, all messages between the start and end
timestamps are returned.
filter
string
(query)
Matching phrase, accepts wildcards (*).
Responses 200 — Success or error response
{
"data": [
{
"oid": "2:51350862726037506",
"values": [
{
"timestamp": 1567213715328,
"message": "<37>1 2019-08-31T09:05:31.382925+00:00 sc2-t2-z9100-s1
audit 2967 - - Node.1-Unit.1:PRI [audit],
Dell EMC (OS10) USER_AUTH pid=2967 uid=0 auid=4294967295 ses=4294967295
msg='op=PAM:authentication
19
Syslogs 157