Log Trend
Without the Log Read role, you cannot enter the menu.
Home > Select Project > Log > Log Trend
In Log Trend, you can check the occurrence pattern of a specific error type through the number of logs classified by type, and check detailed log data by hour. A highlight feature allows you to quickly identify the desired logs. You can search the trend of logs collected by category.
The major terms are as follows:
- Category: Unit for log collection and inquiry
- Content: Log messages
- Search Key: It is generated through the log parser settings.
- Tag: Key to search the collected logs
Request Data
-
If the scroll reaches the bottom, the next data is retrieved.
-
In , specify the time and collection unit, category, of the log data to be searched.
-
If the category is changed, the logs that correspond to the selected category are searched. You can see the logs in bar chart and log table.
-
If you click a bar in bar chart, the logs are viewed that correspond to the time range of the bar.
-
You can see the total number of logs viewed from the upper left of the log table.
-
On the upper right of the log table, select the full screen icon, you can see the log and timestamp in the full screen.
-
In Side menu, you can see the logs filtered by tags. Up to two search keys can be selected, and multiple search values can be selected.
-
If the agent option is set, the log levels are collected and the colors for each log level appear as follows:
NoteSetting the agent options
-
The agent options are as follows:
# whatap.conf
weaving=log4j-2.17
weaving=logback-1.2.8 -
In Java agent 2.2.22 or later, it can be used when setting log4j-2.17 or logback-1.2.8 in the weaving setting. It is required to restart the agent.
-
The log level is determined based on the
level
andtype
among the parsed keywords. When there are keys parsed aslevel
andtype
, and the parsed values have FATAL, CRITICAL, ERROR, WARN, WARNING, and INFO, the log level color appears.
-
Checking the log content
What is content?
Content means the log messages.
- The first line of the log column is the log's parsed key and value, and the second line is the log's content.
- For each row (log) of the log table, the More button exists. If you select the More button, you can check the entire content of the log like .
Viewing the logs with a chart
-
You can click a desired time on the bar chart to view the logs in the period of time.
-
You can use the time selection option on the upper left of the log table under the bar chart to further refine your log search in the selected time zone:
-
1min: interval (spacing between bars on the chart)
-
Select a time option: Time zone whose time range is divided into 6 segments
-
Highlight
-
The highlight function is provided to easily identify the desired keywords.
-
In the input field on the right, enter the keyword to highlight. You can check the highlighted keywords like this.
Setting the table
-
Right of the area Table settings menu is available in Live Tail, Log search, and Log Trend.
-
If you select Table settings, the Add a Column and Table Content Setting options appear.
-
Column Settings
-
Add a Column: You can add a column to the table by selecting a tag.
-
Set column order: If a column is added, the column is added to the column sequence setting. Drag a desired column to change the column order.
- Table settings
-
Content display or not
- The checked items do not appear in the table. By default, both Log and Tag are all checked to display two items.
- If you deselect the Tag as follows, the log's Tag does not appear in the table.
-
Tag Management
- When you add a tag in the tag management list, the log tags are listed in the added order. The sequences of tags can be changed by dragging.
- If you disable an added tag, the disabled tag does not appear.
-
Live Tail, Log Search, and Log Trend menus within the same project share the table settings.