![NetApp HCI Manual Download Page 147](http://html1.mh-extra.com/html/netapp/hci/hci_manual_1669957147.webp)
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.
Avoid requesting the entire history of log content by setting Lines to 0.
◦
since
: Adds a ISO-8601 timestamp for the service logs starting point.
Use a reasonable
since
parameter when gathering logs of wider timespans.
◦
service-name
: Enter a service name.
Use the
GET /services
command to list services on the management node.
◦
stopped
: Set to
true
to retrieve logs from stopped services.
6. Select
Execute
.
Find more Information
•
NetApp Element Plug-in for vCenter Server
•
Summary of Contents for HCI
Page 95: ...NetApp HCI Resources page...
Page 308: ......