The page has been translated by Gen AI.

log

In ServiceWatch, you can set threshold criteria for the metrics to be monitored and create and manage log groups so that an alarm notification is generated when the specified conditions are met.

Create Log Group

You can create a log group for the metric. To create a log group, follow these steps.

  1. Click the All Services > Management > ServiceWatch menu. 1. Navigate to the Service Home page.

  2. On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.

  3. On the Log Group List page, click the Create Log Group button. 3. Navigate to the Create Log Group page.

  4. Enter the basic information and tag information required to create a log group.

    Category
    Required
    Detailed description
    Log group namerequiredEnter the name of the log group to monitor in ServiceWatch
    • using English letters, numbers, and special characters (-_./#) within 3 ~ 512 characters
    Log retention policyrequiredSelect the retention period for monitored log data
    tagSelectAdd tag information
    • Up to 50 tags can be added per resource
    • When adding a tag, if you enter the Key and Value, you can select from the list of Keys and Values of previously created tags
    Table. Log group creation items

  5. After reviewing the summary information, click the Create button. 5. A popup window notifying the creation of a log group opens.

  6. Click the Confirm button. 6. Log group creation is complete.

View detailed log group information

You can view and manage detailed information about log groups.

To view detailed information about a log group, follow these steps.

  1. All Services > Management > ServiceWatch Click the menu. 1. Go to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
  3. On the Log Group List page, click the log group name to view detailed information. 3. Navigate to the Log Group Details page.
    CategoryDetailed description
    Log group statusLog group status
    • Active: The log group is active
    • Inactive: The log group is inactive
    Export Log GroupStore log group log data in Object Storage
    Delete log groupDelete the corresponding log group
    Information Classification TabInformation tabs for the log group
    • Details, log streams, tags, operation history
    • Click each tab to view the corresponding information
    Table. Log group detailed items
    Reference
    On the Log Group List page, click the More > Export Log Group button to export the data for the log group that will be stored in Object Storage.
Reference

When sorting log group names in the log group list, follow the sorting rules below.

  1. Whitespace and control characters
  2. Some special characters ( !"#$%&’()*+,-./ )
  3. Numbers (0–9)
  4. Some special characters ( ; < = > ? @ )
  5. English (A–Z, a–z, case-insensitive)
  6. Remaining special characters ([\]^_`)
  7. Other characters

Detailed Information

On the Log Group List page, you can view the basic information of the selected log group and its log group details.

CategoryDetailed description
serviceService name
Resource TypeResource Type
SRNUnique resource ID
  • In ServiceWatch, it refers to the SRN of the resource type
Resource nameResource name
  • In ServiceWatch, it refers to the name of the log group
Resource IDUnique resource ID in the service
ConstructorUser who created the service
Creation timestampService creation date and time
EditorUser who edited the service information
Modification date and timeService information modification date and time
Log group nameName of the log group
Log retention policyRetention period of log data
  • Edit button can be clicked to change the retention period
log dataTotal stored log data size (bytes)
Table. Log Group Details - Details Tab Items
Reference
Log data is the total stored log data (bytes). It may take some time for the log aggregation capacity to be reflected.

log stream

You can view the log streams of the log group selected on the Log Group List page.

CategoryDetailed description
View all log streamsDetailed information can be checked for all log streams in the log stream list
Create log streamCreate a new log stream
Log stream listLog stream name and log modification timestamp
  • Click the Delete button to delete the log stream
  • After checking the log streams to delete, click the More > Delete button at the top of the list to delete them simultaneously
Table. Log Group Details - Log Stream Tab Items

Log pattern

You can view the log pattern of the selected log group on the Log Group List page.

CategoryDetailed description
Log pattern listLog pattern name, pattern, log pattern namespace, metric name, alert policy name information
  • Click the log pattern name or alert policy name to go to the detail page for that item
  • Click the metric name to go to the metric page that includes that metric name in the search query
  • Click the alert policy name to go to the detail page for that alert policy
  • More button can be clicked to perform additional actions
    • Edit, Delete: modify or delete the log pattern
    • Create alert policy: go to the alert policy creation page
DeleteDelete all selected log patterns from the log pattern list
  • Enable when a log pattern is checked in the log pattern list
Generate log patternCreate a new log pattern
Table. Log Group Details – Log Pattern Tab Items
Reference
Metrics generated from log patterns do not provide metric description functionality via Copliot.

tag

Log Group List page allows you to view the tag information of the selected log group, and you can add, modify, or delete it.

CategoryDetailed description
Tag listTag’s Key and Value information
Tag modificationYou can modify, delete, or add new tags
  • Up to 50 tags can be added per resource
  • When adding a tag, if you enter the Key and Value, you can select from the list of Keys and Values of previously created tags
Table. Log Group Details - Tag Tab Items

Job History

Log Group List page lets you view the operation history of the selected log group.

CategoryDetailed description
Task History ListResource Change History
  • You can view operation details, operation time, resource type, resource name, operation result, and operator information
    • Click the Settings button to modify information items
  • Filtering is possible using Period Selection, User Timezone, entering operator information, and Advanced Search
  • Click an entry in the Job History List to go to the Activity Detail page for that operation
Table. Log Group Details – Job History Tab Items

Managing Log Streams

You can create and manage log streams.

Create Log Stream

You can create a new log stream in a log group. To create a Hog stream, follow the steps below.

  1. All Services > Management > ServiceWatch Click the menu. 1. Navigate to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
  3. On the Log Group List page, click the log group name for which you want to create a log stream. 3. Navigate to the Log Group Details page.
  4. On the Log Group Details page, click the Log Stream tab. 4. The log stream list is displayed.
  5. Click the Create Log Stream button. 5. Log Stream Creation A popup window opens.
  6. After entering the Log stream name, click the Create button. 6. Log stream creation is complete.
    • Enter the name using English letters and numbers, within 3 ~ 512 characters.

Check detailed log stream information

You can view and manage detailed information about log streams. To view detailed information about the log stream, follow these steps.

  1. All Services > Management > ServiceWatch Click the menu. 1. Navigate to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
  3. Log Group List page, click the log group name to view its detailed information. 3. Navigate to the Log Group Details page.
  4. On the Log Group Details page, click the Log Stream tab. 4. Log Stream list is displayed.
  5. Click the Log Stream name in the list to view detailed information. 5. Navigate to the Log Stream Details page.
    CategoryDetailed description
    Excel downloadLog stream history can be downloaded as an Excel file
    Timestamp listMessage list by timestamp
    • Period selection, User time zone, filterable using message input
    Table. Log Group Details - Log Stream Detail Items
Reference
On the Log Group List page, when you click the View All Log Streams button, you are taken to the All Log Streams Details page where you can view detailed information for all log streams.

Delete log stream

You can delete unused log streams. To delete a log stream, follow these steps.

  1. Click the All Services > Management > ServiceWatch menu. 1. Navigate to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
  3. On the Log Group List page, click the log group name whose log stream you want to delete. 3. Navigate to the Log Group Details page.
  4. On the Log Group Details page, click the Log Stream tab. 4. The log stream list is displayed.
  5. Select the checkbox of the log stream to delete from the log stream list, then click the More > Delete button. 5. A popup window notifying the deletion of the log stream opens.
    • You can delete multiple log streams simultaneously.
    • You can also delete individually by clicking the Delete button at the right end of each log stream.
  6. Click the Confirm button. 6. The log stream is being deleted.

Manage Log Patterns

Create Log Pattern

To create a log pattern, follow these steps.

  1. All Services > Management > ServiceWatch Click the menu. 1. Navigate to the Service Home page.

  2. Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.

  3. On the Log Group List page, click the log group name for which you want to create a log pattern. 3. Navigate to the Log Group Details page.

  4. Click the Log Pattern tab on the Log Group Details page. 4. The log pattern list is displayed.

  5. Click the Create Log Pattern button. 5. Navigate to the Log Pattern Generation page.

  6. Configure the basic information and metric data needed to create a log group.

    • In the Basic Information area, enter and select the basic information for the log pattern.
      Category
      Required
      Detailed description
      Log pattern nameRequiredEnter the name of the log pattern
      • using English letters, numbers, special characters (-_./#) within 3 ~ 512 characters
      Pattern formatRequiredSelect a pattern format or enter manually
      • Pattern format: Select one of the string pattern, space‑separated pattern, or JSON format pattern provided
      • Direct input: After selecting one of the string pattern, space‑separated pattern, or JSON format pattern, enter a value between 1 ~ 1,024
      Pattern testSelectionEnter or select the log data to verify using a pattern
      • Direct input: Enter the log data to be used directly into the log event message
        • Separate log events using line breaks
        • Up to 50 log events can be entered
        • Each log event can be entered within 1 ~ 1,024 bytes
      • Log data selection: Choose the log data to use
        • When selecting log data, the corresponding log data is displayed in the log event message
      • Pattern test: Conduct a test on the log event message
        • If the test succeeds, the test results are displayed at the bottom
      Table. Log Pattern Generation - Basic Information Items
    • Enter and select metric information in the Metric Information area.
      Category
      Required
      Detailed description
      namespaceRequiredSelect a namespace for the log pattern
      • If there is no namespace for the log pattern, select Create New to create one
      • Namespace Name: When creating a new namespace, enter 3 ~ 128 characters using letters, numbers, spaces, and special characters (-_\/#)
      Indicator nameRequiredEnter the indicator name
      • using English letters, numbers, special characters (_) within 3 ~ 128 characters
      indicator valueRequiredEnter the index value
      • a number greater than or equal to 0 or $indetifier
      DefaultSelectionWhen using the default value, input
      • enter a float value of 0 or greater
      • When using the default value, dimension cannot be used
      • For more details, see the 기본값 reference
      unitRequiredSelect indicator unit
      dimensionSelectionSet the dimension of metrics generated by log patterns
      • Log pattern format is only available when it is a space-delimited pattern or a JSON format pattern
      • Default cannot be used when entered
      • If Use is checked, custom dimension fields can be added
        • After clicking the Add button, add by entering Field name and Field value
        • Up to 3 can be added
      Table. Log pattern generation - metric information items
  7. After reviewing the summary information, click the Create button. 7. A popup window notifying the creation of a log pattern opens.

  8. Click the Confirm button. 8. Log pattern generation is complete.

Reference
Metrics generated from log patterns do not provide metric description functionality via Copliot.

Check detailed log pattern information

To view detailed information about the log pattern, follow these steps.

  1. Click the All Services > Management > ServiceWatch menu. 1. Go to the Service Home page.
  2. Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
  3. On the Log Group List page, click the log group name to view detailed information. 3. Navigate to the Log Group Details page.
  4. On the Log Group Details page, click the Log Pattern tab. 4. The log pattern list is displayed.
  5. Log pattern Click the log pattern name in the list to view detailed information. 5. Navigate to the Log Pattern Details page.
    CategoryDetailed description
    Create alert policyCan create alert policy
    • Click the button to go to the alert policy creation page
    Delete log patternDelete the log pattern currently being viewed
    Log pattern nameLog pattern name
    ConstructorUser who created the log pattern
    Creation timestampDate and time the log pattern was created
    ModifierUser who modified the log pattern information
    Modification date and timeDate and time the log pattern information was modified
    PatternPattern format
    Indicator informationMetric information of the pattern group
    • Namespace name, metric name, metric value, default value, unit, alarm policy name, dimension name
    • Edit button can modify metric value, default value, unit information
    Table. Log pattern detailed items

Delete Log Pattern

To delete a log pattern, follow these steps.

  1. Click the All Services > Management > ServiceWatch menu. 1. Navigate to the Service Home page.
  2. Service Home page, click the Log > Log Group menu. 2. Go to the Log Group List page.
  3. On the Log Group List page, click the log group name whose log pattern you want to delete. 3. Navigate to the Log Group Details page.
  4. On the Log Group Details page, click the Log Pattern tab. 4. The log pattern list is displayed.
  5. Select the checkbox of the log pattern to delete in the log pattern list, then click the Delete button. 5. A popup window notifying the deletion of the log pattern opens.
    • You can delete multiple log patterns simultaneously.
    • You can also delete them individually by clicking the More > Delete button at the far right of each log pattern, or by clicking the Delete Log Pattern button on the log pattern’s detail page.
  6. Click the Confirm button. 6. The log pattern is deleted.

Export Log Group

Log group data can be stored in Object Storage. To store log group data in Object Storage, follow these steps.

  1. Click the All Services > Management > ServiceWatch menu. 1. Navigate to the Service Home page.

  2. On the Service Home page, click the Log > Export Log Group menu. 2. Navigate to the Log Group Export List page.

  3. On the Log Group Export List page, click the Log Group Export button. 3. Go to the Log Group Export page.

    Category
    Required
    Detailed description
    Select log groupRequiredSelect the log group to store in Object Storage
    • If the log group contains log streams, click the Select button to choose the log streams to store
    • If you do not select a log group, the entire data of the log group will be stored
    Period settingSelectionSet user time zone and time
    • Time zone: User time zone or other time zones can be selected
    • Time setting: Choose a desired interval or select manual input
      • Interval selection: All, Last 1 minute, Last 30 minutes, Last 1 hour, Last 12 hours
      • Manual input: Start and end timestamps can be entered in 24-hour format
        • When manually inputting, reference time zone: Asia/Seoul (GMT +09:00)
    Storage bucketRequiredSelect the bucket (Object Storage) to store the data
    • If there is no bucket, click Create New to create one
    Table. Log group export items

  4. After selecting the bucket to store the data, click the Done button. 4. A popup window notifying that data has been saved opens.

  5. In the popup window, click the Confirm button. 5. Data export is starting.

    • You can check the progress on the Log Group Export List page.
Reference
  • If there is no Object Storage to store the log group data, create an Object Storage first, then proceed.
  • Exporting log group data can take tens of minutes or longer, depending on its size.
  • If there is an ongoing log group export task within the Account, you must first complete the ongoing task before proceeding with the export.
  • On the Log Group Export List page, you can cancel an export operation in progress for a log group by clicking the More > Cancel Log Group Export button.

Delete log group

You can delete unused log groups.

Caution
  • Files stored in Object Storage through Log Group Export are not deleted. * However, the log group export history will be deleted as well.
  • If you delete a log group that is currently undergoing Log Group Export, the export operation will not proceed correctly.

To delete a log group, follow these steps.

  1. All Services > Management > ServiceWatch menu, click it. 1. Navigate to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
  3. On the Log Group List page, select the checkbox of the log group you want to delete, then click the Delete button. 3. A popup window notifying the deletion of the log group opens.
    • You can delete multiple log groups simultaneously.
    • You can also delete individually by clicking the Delete button at the far right of each log group, or by clicking the Delete Log Group button on the Log Group Details page.
  4. Click the Confirm button. 4. The log group is being deleted.
indicator
event