REST API  14
REST API for Luna Network HSMs
PUT /api/lunasa/syslog/logs/{logid}

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

Sets all log configurations.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • operator

Parameters

logid

The identifier of the log.
Valid values: lunalogs,clusterlogs,dbMigrationlogs,messages,secure,ntp,snmp.

Use: Required

JSON Schema:

   Object
   type: string

severity

The severity of the log (emergency,alert,critical,crit,error,err,warning,warn,notice,info,debug,all).

Use: Required

JSON Schema:

   Object
   type: string

Responses

204

Success

400

Unexpected Error

404

Log does not exist.

Example Request

    PUT
    https://1.2.3.4:8443/api/lunasa/syslog/logs/lunalogs
     {
        "severity" : "all"
     }

Example Response

{}