Audit Logs

The Audit tab lets you view and search audit logs for security and compliance purpose. These logs contain information of activities recorded from every ip address plugged to the node.

Searching Audit Logs

You can search for audit logs associated services installed in your cluster. These logs are displayed within the timeline you select.

To search for audit logs, do the following.

  1. From the left panel, you can apply the following criteria for searching a log file.
  • Services: Displays the list of services used in the integrated applications. These services display the time stamp at which the associated logs were last captured at.
  • Filters: You can filter with the following criteria. host.name, cmd, proto, allowed.

To search a host name or cmd from the available list, type the hostname or cmd in the respective search box. If the value exists, the list displays that value automatically.

  1. Click the search icon placed near the search text box at the top of the page.

Note:

  • You can alternatively type your search query manually and click the search icon.
  • The query string accepts only boolean operators.

The filtered logs are displayed in the log details pane below the search bar.

Log Details Pane

The log details pane displays the following details of a log file.

Column NameDescription
Log TimeThe time at which the log was captured.
ugiThe User Group Information code. This value is displayed along with the authorization level given to the UGI.
cmdThe command used at that particular time.
srcThe source path.
dstThe destination path.
permThe permissions given to the user, either read, write, or execute.
allowedThe permission status of an operation, true if operation allowed and false if operation not allowed.
IPThe IP address of the user performing the operation.
protoThe protocol used.
callerContextThe tracking id of the application.

Grouping Logs

You can group the audit logs by Trace, Severity, or Host. Click the Group By drop-down label in the top left corner of the log details panel and select a grouping criteria.

Searching by Phrase

To search a word or phrase in a log, do the following.

  1. Click Highlight Text in the top-right corner of the Audit screen.

A text box appears.

  1. You can input a string in the search box using either of the following ways.
  • Type the phrase or word in the text box and press the enter key.
    Note: Click Match Phrase to return results that contain the exact words of the string, in the same order as provided.
  • Select and copy the text from the log window that you want to search, and paste it in the search box and press the enter key.
    The written or pasted text if found, is highlighted in the log messages. You can also search multiple phrases or words.

Saving a Search Query

To save a search query, do the following.

  1. Type the query in the search box and click the icon.

A Save Search window appears.

  1. Type a name for the search query in the Name text box.

  2. Click Save.

The search query is saved.

Loading a Saved Query

To load a query from the search queries you saved, do the following.

  1. Click the Search button in the left side of the search box.
  2. From the available list of saved queries, click the query you want to load.

The query is loaded and associated logs are displayed.