REST API  4.0.0
REST API for SafeNet Network HSMs
GET /api/lunasa/syslog/logs/{logid}

GET /api/lunasa/syslog/logs/{logid}

Gets information about the log.

Parameters

logid

The identifier of the log.

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

Success

JSON Schema: Syslog Log

400

Unexpected Error

404

Log does not exist.

Example Request

    GET
    https://1.2.3.4:8443/api/lunasa/syslog/logs/lunalogs
{
}

Example Response

{
    "tail": "Last 10 lines of the log.", 
    "severity": "debug"
}

Notes

Severity will be null for SNMP and NTP logs.