Getting logs from management services
You can retrieve logs from the services running on the management node using the
REST API. You can pull logs from all public services or specify specific services and use
query parameters to better define the return results.
What you'll need
• Your cluster version is running NetApp Element software 11.3 or later.
• You have deployed a management node running version 11.3 or later.
Steps
1. Open the REST API UI on the management node:
https://[managementNodeIP]/mnode
2. Select Authorize or any lock icon and complete the following:
a. Enter the cluster user name and password.
b. Enter the client ID as mnode-client if the value is not already populated.
c. Select Authorize to begin a session.
d. Close the window.
3. Select GET /logs.
4. Select Try it out.
5. Specify the following parameters:
◦ Lines: Enter the number of lines you want the log to return. This parameter is an integer that defaults
to 1000.
◦ since: Adds a ISO-8601 timestamp for the service logs starting point.
◦ service-name: Enter a service name.
◦ stopped: Set to
6. Select Execute.
Find more Information
•
NetApp Element Plug-in for vCenter Server
•
NetApp HCI Resources Page
Avoid requesting the entire history of log content by setting Lines to 0.
since
Use a reasonable
GET /services
Use the
true
to retrieve logs from stopped services.
parameter when gathering logs of wider timespans.
command to list services on the management node.
Need help?
Do you have a question about the HCI and is the answer not in the manual?