NVIDIA NEO REST API Guide v2.7.20
NVIDIA NEO REST API Guide v2.7.20

On This Page

Syslog

Description

Enables configuring Syslog on the machine. Remote/Local syslog servers are supported

Request URL

GET: neo/app/settings/syslog

Request Data

N/A

Response:

Copy
Copied!
            

{  "web_info_log":{ "active": false, "severity": "WARNING" },  "event_log":{ "active": false, "severity": "ERROR" },  "destination": [{ "ip": "10.209.36.135", "port": "514", "protocol" : "udp"   "severity": "INFO"   "mode": false, }{}],,  "controller_log":{ "active": false, "severity": "ERROR" } }

Description

Enables configuring Syslog on the machine. Remote/Local syslog servers are supported

Request URL

PUT neo/app/settings/syslog

Request Data:

Copy
Copied!
            

{ "web_info_log":{ "active": false, "severity": "WARNING" }, "event_log":{ "active": false, "severity": "ERROR" }, "destination":[{ "ip": "10.209.36.135", "port": "514", "protocol" : "tcp", "severity": "INFO" }],{}a, "mode": true, "controller_log":{ "active": false, "severity": "ERROR" } }

Warning

Note the following about the “destination” attribute:

  • Destination may be empty ([]). If it is empty, local syslog will be configured. If it is filled with IP and port info, remote syslog with the assigned remote IP and port number will be configured.

  • Destination attribute in now a list of destinations (instead of dictionary).

  • The maximum number of destinations is 5.

  • Each destination will have an optional 'protocol' attribute (udp or tcp).

  • If protocol is not supplied, udp will be the default.

  • Each syslog server can have its own severity. The severity indicates the minimal log severity that can be sent to this syslog.

© Copyright 2023, NVIDIA. Last updated on Nov 16, 2023.