Logs

Description

Retrieves NEO Log files info and logs data either for controller, or any provider

Request URL

/neo/app/logs

Main Operations

  • Get Log Files Info

  • Get Specific Log File Content

Warning

Each log file has a unique Identifier and will be used via REST API to retrieve its content.

Description

Retrieves all log files info, log files info consist of a unique ID, log file location and log file name

Request URL

GET /neo/app/logs

Request Data

N/A

Response:

Copy
Copied!
            

{ "< unique_log_ID>": { "directory": "/opt/neo/app/providers/monitor/log", "component": "SNMP Monitoring", "name": "events.log"  }, "<unique_log_ID>": { "directory": "/opt/neo/app/providers/ethdisc/log", "component": "Ethernet Discovery", "name": "netservice.log"  }, "<unique_log_ID>": { "directory": "/opt/neo/controller/log", "component": "Controller", "name": "events.log"  } … }

Description

Retrieves data content from a log file specified by log ID in request URL

Request URL

GET /neo/app/logs/<log_ID>

Response Content Type

text/html; charset=utf-8

Request Data

N/A

Response

Response will contain all data content in the specified log file in request URL

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