In the zeuz control panel (ZCP), you can use the Logs page to filter, query, view, and export log entries generated from running payloads. The logs can help you understand the status of payloads.
- On the ZCP, click Logs on the left-hand panel.
- On the Logs page, you can use the following filters to display the log entries you’re interested in:
Image: Filter criteria for log entries on the Logs page of the ZCP.
The following table describes the filters available on the Logs page:
|Projects drop-down field||Select the environment for which you want to view payload logs.|
From date –> To date
|Select the date range for which you want to view log entries. The To date defaults to today’s date; you can select an earlier date.|
|MIN SEVERITY||Select the minimum severity level of log messages that you want to view:|
NOTE: All payload logs have a severity of ‘3-Info’.
Select one of the following values:
4-Warn: Levels 4, 5, and 6 only contain warnings and errors from the payload runner.
Logs for the selected severity and above are displayed. For example:
4-Warn returns all log entries with the following statuses:
NOTE: The following are not used currently:
Enter the payload ID for which you want to view logs.
If you don’t enter a payload ID, zeuz displays log entries for all payloads for the current environment. This may take longer to display due to a higher volume of records.
|Elasticsearch simple query field||Optional.|
Enter an Elasticsearch simple query to find and display matching Log Entries.
zeuz applies the query criteria in addition to the other filters.
Click SYNTAX DOCS to view online help for Elasticsearch syntax.
Returns all Log entries containing the string test.
Returns all Log entries that don’t contain the string test.
Changing any of the filter values instantly refreshes the list of Log Entries on the page.
zeuz displays log entries that match your filter criteria in the Log Entries section. You can change the display order of log entries; click TIME to switch between ascending and descending date/time order.
Image: Selection of logs entries based on the selected filter values.
You can view detailed information for a log entry; click on the log entry MESSAGE. The Log details panel appears to the right of the log entry and shows the following additional details:
Image: Log details panel for a selected log entry.
The Log details panel displays the following additional information for the selected log entry.
|Container||The ID of the container that is running the payload.|
|Subroutine||The name of the application component in the payload runner that generated the message.|
|Project ID||The ID of the project associated with the payload.|
|Environment ID||The ID of the environment associated with the project.|
|Allocation ID||The ID of the allocation that the payload is running in.|
|Payload ID||The ID of the payload that generated the log.|
|Machine ID||The ID of the machine that was running the payload.|
You can export the list of Log Entries to a CSV file for later use, as follows:
- In the ZCP, click Logs on the left-hand panel.
- Enter your search criteria to display the log entries you’re interested in. See Filter logs for more information. zeuz displays log entries matching your filter criteria in the Log Entries section.
- Click EXPORT CSV. When the file is ready, the button label changes to DOWNLOAD CSV; click to download the CSV file to your machine.
The file contains all the details from the Log Entries plus the Log details for each entry.
2021-sep-24 Page added with editorial review.