Skip to main content
Element Software
A newer release of this product is available.

Getting logs from management services

Contributors netapp-pcarriga netapp-dbagwell

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.

  1. Open the REST API UI on the management node.

    • Beginning with management services 2.21.61:

    • For management services 2.20.69 or earlier:

  2. Select Authorize or any lock icon and complete the following:

    1. Enter the cluster user name and password.

    2. Enter the client ID as mnode-client if the value is not already populated.

    3. Select Authorize to begin a session.

    4. 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.

      Tip 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.

      Tip Use a reasonable since parameter when gathering logs of wider timespans.
    • service-name: Enter a service name.

      Tip 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.

  7. From the response body, select Download to save the log output.

Find more Information