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.
Click the All Services > Management > ServiceWatch menu. 1. Navigate to the Service Home page.
On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
On the Log Group List page, click the Create Log Group button. 3. Navigate to the Create Log Group page.
Enter the basic information and tag information required to create a log group.
Category RequiredDetailed description Log group name required Enter the name of the log group to monitor in ServiceWatch - using English letters, numbers, and special characters (
-_./#) within 3 ~ 512 characters
Log retention policy required Select the retention period for monitored log data tag Select Add 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- using English letters, numbers, and special characters (
After reviewing the summary information, click the Create button. 5. A popup window notifying the creation of a log group opens.
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.
- All Services > Management > ServiceWatch Click the menu. 1. Go to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
- On the Log Group List page, click the log group name to view detailed information. 3. Navigate to the Log Group Details page.
Category Detailed description Log group status Log group status - Active: The log group is active
- Inactive: The log group is inactive
Export Log Group Store log group log data in Object Storage - For detailed information about log group export, see 로그 그룹 내보내기
Delete log group Delete the corresponding log group Information Classification Tab Information tabs for the log group - Details, log streams, tags, operation history
- Click each tab to view the corresponding information
Table. Log group detailed itemsReferenceOn 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.
When sorting log group names in the log group list, follow the sorting rules below.
- Whitespace and control characters
- Some special characters (
!"#$%&’()*+,-./) - Numbers (
0–9) - Some special characters (
;<=>?@) - English (
A–Z,a–z, case-insensitive) - Remaining special characters (
[\]^_`) - 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.
| Category | Detailed description |
|---|---|
| service | Service name |
| Resource Type | Resource Type |
| SRN | Unique resource ID
|
| Resource name | Resource name
|
| Resource ID | Unique resource ID in the service |
| Constructor | User who created the service |
| Creation timestamp | Service creation date and time |
| Editor | User who edited the service information |
| Modification date and time | Service information modification date and time |
| Log group name | Name of the log group |
| Log retention policy | Retention period of log data
|
| log data | Total stored log data size (bytes) |
log stream
You can view the log streams of the log group selected on the Log Group List page.
| Category | Detailed description |
|---|---|
| View all log streams | Detailed information can be checked for all log streams in the log stream list |
| Create log stream | Create a new log stream
|
| Log stream list | Log stream name and log modification timestamp
|
Log pattern
You can view the log pattern of the selected log group on the Log Group List page.
| Category | Detailed description |
|---|---|
| Log pattern list | Log pattern name, pattern, log pattern namespace, metric name, alert policy name information
|
| Delete | Delete all selected log patterns from the log pattern list
|
| Generate log pattern | Create a new log pattern
|
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.
| Category | Detailed description |
|---|---|
| Tag list | Tag’s Key and Value information |
| Tag modification | You can modify, delete, or add new tags
|
Job History
Log Group List page lets you view the operation history of the selected log group.
| Category | Detailed description |
|---|---|
| Task History List | Resource Change History
|
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.
- All Services > Management > ServiceWatch Click the menu. 1. Navigate to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
- 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.
- On the Log Group Details page, click the Log Stream tab. 4. The log stream list is displayed.
- Click the Create Log Stream button. 5. Log Stream Creation A popup window opens.
- 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.
- All Services > Management > ServiceWatch Click the menu. 1. Navigate to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
- Log Group List page, click the log group name to view its detailed information. 3. Navigate to the Log Group Details page.
- On the Log Group Details page, click the Log Stream tab. 4. Log Stream list is displayed.
- Click the Log Stream name in the list to view detailed information. 5. Navigate to the Log Stream Details page.
Category Detailed description Excel download Log stream history can be downloaded as an Excel file Timestamp list Message list by timestamp - Period selection, User time zone, filterable using message input
Table. Log Group Details - Log Stream Detail Items
Delete log stream
You can delete unused log streams. To delete a log stream, follow these steps.
- Click the All Services > Management > ServiceWatch menu. 1. Navigate to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
- 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.
- On the Log Group Details page, click the Log Stream tab. 4. The log stream list is displayed.
- 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.
- 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.
All Services > Management > ServiceWatch Click the menu. 1. Navigate to the Service Home page.
Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
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.
Click the Log Pattern tab on the Log Group Details page. 4. The log pattern list is displayed.
Click the Create Log Pattern button. 5. Navigate to the Log Pattern Generation page.
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 RequiredDetailed description Log pattern name Required Enter the name of the log pattern - using English letters, numbers, special characters (
-_./#) within 3 ~ 512 characters
Pattern format Required Select 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
- For more details, refer to Pattern format
Pattern test Selection Enter 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 - using English letters, numbers, special characters (
- Enter and select metric information in the Metric Information area.
Category RequiredDetailed description namespace Required Select 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 name Required Enter the indicator name - using English letters, numbers, special characters (
_) within 3 ~ 128 characters
indicator value Required Enter the index value - a number greater than or equal to 0 or
$indetifier
Default Selection When 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
unit Required Select indicator unit dimension Selection Set 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
- In the Basic Information area, enter and select the basic information for the log pattern.
After reviewing the summary information, click the Create button. 7. A popup window notifying the creation of a log pattern opens.
Click the Confirm button. 8. Log pattern generation is complete.
Check detailed log pattern information
To view detailed information about the log pattern, follow these steps.
- Click the All Services > Management > ServiceWatch menu. 1. Go to the Service Home page.
- Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
- On the Log Group List page, click the log group name to view detailed information. 3. Navigate to the Log Group Details page.
- On the Log Group Details page, click the Log Pattern tab. 4. The log pattern list is displayed.
- Log pattern Click the log pattern name in the list to view detailed information. 5. Navigate to the Log Pattern Details page.
Category Detailed description Create alert policy Can create alert policy - Click the button to go to the alert policy creation page
Delete log pattern Delete the log pattern currently being viewed Log pattern name Log pattern name Constructor User who created the log pattern Creation timestamp Date and time the log pattern was created Modifier User who modified the log pattern information Modification date and time Date and time the log pattern information was modified Pattern Pattern format Indicator information Metric 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.
- Click the All Services > Management > ServiceWatch menu. 1. Navigate to the Service Home page.
- Service Home page, click the Log > Log Group menu. 2. Go to the Log Group List page.
- 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.
- On the Log Group Details page, click the Log Pattern tab. 4. The log pattern list is displayed.
- 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.
- 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.
Click the All Services > Management > ServiceWatch menu. 1. Navigate to the Service Home page.
On the Service Home page, click the Log > Export Log Group menu. 2. Navigate to the Log Group Export List page.
On the Log Group Export List page, click the Log Group Export button. 3. Go to the Log Group Export page.
Category RequiredDetailed description Select log group Required Select 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 setting Selection Set 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 bucket Required Select the bucket (Object Storage) to store the data - If there is no bucket, click Create New to create one
Table. Log group export itemsAfter selecting the bucket to store the data, click the Done button. 4. A popup window notifying that data has been saved opens.
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.
- 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.
- 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.
- All Services > Management > ServiceWatch menu, click it. 1. Navigate to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. 2. Navigate to the Log Group List page.
- 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.
- Click the Confirm button. 4. The log group is being deleted.