Chapters Querying and exporting logs

Guide 11

Querying and exporting logs

Query members’ connection records to applications and the back office’s sign-in and activity records, and export them as CSV files.

Updated

Intended for: users with administrator permissions.

There are two kinds of log under “Log” in the Merak Console left menu:

LogWhat it records
Connection LogWhen a member connected to which application, and from which device
Audit LogWho did what and when, for example signing in, creating an organization, editing a member

A. View the connection log

Step 1 Open the connection log

In your browser, go to https://console.merak.kunansec.com/connection-log, or click “Log” → “Connection Log” on the left. The list columns are: created time, closed time, member, device, application.

Step 2 View one record’s details

Click the “View details” icon in the record’s “Actions” column to open the “Connection Detail” window, which shows the duration, opened/closed time, member, device, application, client IP and route path. Click “Close” when done.

Step 3 Export

Click “Export” at the top right; the window asks “Export N rows matching the current filter to a CSV file?”. Click “Confirm” to download, or “Cancel” not to export.

B. Query the audit log

Step 1 Open the audit log

Click “Log” → “Audit Log” on the left. The list columns are: created time, operator, title, content, identity (such as administrator or system).

Step 2 Open the filter

Click “Filter” at the top right to expand the query conditions.

Step 3 Set the conditions

Fill in or choose conditions as needed, for example choose “Action” under “Type”. The available conditions are below; after setting them click “Search”. Click “Reset” to clear them, or “Save as default” to keep conditions you use often.

ConditionDescription
TypeLogin, Action, Error
Status, Action, Resource TypeDrop-down menus
Start Time, End TimeThe time range to query
IP Address, Request ID, Resource ID, Status Code, PathEnter a keyword

Step 4 Export

Click “Export” at the top right; the system exports the data matching the current filter. In the confirmation window, click “Confirm” to download the CSV, or “Cancel” not to export.

[Tip] The number of rows exported follows the current filter. To export a specific period or type of record, set the filter first, then export.