![]() |
REST API
14
REST API for Luna Network HSMs
|
Gets information about the log.
Users with the following role privileges can perform this command:
The identifier of the log.
Valid values: lunalogs,clusterlogs,dbMigrationlogs,messages,secure,ntp,snmp.
Use: Required
JSON Schema:
Object type: string
Success
JSON Schema: Syslog Log
Unexpected Error
Log does not exist.
GET https://1.2.3.4:8443/api/lunasa/syslog/logs/lunalogs { }
{ "tail": "Last 10 lines of the log.", "severity": "debug", "tar": "/api/lunasa/syslog/logs/lunalogs/tar" }
Severity will be null for SNMP and NTP logs.