Skip to main content

Log Trend

Note

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 number-s, 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 number-s bar chart and number-s log table.

  • If you click a bar in number-s bar chart, the logs are viewed that correspond to the time range of the bar.

  • number-s You can see the total number of logs viewed from the upper left of the log table.

  • On the upper right of the number-s log table, select the 전체 화면 아이콘 full screen icon, you can see the log and timestamp in the full screen.

  • number-s 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:

    Log level color

    Note

    Setting 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 and type among the parsed keywords. When there are keys parsed as level and type, and the parsed values have FATAL, CRITICAL, ERROR, WARN, WARNING, and INFO, the log level color appears.

    Note

    You can change the column width by dragging an edge of the log table column.

Checking the log content

Note

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.
  • number-s For each row (log) of the log table, the Icon More button exists. If you select the Icon More button, you can check the entire content of the log like number-s.

Viewing the logs with a chart

Log trends bar chart

  • You can click a icon desired time on the bar chart to view the logs in the period of time.

  • You can use the b icon 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.

  • number-s In the input field on the right, enter the keyword to highlight. You can check the highlighted keywords like this.

    Log highlight

Setting the table

Column settings

Right of the area, select column icon Column settings. You can add columns or set order.

  • Adding columns

    You can add columns to the table by selecting tags. If you unselect the log column, you cannot see Log view detail setting. Be sure to select at least one column.

  • Setting the column order

    When you add a column, the column is added to Display columns. Drag a desired column to change the order of the columns.

Log view detail setting

Log Table Content Setting

On the right of , select Configuration icon Log view detail setting. content and Tag are all checked and two items are also displayed. Be sure to select any of content and Tag.

Unchecked items are not displayed in the table. If you deselect the Tag as follows, the log's Tag does not appear in the table.

Log table tag invisible

When you add tags in the Tag management list, the tags in the log are listed in the order you added. You can change the order of the tags by dragging them. f you disable an added tag, the disabled tag does not appear.

Note
  • Column settings and Log view detail setting can be used in Live Tail, Log Search, and Log Trend.

  • In the same project, the Live Tail, Log Search, and Log Trend menus share Column settings and Log view detail setting.