Represents the syslog view. Syslogs are standard method for logging messages such as system events in an IP network. This API only supports Syslogs with severities 0, 1, 2 (Emergency, Alert, Critical)
Since Product Version: 1.2
Resource URL
/webacs/api/v1/data/SyslogsResponse Parameters
Type | Attribute Name | Description |
---|---|---|
String |
description |
Free form description of syslog. |
String |
deviceIpAddress |
IP address that is the source of the syslog. |
String |
deviceName |
|
String |
facility |
Facility is one information field associated with a syslog message. It is defined by the syslog protocol. It provides a information relating to which part of a system the message originated from. |
String |
instanceUuid |
This is a uuid for this instance. |
String |
mnemonics |
This is a device-specific code that uniquely identifies the message. |
Integer |
severity |
Defines the severity of the syslog: 0 - Emergency, 1 - Alert, 2 - Critical |
Date |
timestamp |
Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.
Sample XML Payload
https://192.168.115.187/webacs/api/v1/data/Syslogs/42
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <queryResponse rootUrl="https://192.168.115.187/webacs/api/v1/data" requestUrl="https://192.168.115.187/webacs/api/v1/data/Syslogs/42" responseType="getEntity"> <entity url="https://192.168.115.187/webacs/api/v1/data/Syslogs/15" type="Syslogs" dtoType="syslogsDTO"> <syslogsDTO uuid="String value" id="15" displayName="String value"> <description>String value</description> <deviceIpAddress>String value</deviceIpAddress> <deviceName>String value</deviceName> <facility>String value</facility> <mnemonics>String value</mnemonics> <severity>15</severity> <timestamp>2015-10-19T09:55:00.395-07:00</timestamp> </syslogsDTO> </entity> </queryResponse>
Sample JSON Payload
https://192.168.115.187/webacs/api/v1/data/Syslogs/42.json
{ "queryResponse" : { "@rootUrl" : "https : \/\/192.168.115.187\/webacs\/api\/v1\/data", "@requestUrl" : "https : \/\/192.168.115.187\/webacs\/api\/v1\/data\/Syslogs\/42", "@responseType" : "getEntity", "entity" : { "@url" : "https : \/\/192.168.115.187\/webacs\/api\/v1\/data\/Syslogs\/15", "@type" : "Syslogs", "@dtoType" : "syslogsDTO", "syslogsDTO" : { "@uuid" : "String value", "@id" : "15", "@displayName" : "String value", "description" : "String value", "deviceIpAddress" : "String value", "deviceName" : "String value", "facility" : "String value", "mnemonics" : "String value", "severity" : 15, "timestamp" : "2015-10-19T09 : 55 : 00.396-07 : 00" } } } }