Product Documentation

Using Logs to Monitor Operations and Events

May 04, 2017

Use audit and task logs to monitor the operations performed on the Management Service and on the NetScaler instances. You can also use the events log to track all events for tasks performed on the Management Service and the XenServer.

Viewing the audit logs

All operations performed by using the Management Service are logged in the appliance database. Use audit logs to view the operations that a Management Service user has performed, the date and time of each operation, and the success or failure status of the operation. You can also sort the details by user, operation, audit time, status, and so on by clicking the appropriate column heading.

Pagination is supported in the Audit Log pane. Select the number of records to display on a page. By default, 25 records are displayed on a page.

To view audit logs

  1. In the navigation pane, expand System, and then click Audit.
  2. In the Audit Log pane, you can view the following details.
    • User Name

      The Management Service user who has performed the operation.

    • IP Address

      The IP address of the system on which the operation was performed.

    • Port

      The port at which the system was running when the operation was performed.

    • Resource Type

      The type of resource used to perform the operation, such as xen_vpx_image and login.

    • Resource Name

      The name of the resource used to perform the operation, such as vpx_image_name and the user name used to log in.

    • Audit Time

      The time when the audit log was generated.

    • Operation

      The task that was performed, such as add, delete, and log out.

    • Status

      The status of the audit, such as Success or Failed.

    • Message

      A message describing the cause of failure if the operation has failed and status of the task, such as Done, if the operation was successful.

  3. To sort the logs by a particular field, click the heading of the column.

Viewing Task Logs

Use task logs to view and track tasks, such as upgrading instances and installing SSL certificates, that are executed by the Management Service on the NetScaler instances. The task log lets you view whether a task is in progress or has failed or has succeeded.

Pagination is supported in the Task Log pane. Select the number of records to display on a page. By default, 25 records are displayed on a page.

To view the task log

  1. In the navigation pane, expand Diagnostics, and then click Task Log.

  2. In the Task Log pane, you can view the following details.

    • Name

      The name of the task that is being executed or has already been executed.

    • Status

      The status of the task, such as In progress, Completed, or Failed.

    • Executed By

      The Management Service user who has performed the operation.

    • Start Time

      The time at which the task started.

    • End Time

      The time at which the task ended.

Viewing Task Device Logs

Use task device logs to view and track tasks being performed on each NetScaler instance. The task device log lets you view whether a task is in progress or has failed or has succeeded. It also displays the IP address of the instance on which the task is performed.

To view the task device log

  1. In the navigation pane, expand Diagnostics, and then click Task Log.
  2. In the Task Log pane, double-click the task to view the task device details.
  3. In the Task Device Log pane, to sort the logs by a particular field, click the heading of the column.

Viewing Task Command Logs

Use task command logs to view the status of each command of a task executed on a NetScaler instance. The task command log lets you view whether a command has been successfully executed or has failed. It also displays the command that is executed and the reason why a command has failed.

To view the task command log

  1. In the navigation pane, expand Diagnostics, and then click Task Log.
  2. In the Task Log pane, double-click the task to view the task device details.
  3. In the Task Device Log pane, double-click the task to view the task command details.
  4. In the Task Command Log pane, to sort the logs by a particular field, click the heading of the column.

Viewing Events

Use the Events pane in the Management Service user interface to monitor the events generated by the Management Service for tasks performed on the Management Service.

To view the events

  1. On the Monitoring tab, in the left pane, expand Monitoring, and then click Events.
  2. In the Events pane, you can view the following details.
    • Severity

      The severity of an event, which could be critical, major, minor, clear, and information.

    • Source

      The IP address on which the event is generated.

    • Date

      The date when the event is generated.

    • Category

      The category of event, such as PolicyFailed and DeviceConfigChange.

    • Message

      The message describing the event.

  3. To sort the events by a particular field, click the heading of the column.