How-to guides
Users can monitor resources created in Samsung Cloud Platform through ServiceWatch.
Using Dashboards
You can monitor resources on the dashboard detail screen of ServiceWatch.
Note
- To use a dashboard, you must first create a dashboard and register monitoring metrics as widgets.
- For details on dashboard creation, refer to Creating a Dashboard.
Follow these steps to monitor resources using a dashboard.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for the resources you want to monitor. You will be taken to the Dashboard Detail page.
- On the Dashboard Detail page, select the monitoring period and time zone, then monitor resources through widgets.
| Division | Detailed Description |
|---|
| Dashboard Name | Dashboard name- Click the name to select another dashboard
|
| Period Setting Area | Select the period to apply to widgets in the dashboard- For metric query, you can set up to 455 days from the current time
|
| Time Zone Setting Area | Select the time zone to apply to the period setting |
| Reset Button | Reset all manipulations or settings on the dashboard detail screen |
| Refresh Setting Area | Select the refresh cycle for widget information- Click the Refresh button to display information based on the current time
- Click the refresh cycle to select the desired cycle: Off, 10 seconds, 1 minute, 2 minutes, 5 minutes, 15 minutes
|
| Edit | Modify dashboard information- When you click the Edit button, you will be taken to the Edit Dashboard page
|
| More | Display additional task items for managing the dashboard |
| Alert Status | Display the number of active alerts among the alerts linked to the recommended metrics of the service dashboard by level- When you click the View All Alert Policies button, you will be taken to the Alert Policy List page
- When you click the Expand button, it is provided in widget format (up to 12)
- View Alert Policy: Go to the Alert Policy Detail page for that metric
|
| Dashboard Status | Display metric widgets for monitoring each resource- Click the View Widget Enlarged button to view detailed information about the metric
- Click the More button to manage the widget
- When you place the mouse cursor on the graph, the time, data value, and metric data information at that point are displayed in a popup
- You can zoom in on a specific area of the graph by dragging the mouse
- When you click the resource name displayed in the legend, detailed information about that resource is displayed in a popup
|
Table. Dashboard Detail Items
Reference
- When you click the More > View Metrics button in the upper right corner of a widget, you can view metric information for that widget on the Metrics page.
- For details on the Metrics page, refer to Viewing Metrics.
Setting Dashboard Favorites
You can set frequently used dashboards as favorites to easily navigate to those dashboards on the Service Home page of ServiceWatch.
Follow these steps to set a dashboard as a favorite.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, check the favorite icon of the dashboard you want to add to favorites. Click the dashboard for which you want to view detailed information. You will be taken to the Dashboard Detail page.
- The favorited dashboard is added to the bottom of the Dashboard > Dashboard Favorites menu and the Dashboard Favorites area of the Service Home page.
You can individually view widgets in the dashboard by enlarging them.
Follow these steps to view an individual widget in enlarged mode.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for the resources you want to monitor. You will be taken to the Dashboard Detail page.
- On the Dashboard Detail page, click the View Widget Enlarged button of the widget you want to view in enlarged mode. The Metric Detail popup window for that widget will open.
| Division | Detailed Description |
|---|
| Widget Name | Display the widget name |
| Period Setting Area | Select the period to apply to the widget- For metric query, you can set up to 455 days from the current time
|
| Time Zone Setting Area | Select the time zone to apply to the period setting |
| Reset Button | Reset all manipulations or settings on the dashboard detail screen |
| Statistics | Select the statistics criterion for the metrics displayed in the widget- Click the statistics criterion to select the criterion: Average, Minimum, Maximum, Sum
|
| Aggregation Period Setting Area | Select the aggregation period for widget information- Click the aggregation period to select the desired period: 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours, 1 day
|
| Refresh Setting Area | Select the refresh cycle for widget information- Click the Refresh button to display information based on the current time
- Click the refresh cycle to select the desired cycle: Off, 10 seconds, 1 minute, 2 minutes, 5 minutes, 15 minutes
|
| Chart Area | Display monitoring results as a chart- When you place the mouse cursor on the graph and legend areas, the time, data value, and metric data information at that point are displayed in a popup
- You can zoom in on that area by dragging the graph area
- When you click the resource name displayed in the legend, the alert status for that resource opens in a popup
|
Table. Metric Detail Items
Viewing Alert History
You can view alert history for metrics registered in ServiceWatch dashboards.
Follow these steps to view alert history.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Alert > Alert History menu. You will be taken to the Alert History page.
- On the Alert History page, view the alert history.
| Division | Detailed Description |
|---|
| Alert Filter and Search Area | Filter or search alert history- All Alert Status: Filter by selecting alert status
- Search by entering the alert policy name in the search input field
- Detailed Search: Search by entering alert policy name, alert status, or change date
|
| Alert Policy Name | Alert policy name- When you click the alert policy name, you can view detailed information of that alert policy
|
| Condition | Alert occurrence condition and total occurrence time- Display levels by importance: High, Middle, Low
|
| Division | Classification of alert creation and alert status change information |
| Alert Status | Current alert status- Normal: When the metric does not meet the set condition
- Insufficient data: When metric data cannot be verified (missing, non-existent, not arrived)
- Alert: When the metric meets the set condition
|
| Alert Level | When alert status is Alert, display the alert level |
Table. Alert History Items
Reference
You can create and manage new alert policies. For details on alert policies, refer to
Viewing Alert Policies.
Monitoring Metrics
You can view and monitor metrics available in ServiceWatch.
Comparing by Metrics
You can select one or more metrics and resources to monitor.
Follow these steps to monitor by comparing metrics.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Metrics menu. You will be taken to the Metrics page.
On the Metrics page, click Compare by Metrics in the metric view mode.
On the Metrics page, select the metrics you want to monitor from the metric list. A monitoring chart for the selected metrics is displayed in the Selected Metrics area at the bottom.
| Division | Detailed Description |
|---|
| Metric List Area | List of metrics that can be monitored in ServiceWatch- Click the + button in front of the namespace and dimensions to view the lower-level list
- When you select a metric to monitor, it is displayed as a chart in the Selected Metrics area
|
| Search Filter Area | Set the search items to filter, then click the Apply Filter button to filter the metric list- Namespace-Dimension Name: Search based on the sub-dimension name of the selected namespace
- Metric Name: Search by entering the exact metric name
- Resource Name: Search by entering the exact resource name
- Resource ID: Search by entering the exact resource ID
- Keyword: Search based on the selected upper category and entered keyword
- Search for each item excluding metric name, resource name, resource ID, and Tag-Key
- Tag Key: Search with the selected tag key
|
Table. Metric List Items
View the monitoring chart in the Selected Metrics area.
| Division | Detailed Description |
|---|
| Period Setting Area | Select the period to apply to the chart- For metric query, you can set up to 455 days from the current time
|
| Time Zone Setting Area | Select the time zone to apply to the chart |
| Reset Button | Reset all manipulations or settings on the chart |
| Refresh Setting Area | Select the refresh cycle for the chart- Click the Refresh button to display information based on the current time
- Click the refresh cycle to select the desired cycle: Off, 10 seconds, 1 minute, 2 minutes, 5 minutes, 15 minutes
|
| More | Display additional task items for managing the chart |
| Graph Area | Data graph collected during the period applied to the chart- When you place the mouse cursor on the graph, the time, data value, and metric data information at that point are displayed in a popup
- You can zoom in on a specific area of the graph by dragging the mouse
- When you click the label name displayed in the legend, detailed information about that legend is displayed in a popup
|
| Table Area | Check and modify labels, statistics, and aggregation period by legend- Legend: Color by legend
- Click the legend color to change to a different color
- Label: Display the namespace, resource name, and metric name of the selected metric
- Click the legend name to change
- Enter within 3 to 255 characters using English letters, numbers, and special characters
- Statistics: Select the method to aggregate metric data
- You can select from Average (default), Minimum, Maximum, Sum
- Aggregation Period: Select the aggregation period unit of metric values
- You can select from 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours, 1 day
- More: Delete the legend or create an alert policy for the legend
|
Table. Compare by Metrics Monitoring Chart Items
Reference
- Statistics methods are as follows.
- Sum: Sum of all data point values collected during the period
- Average: Value obtained by dividing the Sum during the specified period by the number of data pointers during that period
- Minimum: Lowest value observed during the specified period
- Maximum: Highest value observed during the specified period
- For a detailed explanation of metrics, refer to Metrics Overview.
Comparing by Date
You can monitor by comparing one metric and resource by date or period.
Follow these steps to monitor by comparing by date or period.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Metrics menu. You will be taken to the Metrics page.
On the Metrics page, click Compare by Date in the metric view mode.
On the Metrics page, select the metrics you want to monitor from the metric list. A monitoring chart for the selected metrics is displayed in the Selected Metrics area at the bottom.
| Division | Detailed Description |
|---|
| Metric List Area | List of metrics that can be monitored in ServiceWatch- Click the + button in front of the namespace and dimensions to view the lower-level list
- When you select a metric to monitor, it is displayed as a chart in the Selected Metrics area
|
| Search Filter Area | Set the search items to filter, then click the Apply Filter button to filter the metric list- Namespace-Dimension Name: Search based on the sub-dimension name of the selected namespace
- Metric Name: Search by entering the exact metric name
- Resource Name: Search by entering the exact resource name
- Resource ID: Search by entering the exact resource ID
- Keyword: Search based on the selected upper category and entered keyword
- Search for each item excluding metric name, resource name, resource ID, and Tag-Key
- Tag Key: Search with the selected tag key
|
Table. Metric List Items
View the monitoring chart in the Selected Metrics area.
| Division | Detailed Description |
|---|
| Date Comparison/Period Comparison | Select the criterion to compare metrics- Date Comparison: Compare by specifying a specific date
- Period Comparison: To be provided in the future
|
| Date and Period Setting Area | Select the date or period to compare- Date Comparison: Specify the date to view in the chart
- You can set up to 455 days from the current time
- Period Comparison: To be provided in the future
|
| Time Zone Setting Area | Select the time zone to apply to the chart |
| Reset Button | Reset all manipulations or settings on the chart |
| Refresh Setting Area | Select the refresh cycle for the chart- Click the Refresh button to display information based on the current time
- Click the refresh cycle to select the desired cycle: Off, 10 seconds, 1 minute, 2 minutes, 5 minutes, 15 minutes
|
| More | Display additional task items for managing the chart |
| Graph Area | Data graph collected during the period applied to the chart- When you place the mouse cursor on the graph, the time, data value, and metric data information at that point are displayed in a popup
- You can zoom in on a specific area of the graph by dragging the mouse
- When you click the date or period displayed in the legend, detailed information about that legend is displayed in a popup
|
| Table Area | Check and modify labels, statistics, and aggregation period by legend- Legend: Color by legend
- Click the legend color to change to a different color
- Period: Period applied to the chart
- Metric: Display the namespace, resource name, and metric name of the selected metric
- Statistics: Select the method to aggregate metric data
- You can select from Average (default), Minimum, Maximum, Sum.
- Note the green icon displayed to the right of meaningful metrics for that metric
- Aggregation Period: Select the aggregation period unit of metric values
- You can select from 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours, 1 day
- More: Delete the legend or create an alert policy for the legend
|
Table. Compare by Date Monitoring Chart Items
Reference
- Statistics methods are as follows.
- Sum: Sum of all data point values collected during the period
- Average: Value obtained by dividing the Sum during the specified period by the number of data pointers during that period
- Minimum: Lowest value observed during the specified period
- Maximum: Highest value observed during the specified period
- For a detailed explanation of metrics, refer to Metrics Overview.
Monitoring Logs
You can monitor logs collected from Samsung Cloud Platform services.
Note
To view log monitoring data, you must first create a
Log Group and
Log Stream. For details on log groups, refer to
Monitoring Logs.
Follow these steps to view log monitoring data.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
- On the Log Group List page, click the log group name for which you want to view detailed information. You will be taken to the Log Group Detail page.
- On the Log Group Detail page, click the Log Stream tab. The Log Stream list is displayed.
- On the Log Stream list, click the log stream name for which you want to view detailed information. You will be taken to the Log Stream Detail page.
- When you click the View All Log Streams button at the top of the log stream list, you will be taken to the All Log Streams Detail page.
| Division | Detailed Description |
|---|
| Excel Download | Download log stream history as an Excel file |
| Timestamp List | Message list by timestamp- Filter using Period Selection, User Time Zone, and message input
|
Table. Log Group Detail - Log Stream Detail Items
Receiving Event Notifications
You can receive notifications by creating system event rules for changes in resources created in Samsung Cloud Platform.
Note
To receive event notifications, you must first create an
Event Rule. For details on event rule creation, refer to
Creating an Event Rule.
Installing ServiceWatch Agent
You can install ServiceWatch Agent to collect custom metrics and logs from monitoring targets.
Warning
Metric collection through ServiceWatch Agent is classified as custom metrics and is charged differently from metrics collected by default from each service, so be careful not to set up unnecessary metric collection. Make sure to set it up so that only necessary metrics are collected.
Follow these steps to install ServiceWatch Agent.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Agent Setup & Guideline button. The Agent Setup & Guideline popup window will open.
- Copy the Installation File URL from the Agent Setup & Guideline popup window and navigate to that address. You can download the agent, manager, and configuration files.
Reference
Custom metric and log collection through ServiceWatch Agent is currently available only in Samsung Cloud Platform For Enterprise. It will be provided in other offerings in the future.
1 - Managing Dashboards and Widgets
You can create and manage dashboards to monitor resources of services in use on the Samsung Cloud Platform Console.
Creating a Dashboard
You can create dashboards in ServiceWatch.
Follow these steps to create a dashboard.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
On the Dashboard List page, click the Create Dashboard button.
Enter a name for the dashboard.
- The dashboard name must be 3 to 40 characters long, using English letters, numbers, and special characters (
-_). - You cannot enter a name that is already in use in the service dashboard.
Add widgets to configure the dashboard. Depending on the widget addition method, a corresponding popup window will open.
- Add Individual Widget: You can add a single widget combining metrics and resources. When you click the button, the Add Individual Widget popup window will open.
| Division | Required | Detailed Description |
|---|
| Metric Division | Optional | Filter the metrics that can be monitored in ServiceWatch by All or Key Metrics and display them in the metric list |
| Metric List Area | Required | List of metrics that can be monitored in ServiceWatch- Click the + button in front of the namespace and dimensions to view the lower-level list
- When you select a metric to monitor, it is displayed as a chart in the Selected Metrics area
|
| Search Filter Area | - | Set the search items to filter, then click the Apply Filter button to filter the metric list- Namespace-Dimension Name: Search based on the sub-dimension name of the selected namespace
- Metric Name: Search by entering the exact metric name
- Resource Name: Search by entering the exact resource name
- Resource ID: Search by entering the exact resource ID
- Keyword: Search based on the selected upper category and entered keyword
- Search for each item excluding metric name, resource name, resource ID, and Tag-Key
- Tag Key: Search with the selected tag key
|
| Selected Metrics Area | - | Monitoring chart for the metric selected in the metric list area- Data graph collected during the period applied to the chart
- When you place the mouse cursor on the graph, the time, data value, and metric data information at that point are displayed in a popup
- You can zoom in on a specific area of the graph by dragging the mouse
- When you click the resource name displayed in the legend, detailed information about that resource is displayed in a popup
- You can modify item values in the table area within the chart
- Label: Enter the legend name using English letters, numbers, and special characters within 3 to 255 characters
- Statistics: Select the method to aggregate metric data
- You can select from Average (default), Minimum, Maximum, Sum
- Aggregation Period: Select the aggregation period unit of metric values
- You can select from 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours
- Delete: Delete that legend
|
Table. Add Individual Widget Items
Click the Done button in the widget addition popup window. The widget is added to the dashboard on the dashboard creation page.
After confirming the added widget, click the Create button. A popup window will open announcing the dashboard creation.
Click the Confirm button. The dashboard creation is complete.
Follow these steps to create a dashboard.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
On the Dashboard List page, click the Create Dashboard button.
Enter a name for the dashboard.
- The dashboard name must be 3 to 40 characters long, using English letters, numbers, and special characters (
-_). - You cannot enter a name that is already in use in the service dashboard.
Add widgets to configure the dashboard. Depending on the widget addition method, a corresponding popup window will open.
- Add Multiple Widgets: You can select desired resources by metric unit and add multiple widgets at once. When you click the button, the Add Multiple Widgets popup window will open.
| Division | Required | Detailed Description |
|---|
| Metric Division | Optional | Filter the metrics that can be monitored in ServiceWatch by All or Key Metrics and display them in the metric list |
| Metric Selection Area | Required | Select the namespace and resources to add- Click the + button in front of the namespace and resources to view the lower-level resources and metric list
- When you check a metric to add to a widget from the metric list, the Selected Metrics and Selected Resources areas are displayed
- You can select multiple metrics
|
| Selected Metrics | Required | Display the list of metrics selected from the namespace and resource list- When you click a metric, the list of resources included in that metric is displayed in the Selected Resources area
|
| Selected Resources | Required | Add resources to the metrics selected in the Selected Metrics list- After clicking the Select button, select resources that can be added to that metric and add up to 5
- You must add resources for all metrics in the Selected Metrics list
|
| Statistics | Required | Select the statistics criterion for metric values- You can select from Average (default), Minimum, Maximum, Sum
|
| Aggregation Period | Required | Select the aggregation period unit of metric values- You can select from 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours
|
Table. Add Multiple Widgets Items
Click the Done button in the widget addition popup window. The widget is added to the dashboard on the dashboard creation page.
After confirming the added widget, click the Create button. A popup window will open announcing the dashboard creation.
Click the Confirm button. The dashboard creation is complete.
Creating a Dashboard by Importing a Dashboard
Follow these steps to create a dashboard.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
On the Dashboard List page, click the Create Dashboard button.
Enter a name for the dashboard.
- The dashboard name must be 3 to 40 characters long, using English letters, numbers, and special characters (
-_). - You cannot enter a name that is already in use in the service dashboard.
Add widgets to configure the dashboard. Depending on the widget addition method, a corresponding popup window will open.
- Import Dashboard: You can import widgets from a dashboard registered in ServiceWatch. When you click the button, the Import Dashboard popup window will open.
| Division | Required | Detailed Description |
|---|
| Dashboard | Required | Display the list of dashboards registered in ServiceWatch- When you select a dashboard, the widgets applied to that dashboard are displayed in the Preview area
|
| Preview | Required | Display the widgets applied to the dashboard selected from the dashboard list- Check the widget name to select the widget to add to the dashboard to create
- When you check the Select All item, all metrics of that dashboard are selected
|
Table. Import Dashboard Items
Click the Done button in the widget addition popup window. The widget is added to the dashboard on the dashboard creation page.
After confirming the added widget, click the Create button. A popup window will open announcing the dashboard creation.
Click the Confirm button. The dashboard creation is complete.
Viewing Dashboards
You can view information about the dashboard selected on the Dashboard List page.
Follow these steps to view a dashboard.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
| Division | Detailed Description |
|---|
| Dashboard Name | Dashboard name- User dashboard is the dashboard name set by the user. Service dashboard is the Samsung Cloud Platform service name matching the service namespace
|
| Dashboard Division | Dashboard division- User: Dashboard created directly by the user
- Service: Dashboard composed of key metrics for each service automatically pre-built
|
| Modified Date | Dashboard modification date |
| Created Date | Dashboard creation date |
| Favorites | Displayed in yellow if favorites are set- To set or unset favorites, click the star icon
|
Table. Dashboard List Items
- On the Dashboard List page, click the dashboard for which you want to view detailed information. You will be taken to the Dashboard Detail page.
| Division | Detailed Description |
|---|
| Dashboard Name | Display the dashboard name- Click the name to select another dashboard
|
| Period Setting Area | Select the period to apply to widgets in the dashboard- For metric query, you can set up to 455 days from the current time
|
| Time Zone Setting Area | Select the time zone to apply to the period setting |
| Reset Button | Reset all manipulations or settings on the dashboard detail screen |
| Refresh Setting Area | Select the refresh cycle for widget information- Click the Refresh button to display information based on the current time
- Click the refresh cycle to select the desired cycle: Off, 10 seconds, 1 minute, 2 minutes, 5 minutes, 15 minutes
|
| Edit | Modify the dashboard name or manage widgets- When you click the Edit button, you will be taken to the Edit Dashboard page
|
| More | Display additional task items for managing the dashboard- You can clone and delete the dashboard, view detailed information, and view source
|
| Widget Area | Display widgets for monitoring each resource- Click the More button in the upper right corner of the widget to manage the widget
- You can edit and clone the widget, download files, view metrics, and view source
|
Table. Dashboard Detail Items
Managing Dashboards
On the Dashboard Detail page, you can modify or manage dashboard information and widgets.
Editing a Dashboard
You can modify the dashboard name or change the widget configuration.
Note
Service dashboards cannot be edited.
Follow these steps to edit a dashboard.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for which you want to view detailed information. You will be taken to the Dashboard Detail page.
- Click the Edit button in the upper right corner of the Dashboard Detail page. You will be taken to the Edit Dashboard page.
- After modifying the dashboard information or widgets, click the Save button.
| Division | Detailed Description |
|---|
| Dashboard Name | Dashboard name cannot be modified- Enter within 34 characters using English letters, numbers, and special characters (
-_)
- Duplicate dashboard names in use cannot be used
|
| Widget Name | Widget name can be modified- Enter within 3 to 255 characters using English letters, numbers, spaces, and special characters (
-_.|)
|
| Widget Management | When you place the mouse cursor on a widget, management buttons are displayed on the right side of the widget border- Edit: You can modify the widget’s metrics and resources in the Edit Widget popup window
- For details on widget editing, refer to Edit Individual Widget in Managing Widgets
- Clone: Clone the current widget and add it to the dashboard
- Delete: Delete the current widget from the dashboard
- Expand: Display the current widget in an expanded size
- Shrink: If displayed in expanded size, click again to shrink the widget size
|
| Add Widget | Add a new widget to the dashboard- Add Individual Widget: Add a single widget combining metrics and resources
- Add Multiple Widgets: Select desired resources by metric unit and add multiple widgets at once
- Import Dashboard: Import widgets from another dashboard and add them
|
Table. Edit Dashboard Items
You can view detailed information about a dashboard.
Follow these steps to view dashboard detailed information.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for which you want to view detailed information. You will be taken to the Dashboard Detail page.
- Click the More > Detailed Information button in the upper right corner of the Dashboard Detail page. The Dashboard Detailed Information popup window will open.
| Division | Detailed Description |
|---|
| Dashboard Name | Dashboard name |
| Dashboard Division | Usage division of the dashboard- User: Dashboard created directly by the user
- Service: Dashboard composed of key metrics for each service automatically pre-built
|
| Service | Service name |
| Resource Type | dashboard |
| SRN | Unique resource ID in Samsung Cloud Platform- In ServiceWatch, it means the SRN of the dashboard
|
| Resource Name | Resource name- In ServiceWatch, it means the dashboard name
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the dashboard |
| Created Date | Date and time when the dashboard was created |
| Modifier | User who modified the dashboard information |
| Modified Date | Date and time when the dashboard information was modified |
Table. Dashboard Detail - Detailed Information Popup Items
Reference
When sorting dashboard names in the dashboard 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
Viewing Dashboard Source Code
You can view the dashboard source code.
Follow these steps to view dashboard source code.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for which you want to view detailed information. You will be taken to the Dashboard Detail page.
- Click the More > View Source button in the upper right corner of the Dashboard Detail page. The Dashboard View Source popup window will open.
| Division | Detailed Description |
|---|
| Source Information | Display dashboard source code in JSON format |
| Copy Code | Copy source code to clipboard |
Table. Dashboard Detail - Dashboard View Source Popup Items
Cloning a Dashboard
You can clone the widgets of the current dashboard and add them to another dashboard.
Note
User permissions are required to clone a dashboard.
- User: {email}
- Action: iam:CreatGroup
- On resource: {SRN}
- Context: no identity-based policy allows the action
Follow these steps to clone a dashboard.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
On the Dashboard List page, click the dashboard for which you want to view detailed information. You will be taken to the Dashboard Detail page.
Click the More > Clone button in the upper right corner of the Dashboard Detail page. The Clone Dashboard popup window will open.
Select a dashboard cloning method and enter the required information. The required information varies depending on the cloning method.
| Division | Required | Detailed Description |
|---|
| Clone Target | - | Dashboard name to clone |
| Clone Method | Required | After cloning the dashboard widgets, select the dashboard to add to- New Dashboard: Create a new dashboard and create by cloning the widgets of the current dashboard
- Existing Dashboard: Clone the widgets of the current dashboard and add them to an existing dashboard
|
| Dashboard Name | Required | Enter the name of the dashboard to create- Displayed when clone method is selected as New Dashboard
- Enter within 3 to 40 characters using English letters, numbers, and special characters (
-_)
|
| Dashboard Selection | Required | Select a dashboard to add the cloned widgets from among previously created dashboards- Displayed when clone method is selected as Existing Dashboard
|
Table. Clone Dashboard Items
After entering the required information, click the Done button. A popup window will open announcing the dashboard cloning.
Click the Confirm button in the popup window. The dashboard cloning is complete.
Reference
You can clone a service dashboard and add widgets to a user dashboard, or create it as a new dashboard.
Deleting a Dashboard
You can delete dashboards that are not in use.
Note
Service dashboards cannot be deleted.
Follow these steps to delete a dashboard.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, select the checkbox of the dashboard to delete and click the Delete button. A popup window will open announcing the dashboard deletion.
- You can delete multiple dashboards at the same time.
- You can also delete individually by clicking the More > Delete button in the upper right corner of the Dashboard Detail page.
- After entering Delete in the delete confirmation input area, click the Confirm button. The dashboard is deleted.
On the Dashboard Detail page, you can modify or manage widgets.
You can modify the metrics and resources of a widget.
Note
Widgets in service dashboards cannot be edited.
Follow these steps to edit a widget.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for which you want to edit widgets. You will be taken to the Dashboard Detail page.
- Click the More > Edit Widget button in the upper right corner of the widget to edit on the Dashboard Detail page. The Edit Widget popup window will open.
- After modifying the widget’s metrics and resources, click the Confirm button. The widget editing is complete.
| Division | Required | Detailed Description |
|---|
| Metric Division | Optional | Filter the metrics that can be monitored in ServiceWatch by All or Key Metrics and display them in the metric list |
| Metric List Area | Required | List of metrics that can be monitored in ServiceWatch- Click the + button in front of the namespace and dimensions to view the lower-level list
- When you select a metric to monitor, it is displayed as a chart in the Selected Metrics area
|
| Search Filter Area | - | Set the search items to filter, then click the Apply Filter button to filter the metric list- Namespace-Dimension Name: Search based on the sub-dimension name of the selected namespace
- Metric Name: Search by entering the exact metric name
- Resource Name: Search by entering the exact resource name
- Resource ID: Search by entering the exact resource ID
- Keyword: Search based on the selected upper category and entered keyword
- Search for each item excluding metric name, resource name, resource ID, and Tag-Key
- Tag Key: Search with the selected tag key
|
| Selected Metrics Area | - | Monitoring chart for the metric selected in the metric list area- Data graph collected during the period applied to the chart
- When you place the mouse cursor on the graph, the time, data value, and metric data information at that point are displayed in a popup
- You can zoom in on a specific area of the graph by dragging the mouse
- When you click the label name displayed in the legend, detailed information about that legend is displayed in a popup
- In the table area within the chart, you can check and modify labels, statistics, and aggregation period by legend
- Legend: Color by legend
- Click the legend color to change to a different color
- Period: Period applied to the chart
- Metric: Display the namespace, resource name, and metric name of the selected metric
- Statistics: Select the method to aggregate metric data
- You can select from Average (default), Minimum, Maximum, Sum
- Aggregation Period: Select the aggregation period unit of metric values
- You can select from 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours, 1 day
- Delete: Delete that legend
|
Table. Add Individual Widget Items
You can copy a widget and add it to another dashboard.
Note
User permissions are required to clone a dashboard.
- User: {email}
- Action: iam:CreatGroup
- On resource: {SRN}
- Context: no identity-based policy allows the action
Follow these steps to clone a widget.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
On the Dashboard List page, click the dashboard to clone. You will be taken to the Dashboard Detail page.
Click the More > Clone Widget button in the upper right corner of the widget to clone on the Dashboard Detail page. The Clone Widget popup window will open.
Select a widget cloning method and enter the required information. The required information varies depending on the cloning method.
| Division | Required | Detailed Description |
|---|
| Clone Target | - | Dashboard name to clone |
| Clone Method | Required | After cloning the widget, select the dashboard to add to- Existing Dashboard: Add the widget to an existing dashboard
- New Dashboard: Create a new dashboard and add the widget
|
| Dashboard Selection | Required | Select a dashboard to add the cloned widget from among previously created dashboards- Displayed when clone method is selected as Existing Dashboard
|
| Dashboard Name | Required | Enter the name of the dashboard to create- Displayed when clone method is selected as New Dashboard
- Enter within 3 to 40 characters using English letters, numbers, and special characters (
-_)
|
| Widget Name | Required | Enter the widget name when adding the widget to the dashboard- Enter within 3 to 255 characters using English letters, numbers, and special characters (
-_.|)
|
Table. Clone Widget Items
After entering the required information, click the Done button. A popup window will open announcing the widget addition.
Click the Confirm button in the popup window. The widget is cloned and added to the dashboard.
You can download widget information as a file.
Follow these steps to download widget information.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for which you want to download widget information. You will be taken to the Dashboard Detail page.
- Click the More > File Download button in the upper right corner of the widget for which you want to download widget information on the Dashboard Detail page. The File Download popup window will open.
- Select a file download method and click the Confirm button. The download will start.
- You can select multiple download methods at the same time.
| Division | Detailed Description |
|---|
| CSV | Convert the widget’s metrics and monitoring data to Excel (*.csv) file format and download |
| PNG | Convert the widget chart to image (*.png) file format and download |
Table. Widget File Download Items
You can view the resource and metric information of a widget on the Metrics page.
Follow these steps to view widget metrics on the metrics page.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for which you want to view widget metrics. You will be taken to the Dashboard Detail page.
- Click the More > View Metrics button in the upper right corner of the widget to view on the Metrics page on the Dashboard Detail page. You will be taken to the Metrics page.
- The resource and metric information of the selected widget are automatically set and displayed on the Metrics page.
Reference
For details on the
Metrics page, refer to
Viewing Metrics.
You can view the dashboard source code.
Note
You cannot view widget source information in service dashboards.
Follow these steps to view dashboard source code.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for which you want to view detailed information. You will be taken to the Dashboard Detail page.
- Click the More > View Source button in the upper right corner of the widget for which you want to view source code on the Dashboard Detail page. The Widget View Source popup window will open.
| Division | Detailed Description |
|---|
| Source Information | Display widget source code in JSON format |
| Copy Code | Copy source code to clipboard |
Table. Widget View Source Items
You can download widget information as a file.
Follow these steps to download widget information.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for which you want to download widget information. You will be taken to the Dashboard Detail page.
- Click the More > File Download button in the upper right corner of the widget for which you want to download widget information on the Dashboard Detail page. The File Download popup window will open.
- Select a file download method and click the Confirm button. The download will start.
- You can select multiple download methods at the same time.
| Division | Detailed Description |
|---|
| CSV | Convert the widget’s metrics and monitoring data to Excel (*.csv) file format and download |
| PNG | Convert the widget chart to image (*.png) file format and download |
Table. Widget File Download Items
Exporting to Object Storage
You can save widget information to Object Storage.
Note
User permissions are required to save to Object Storage.
- User: {email}
- Action: iam:CreatGroup
- On resource: {SRN}
- Context: no identity-based policy allows the action
Follow these steps to save widget information to Object Storage.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
- On the Dashboard List page, click the dashboard for which you want to download widget information. You will be taken to the Dashboard Detail page.
- Click the More > Export to Object Storage button in the upper right corner of the widget for which you want to download widget information on the Dashboard Detail page. The Export to Object Storage popup window will open.
- Select the bucket to save the widget information and click the Done button. A popup window will open announcing the save.
- Click the Confirm button in the popup window. The data export will start.
Note
- The limitations for metrics that can be exported to Object Storage are as follows.
- Number of metrics: Up to 10
- Query period: Within 2 months (63 days)
- If the query period exceeds 2 months (63 days), only data for up to 63 days will be saved.
Reference
- If there is no Object Storage to save metric data, create Object Storage and proceed.
- Metric data is saved in the file format “metric name-yyyymmddhhmmss.json” and can be viewed in the ~/servicewatch/metric path of the Object Storage bucket.
2 - Alert
In ServiceWatch, you can create and manage alert policies by setting threshold criteria for metrics to monitor, and generate alert notifications when the set conditions are met.
Creating an Alert Policy
You can create an alert policy for a metric to set the criteria for alert generation.
Follow the steps below to create an alert policy.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Alert > Alert Policy menu. You will be taken to the Alert Policy List page.
On the Alert Policy List page, click the Create Alert Policy button. You will be taken to the Create Alert Policy page.
In the Enter Basic Information area, enter the name and description of the alert policy, then click the Select Metric button. The Select Metric popup window opens.
In the Select Metric popup window, select the metric for which you want to create an alert policy, then click the Confirm button. The Metric and Condition Settings area is displayed.
| Category | Required | Description |
|---|
| Metric Category | Required | Filter and display the list of metrics available for monitoring in ServiceWatch by All or Key Metrics |
| Metric List Area | Required | List of metrics available for monitoring in ServiceWatch- Click the + button in front of namespace, dimension to view the lower-level list
- When you select a metric to monitor, it is displayed as a chart in the Selected Metric area
- If the metric is linked to a namespace, Service Dashboard is displayed
- Clicking Service Dashboard takes you to the detail page of that dashboard
|
| Search Filter Area | - | Set the search item to filter, then click the Apply Filter button to filter the metric list- Namespace-Dimension Name: Search based on the lower-level dimension name of the selected namespace
- Metric Name: Enter the exact metric name to search
- Resource Name: Enter the exact resource name to search
- Resource ID: Enter the exact resource ID to search
- Keyword: Search based on the selected upper category and the entered keyword
- Search for each item excluding metric name, resource name, resource ID, tag-Key
- Tag Key: Search with the selected tag Key
|
| Selected Metric Area | - | Monitoring chart for the metric selected in the metric list area- Data graph of data collected during the period applied to the chart
- Place the mouse cursor on the graph to display the time, data value, and metric data information of that point in a popup
- Drag the mouse to zoom in on a specific area of the graph
- Click the label name displayed in the legend to display detailed information about that legend in a popup
- In the chart display area, you can check and modify the labels, statistics, and aggregation period by legend
- Legend: Color by legend
- Click the legend color to change to another color
- Period: Period applied to the chart
- Metric: Displays the namespace, resource name, and metric name of the selected metric
- Statistics: Select the method for aggregating metric data
- Can select from Average (default), Minimum, Maximum, Sum
- Aggregation Period: Select the aggregation period unit of the metric value
- Can select from 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours, 1 day
- Delete: Delete that legend
|
Table. Select Metric Popup Items
In the Metric and Condition Settings area, set the threshold for alert generation.
| Category | Required | Description |
|---|
| Namespace | - | Namespace of the selected metric |
| Metric Name | - | Name of the selected metric |
| Unit | - | Data unit of the selected metric |
| Evaluation Range | Required | Time (seconds) range for alert evaluation- Can enter up to 604,800 seconds in multiples of 60
- If set smaller than the collection period or not in multiples of the collection period, alert evaluation may be applied abnormally
|
| Statistics | Required | Select the method for calculating metric data during the evaluation range- Sum: Sum of all data point values collected during that period
- Average: Value of dividing the Sum during the specified period by the number of data points during that period
- Minimum: Lowest value observed during the specified period
- Maximum: Highest value observed during the specified period
|
| Additional Configuration | Optional | Set the number of evaluations, number of violations, and method for handling missing data- When additional configuration is set to Enable, you can set the number of evaluations and number of violations used when evaluating alerts. If the violation count condition is met out of the number of evaluations during the evaluation range (seconds), the alert status changes to Alert
- Number of Evaluations: Number of evaluations for alert generation
- Number of Violations: Number of allowed violations until alert generation
- Can enter 1 ~ within Number of Evaluations
- If the evaluation range is less than 1 hour (3,600 seconds), Number of Evaluations/Evaluation Range can be set up to maximum 1 day (86,400 seconds)
- If the evaluation range is 1 hour (3,600 seconds) or more, Number of Evaluations/Evaluation Range can be set up to maximum 7 days (604,800 seconds)
- When additional configuration is set to Enable, you can set how to handle missing data when evaluating alerts.
- Treat missing data as missing (Missing)
- Treat missing data as ignore to maintain current alert status (Ignore)
- Treat missing data as satisfying the condition (Breaching)
- Treat missing data as normal that does not satisfy the condition (Not breaching)
|
| Condition Setting | Required | - Condition Operator: Select the condition operator to compare the calculated metric data value during the evaluation range with the threshold
- Threshold: Set the threshold to compare with the calculated metric data value during the evaluation range using the condition operator
- Can enter 0 ~ 2,147,483,647
- Condition: Description of the condition for alert status (Alert) change according to the set Condition Operator and Threshold
|
| Alert Level | Required | Select the alert level according to the importance of the alert policy |
| Resource ID | - | Resource ID of the metric monitoring target |
| Resource Name | - | Resource name of the metric monitoring target |
Table. Metric and Condition Settings Items
In the Notification Settings area, select the users to receive notifications when an alert occurs.
- Only users with login history (users who have registered email, mobile phone number) can be added as notification recipients.
- You can add up to 100 notification recipients.
Note
- If there is no user you want to add, you can create a user on the Create User page of the IAM service. For more information about creating a user, see Creating a User.
- The notification method (E-mail or SMS) can be changed by selecting the notification target as Service > Alert on the Notification Settings page. For more information about notification settings, see Checking Notification Settings.
In the Enter Additional Information area, add tag information.
After checking the summary information, click the Create button. A popup window announcing the creation of the alert policy opens.
Click the Confirm button. The alert policy creation is completed.
Note
Creating an alert policy may take more than several tens of minutes depending on the scale.
Viewing Alert Policy Details
You can view and manage detailed information about an alert policy.
To view detailed information about an alert policy, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Alert > Alert Policy menu. You will be taken to the Alert Policy List page.
- You can also click the Alert Level button displayed in the Alert Policy menu to view only the list of alert policies corresponding to that alert level.
- On the Alert Policy List page, click the alert policy name for which you want to view detailed information. You will be taken to the Alert Policy Details page.
| Category | Description |
|---|
| Alert Policy Status | Status of the alert policy- Active: Alert policy is activated
- Inactive: Alert policy is deactivated
- Can be changed by clicking the Activate or Deactivate button
|
| Alert Policy Deletion | Delete the corresponding alert policy |
| Alert Status | Current alert status- Normal: When the metric does not meet the set condition
- Insufficient data: When metric data cannot be checked (missing, non-existent, not arrived)
- Alert: When the metric meets the set condition
- When alert status is Alert, the alert level (>High, Middle, Low) is also displayed
|
| Metric Monitoring Chart | Metric monitoring chart during the set period |
| Information Category Tabs | Information category tabs for the alert policy- Detailed Information, Notifications, Alert History, Tags, Operation History
- Click each tab to view the corresponding information
|
Table. Alert Details Items
Note
When sorting alert policy names in the alert policy 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
You can view the basic information and metric information of the alert policy selected on the Alert Policy List page.
| Category | Description |
|---|
| Service | Service name |
| Resource Type | Resource type |
| SRN | Unique resource ID in Samsung Cloud Platform- In ServiceWatch, means the SRN of the resource type
|
| Resource Name | Resource name- In ServiceWatch, means the name of the alert policy
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the service |
| Creation Date | Date and time when the service was created |
| Modifier | User who modified the service information |
| Modification Date | Date and time when the service information was modified |
| Alert Policy Name | Name of the alert policy |
| Namespace | Namespace of the metric |
| Metric Name | Name of the metric |
| Evaluation Range | Time range for alert evaluation |
| Unit | Unit of metric data |
| Number of Evaluations | Number of alert policy evaluations |
| Number of Violations | Number of alert policy violations |
| Statistics | Method for calculating metric data during the evaluation range |
| Evaluation Interval | Evaluation interval: Evaluation range (unit) x Number of evaluations |
| Condition | Condition for alert status (Alert) change according to the set Condition Operator and Threshold |
| Alert Level | Alert level when alert occurs |
| Target Metric Information Area | Description, resource ID, and resource name of the target metric of the alert policy |
Table. Alert Policy Details - Detailed Information Tab Items
Notifications
You can view the notification recipients of the alert policy selected on the Alert Policy List page.
| Category | Description |
|---|
| Notification Recipient List | User ID, creation date, last login, status information- Click the More button to change the notification status (activated/deactivated) for that user or delete the user
|
| Delete | Delete all selected users from the notification recipient list- Activated when you check the user to delete from the notification recipient list
|
| More | Change the notification status (activated/deactivated) for the selected user in the notification recipient list- Activated when you check the user to change the status in the notification recipient list
|
| Add Notification Recipient | Can add a new notification recipient- Select the user to add in the Add Notification Recipient popup window
|
Table. Alert Policy Details - Notifications Tab Items
Note
- Only users with login history (users who have registered email, mobile phone number) can be added as notification recipients.
- You can add up to 100 notification recipients.
- If there is no user you want to add, you can create a user on the Create User page of the IAM service. For more information about creating a user, see Creating a User.
- The notification method (E-mail or SMS) can be changed by selecting the notification target as Service > Alert on the Notification Settings page. For more information about notification settings, see Checking Notification Settings.
Alert History
You can view the history of alert status changes for the alert policy selected on the Alert Policy List page.
| Category | Description |
|---|
| Alert History List | Alert status change date and time, change status category information, alert description- Click View Details to view detailed information of that alert history and source code in JSON format
|
| View Details | Can view detailed information of alert history and source code in JSON format- Activated only when you select 1 alert to view detailed information in the alert history list
|
Table. Alert Policy Details - Alert History Tab Items
You can view the tag information of the alert policy selected on the Alert Policy List page, and add, change, or delete it.
| Category | Description |
|---|
| Tag List | Key, Value information of tags |
| Modify Tags | Can modify or delete existing tag information or add new tags- Can add up to 50 tags per resource
- When adding a tag, if you enter the Key and Value values, you can select from the list of previously created tag Keys and Values
|
Table. Alert Policy Details - Tags Tab Items
Operation History
You can view the operation history of the alert policy selected on the Alert Policy List page.
| Category | Description |
|---|
| Operation History List | Resource change history- Can view operation details, operation date and time, resource type, resource name, operation result, operator information
- Click the Settings button to change information items
- Can filter using Period Selection, User Time Zone, operator information input, Detailed Search
- Click the operation details in the Operation History List to go to the Activity History Details page of that operation
|
Table. Alert Policy Details - Operation History Tab Items
Modifying an Alert Policy
You can modify the target metric and policy settings of an alert policy.
To modify an alert policy, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Alert > Alert Policy menu. You will be taken to the Alert Policy List page.
- On the Alert Policy List page, click the alert policy name for which you want to view detailed information. You will be taken to the Alert Policy Details page.
- On the Alert Policy Details page, click the Modify button in the Metric Information of the Detailed Information tab. The Modify Metric Information popup window opens.
- After modifying the metric information and policy settings, click the Confirm button. A popup window announcing the metric modification opens.
- Click the Confirm button. The alert policy modification is completed.
Deleting an Alert Policy
You can delete unused alert policies.
To delete an alert policy, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Alert > Alert Policy menu. You will be taken to the Alert Policy List page.
- On the Alert Policy List page, select the checkbox of the alert policy you want to delete, then click the Delete button. A popup window announcing the deletion of the alert policy opens.
- You can delete multiple alert policies at the same time.
- You can also individually delete by clicking the Delete button at the right end of each alert policy or by clicking the Delete Alert Policy button on the corresponding Alert Policy Details page.
- Click the Confirm button. The alert policy is deleted.
Note
Deleting an alert policy may take more than several tens of minutes depending on the scale.
3 - Metric
Users can monitor metrics for service resources in Samsung Cloud Platform Console and use them for management.
Viewing Metrics
You can view the metrics available in ServiceWatch.
To view metrics, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Metric menu. You will be taken to the Metric page.
- Check the metrics in the metric list on the Metric page.
| Category | Description |
|---|
| Metric Comparison Mode | Select the method to compare metrics- Metric Comparison: Compare multiple metrics and resources
- Date Comparison: Compare a single metric and resource over multiple periods
- Only one metric can be selected
|
| Metric Category | Filter and display the list of metrics available for monitoring in ServiceWatch by All or Key Metrics |
| Metric List Area | List of metrics available for monitoring in ServiceWatch- Click the + button in front of namespace, dimension to view the lower-level list
- Select a metric to monitor
- If the metric is linked to a namespace, Service Dashboard is displayed
- Clicking Service Dashboard takes you to the detail page of that dashboard
|
| Search Filter Area | Set the search item to filter, then click the Apply Filter button to filter the metric list- Namespace-Dimension Name: Search based on the lower-level dimension name of the selected namespace
- Metric Name: Enter the exact metric name to search
- Resource Name: Enter the exact resource name to search
- Resource ID: Enter the exact resource ID to search
- Keyword: Search based on the selected upper category and the entered keyword
- Search for each item excluding metric name, resource name, resource ID, tag-Key
- Tag Key: Search with the selected tag Key
|
| Selected Metric | Display monitoring information of the metric selected in the metric list |
Table. Metric List Items
Managing Metric Charts
You can add metric monitoring result charts as widgets or manage data.
You can add selected metrics as widgets to a dashboard.
Guide
You can only add as a widget when the metric comparison mode is selected as Metric Comparison.
To add a metric as a widget, follow the steps below.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Metric menu. You will be taken to the Metric page.
Select the metric to monitor in the metric list on the Metric page. The monitoring chart for the selected metric is displayed in the Selected Metric area at the bottom.
Set the chart area in the monitoring chart in the Selected Metric area, then click the More > Add Widget button. The Add Widget popup window opens.
Select the widget addition method and enter the required information. Required information varies depending on the addition method.
| Category | Required | Description |
|---|
| Duplication Method | Required | Select the dashboard to add after duplicating the widget- Existing Dashboard: Add widget to existing dashboard
- New Dashboard: Create a new dashboard and add widget
|
| Dashboard Selection | Required | Select the dashboard to add the duplicated widget among existing dashboards- Displayed when duplication method is selected as Existing Dashboard
|
| Dashboard Name | Required | Enter the name of the dashboard to be newly created- Displayed when duplication method is selected as New Dashboard
- Enter within 3 ~ 40 characters using English, numbers, and special characters (
-_)
|
| Widget Name | Required | Enter the name of the widget when adding the widget to the dashboard- Enter within 3 ~ 255 characters using English, numbers, and special characters (
-_.|)
|
Table. Add Widget Items
After entering the required information, click the Complete button. A popup window announcing the widget addition opens.
Click the Confirm button in the popup window. The widget is added to the dashboard.
Sharing Monitoring Chart URL
You can download monitoring chart information in file format.
To download monitoring chart information, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Metric menu. You will be taken to the Metric page.
- Select the metric to monitor in the metric list on the Metric page. The monitoring chart for the selected metric is displayed in the Selected Metric area at the bottom.
- Set the chart area in the monitoring chart in the Selected Metric area, then click the More > Share URL button. The Share URL popup window opens.
- Click the Copy URL button in the Share URL popup window. The generated URL is copied.
- Information in the monitoring chart is provided in the form of a metadata link.
Downloading Monitoring Chart File
You can download monitoring chart information in file format.
To download monitoring chart information, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Metric menu. You will be taken to the Metric page.
- Select the metric to monitor in the metric list on the Metric page. The monitoring chart for the selected metric is displayed in the Selected Metric area at the bottom.
- Set the chart area in the monitoring chart in the Selected Metric area, then click the More > Download File button. The Download File popup window opens.
- Select the file download method, then click the Confirm button. Download starts.
- You can select download methods simultaneously.
| Category | Description |
|---|
| CSV | Convert chart metrics and monitoring data to Excel (*.csv) files and download |
| PNG | Convert chart to image (*.png) files and download- Can only be selected when metric comparison mode is selected as Metric Comparison
- Can download up to 100 metric data
|
Table. Metric Monitoring File Download Items
Exporting to Object Storage
You can save monitoring chart data to Object Storage.
Guide
User permission is required to save to Object Storage.
- User: {email}
- Action: iam:CreatGroup
- On resource: {SRN}
- Context: no identity-based policy allows the action
To save monitoring chart data to Object Storage, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Metric menu. You will be taken to the Metric page.
- Select the metric to monitor in the metric list on the Metric page. The monitoring chart for the selected metric is displayed in the Selected Metric area at the bottom.
- Set the chart area in the monitoring chart in the Selected Metric area, then click the More > Export to Object Storage button. The Export to Object Storage popup window opens.
- Select the bucket to save data, then click the Complete button. A popup window announcing data saving opens.
- Click the Confirm button in the popup window. Data export starts.
Guide
- Limitations of metrics that can be exported to Object Storage are as follows.
- Number of metrics: Up to 10
- Query period: Within 2 months (63 days)
- If the query period exceeds 2 months (63 days), only data for up to 63 days is saved.
Note
- If there is no Object Storage to save metric data, create Object Storage and proceed.
- Metric data is saved in the “metricname-yyyymmddhhmmss.json” file format and can be checked in the ~/servicewatch/metric path of the Object Storage bucket.
Viewing Monitoring Chart Source
You can view the source code of the monitoring chart.
Guide
You can only view the source code when the metric comparison mode is selected as Metric Comparison.
To view the source code of the monitoring chart, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Metric menu. You will be taken to the Metric page.
- Select the metric to monitor in the metric list on the Metric page. The monitoring chart for the selected metric is displayed in the Selected Metric area at the bottom.
- Set the chart area in the monitoring chart in the Selected Metric area, then click the More > View Source button. The View Widget Source popup window opens.
| Category | Description |
|---|
| Source Information | Display source code of monitoring chart in JSON format |
| Copy Code | Copy source code to clipboard |
Table. Monitoring Chart View Source Items
4 - Logs
In ServiceWatch, you can create and manage log groups to generate alert notifications when set conditions are met by setting threshold criteria for metrics to monitor.
Creating a Log Group
You can create a log group for metrics.
Follow these steps to create a log group.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
On the Log Group List page, click the Create Log Group button. You will be taken to the Create Log Group page.
Enter the basic information and tag information required to create a log group.
| Division | Required | Detailed Description |
|---|
| Log Group Name | Required | Enter the name of the log group to monitor in ServiceWatch- Enter within 3 to 512 characters using English letters, numbers, and special characters (
-_./#)
|
| Log Retention Policy | Required | Select the period to retain monitored log data |
| Tag | Optional | Add tag information- You can add up to 50 tags per resource
- When adding a tag, after entering Key and Value values, you can select from the list of existing tag Keys and Values
|
Table. Create Log Group Items
After checking the summary information, click the Create button. A popup window will open announcing the log group creation.
Click the Confirm button. The log group creation is complete.
You can view and manage detailed information about log groups.
Follow these steps to view detailed information about log groups.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
- On the Log Group List page, click the log group name for which you want to view detailed information. You will be taken to the Log Group Detail page.
| Division | Detailed Description |
|---|
| Log Group Status | Status of the log group- Active: Log group is activated
- Inactive: Log group is deactivated
|
| Export Log Group | Save log data of the log group to Object Storage |
| Delete Log Group | Delete the corresponding log group |
| Information Division Tab | Information division tabs for the log group- Detailed information, Log Streams, Tags, Operation History
- Click each tab to view the corresponding information
|
Table. Log Group Detail Items
Reference
On the Log Group List page, you can export data by clicking the More > Export Log Group button of the log group to save to Object Storage.
Reference
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
You can view basic information and log group information for the log group selected on the Log Group List page.
| Division | Detailed Description |
|---|
| Service | Service name |
| Resource Type | Resource type |
| SRN | Unique resource ID in Samsung Cloud Platform- In ServiceWatch, it means the SRN of the resource type
|
| Resource Name | Resource name- In ServiceWatch, it means the log group name
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the service |
| Created Date | Date and time when the service was created |
| Modifier | User who modified the service information |
| Modified Date | Date and time when the service information was modified |
| Log Group Name | Log group name |
| Log Retention Policy | Retention period of log data- Click the Edit button to change the retention period
|
| Log Data | Total stored log data capacity (bytes) |
Table. Log Group Detail - Detailed Information Tab Items
Reference
Log data is the total stored log data (bytes). It may take time for the log aggregation capacity to be reflected.
Log Streams
You can view log streams for the log group selected on the Log Group List page.
| Division | Detailed Description |
|---|
| View All Streams | Can view detailed information 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 change date- Click the log stream name to view detailed information of that log stream
- Click the Delete button to delete that log stream
- After checking the log stream to delete, click the More > Delete button at the top of the list to delete simultaneously
|
Table. Log Group Detail - Log Stream Tab Items
Log Patterns
You can view log patterns for the log group selected on the Log Group List page.
| Division | Detailed Description |
|---|
| Log Pattern List | Log 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 detailed page of that item
- Click the metric name to go to the metrics page containing that metric name in the search term
- Click the alert policy name to go to the detailed page of that alert policy
- Click the More button to perform additional tasks
- Edit, Delete: Edit or delete that log pattern
- Create Alert Policy: Go to the alert policy creation page
|
| Delete | Delete all selected log patterns from the log pattern list- Activated when you check the log pattern in the log pattern list
|
| Create Log Pattern | Create a new log pattern |
Table. Log Group Detail - Log Pattern Tab Items
You can view tag information for the log group selected on the Log Group List page, and add, modify, or delete them.
| Division | Detailed Description |
|---|
| Tag List | Key, Value information of tags |
| Edit Tag | Modify or delete existing tag information or add new tags- You can add up to 50 tags per resource
- When adding a tag, after entering Key and Value values, you can select from the list of existing tag Keys and Values
|
Table. Log Group Detail - Tags Tab Items
Operation History
You can view the operation history of the log group selected on the Log Group List page.
| Division | Detailed Description |
|---|
| Operation History List | Resource change history- Can view operation details, operation date, resource type, resource name, operation result, operator information
- Click the Settings button to change information items
- Can filter using Period Selection, User Time Zone, operator information input, Detailed Search
- When you click the operation details in the Operation History List, you will be taken to the Activity History Detail page for that operation
|
Table. Log Group Detail - Operation History Tab Items
Managing Log Streams
You can create and manage log streams.
Creating a Log Stream
You can create a new log stream in a log group.
Follow these steps to create a log stream.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. You will be taken 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. You will be taken to the Log Group Detail page.
- On the Log Group Detail page, click the Log Stream tab. The log stream list is displayed.
- Click the Create Log Stream button. The Create Log Stream popup window will open.
- After entering the Log Stream Name, click the Create button. The log stream creation is complete.
- Enter the name within 3 to 512 characters using English letters and numbers.
You can view and manage detailed information about log streams.
Follow these steps to view detailed information about log streams.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
- On the Log Group List page, click the log group name for which you want to view detailed information. You will be taken to the Log Group Detail page.
- On the Log Group Detail page, click the Log Stream tab. The Log Stream list is displayed.
- On the Log Stream list, click the log stream name for which you want to view detailed information. You will be taken to the Log Stream Detail page.
| Division | Detailed Description |
|---|
| Excel Download | Download log stream history as an Excel file |
| Timestamp List | Message list by timestamp- Can filter using Period Selection, User Time Zone, and message input
|
Table. Log Group Detail - Log Stream Detail Items
Reference
When you click the View All Log Streams button at the top of the log stream list, you will be taken to the All Log Streams Detail page.
Deleting a Log Stream
You can delete unused log streams.
Follow these steps to delete a log stream.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
- On the Log Group List page, click the log group name for which you want to delete a log stream. You will be taken to the Log Group Detail page.
- On the Log Group Detail page, click the Log Stream tab. The log stream list is displayed.
- On the log stream list, select the checkbox of the log stream to delete and click the More > Delete button. A popup window will open announcing the log stream deletion.
- You can delete multiple log streams at the same time.
- You can also delete individually by clicking the Delete button at the right end of each log stream.
- Click the Confirm button. The log stream is deleted.
Managing Log Patterns
Creating a Log Pattern
Follow these steps to create a log pattern.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Log > Log Group menu. You will be taken 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. You will be taken to the Log Group Detail page.
On the Log Group Detail page, click the Log Pattern tab. The log pattern list is displayed.
Click the Create Log Pattern button. You will be taken to the Create Log Pattern page.
Set the basic information and metric information required to create a log group.
- Enter and select basic information for the log pattern in the Basic Information area.
| Division | Required | Detailed Description |
|---|
| Log Pattern Name | Required | Enter the name of the log pattern- Enter within 3 to 512 characters using English letters, numbers, and special characters (
-_./#)
|
| Pattern Format | Required | Select or directly enter the pattern format- Pattern Format: Select one of string pattern, space-separated pattern, JSON format pattern provided as pattern format
- Direct Input: After selecting one of string pattern, space-separated pattern, JSON format pattern, enter within 1 to 1,024
|
| Pattern Test | Optional | Directly enter or select log data to verify using the pattern- Direct Input: Directly enter the log data to use in Log Event Message
- Separate log events using line breaks
- Can enter up to 50 log events
- Can enter within 1 to 1,024 bytes for one log event
- Select log data: Select the log data to use
- When selecting log data, the corresponding log data is displayed in Log Event Message
- Test Pattern: Perform test on log event message
- When test succeeds, test result is displayed at the bottom
|
Table. Create Log Pattern - Basic Information Items
- Enter and select metric information in the Metric Information area.
| Division | Required | Detailed Description |
|---|
| Namespace | Required | Select the namespace for the log pattern- If there is no namespace for the log pattern, select Create New to create a new one
- Namespace Name: When creating a new namespace, enter within 3 to 128 characters using English letters, numbers, spaces, and special characters (
-_\/#)
|
| Metric Name | Required | Enter the name of the metric- Enter within 3 to 128 characters using English letters, numbers, and special characters (
_)
|
| Metric Value | Required | Enter the metric value- Enter a number of 0 or higher or
$indetifier
|
| Default Value | Optional | Enter if using the default value- Enter as a float value of 0 or higher
- Cannot use Dimension when using default value
|
| Unit | Required | Select the metric unit |
| Dimension | Optional | Set the dimension of the metric created by the log pattern- Can be used only when Log Pattern Format is space-separated pattern or JSON format pattern
- Cannot be used when entering Default Value
- When you check Use, you can add custom dimension fields
- After clicking the Add button, enter Field Name and Field Value to add
|
Table. Create Log Pattern - Metric Information Items
After checking the summary information, click the Create button. A popup window will open announcing the log pattern creation.
Click the Confirm button. The log pattern creation is complete.
Follow these steps to view detailed information about a log pattern.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
- On the Log Group List page, click the log group name for which you want to view detailed information. You will be taken to the Log Group Detail page.
- On the Log Group Detail page, click the Log Pattern tab. The log pattern list is displayed.
- On the Log Pattern list, click the log pattern name for which you want to view detailed information. You will be taken to the Log Pattern Detail page.
| Division | 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 |
| Creator | User who created the log pattern |
| Created Date | Date and time when the log pattern was created |
| Modifier | User who modified the log pattern information |
| Modified Date | Date and time when the log pattern information was modified |
| Pattern | Pattern format |
| Metric Information | Metric information of the pattern group- Namespace name, metric name, metric value, default value, unit, alert policy name, dimension name
- Click the Edit button to modify Metric Value, Default Value, Unit information
|
Table. Log Pattern Detail Items
Deleting a Log Pattern
Follow these steps to delete a log pattern.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
- On the Log Group List page, click the log group name for which you want to delete a log pattern. You will be taken to the Log Group Detail page.
- On the Log Group Detail page, click the Log Pattern tab. The log pattern list is displayed.
- On the log pattern list, select the checkbox of the log pattern to delete and click the Delete button. A popup window will open announcing the log pattern deletion.
- You can delete multiple log patterns at the same time.
- You can also delete individually by clicking the More > Delete button at the right end of each log pattern or by clicking the Delete Log Pattern button on the log pattern detail page.
- Click the Confirm button. The log pattern is deleted.
Exporting Log Group
You can save log group data to Object Storage.
Follow these steps to save log group data to Object Storage.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Log > Export Log Group menu. You will be taken to the Export Log Group List page.
On the Export Log Group List page, click the Export Log Group button. You will be taken to the Export Log Group page.
| Division | Required | Detailed Description |
|---|
| Select Log Group | Required | Select the log group to save to Object Storage- If there are log streams included in the log group, click the Select button to select the log streams to save
- If you do not select a log group, all data of the log group is saved
|
| Select Period | Optional | Select the user time zone and data storage interval- For the data storage interval, you can select the desired interval in the Time Setting area or click the Direct Input button to set the start and end date and time
|
| Storage Bucket | Required | Select the bucket to save data- You can add up to 50 tags per resource
- When adding a tag, after entering Key and Value values, you can select from the list of existing tag Keys and Values
|
Table. Export Log Group Items
After selecting the bucket to save the data, click the Done button. A popup window will open announcing the data save.
Click the Confirm button in the popup window. The data export will start.
- You can check the progress on the Export Log Group List page.
Reference
- If there is no Object Storage to save log group data, create Object Storage and proceed.
- Log group data export may take more than tens of minutes depending on the scale.
- If there is a log group export task in progress within the Account, you must complete the task in progress first before proceeding with the export.
- On the Export Log Group List page, you can cancel the task by clicking the More > Cancel Log Group Export button of the log group for which the export task is in progress.
Deleting a Log Group
You can delete unused log groups.
Warning
- Files saved to Object Storage through Export Log Group are not deleted. However, the log group export history is deleted together.
- If you delete a log group for which Export Log Group is in progress, the export task will not proceed normally.
Follow these steps to delete a log group.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
- On the Log Group List page, select the checkbox of the log group to delete and click the Delete button. A popup window will open announcing the log group deletion.
- You can delete multiple log groups at the same time.
- You can also delete individually by clicking the Delete button at the right end of each log group or by clicking the Delete Log Group button on the corresponding Log Group Detail page.
- Click the Confirm button. The log group is deleted.
5 - Events
In ServiceWatch, you can view and handle events generated from Samsung Cloud Platform services.
Creating an Event Rule
You can create an event rule to receive notifications when an event occurs.
Follow these steps to create an event rule.
Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
On the Service Home page, click the Event Rule menu. You will be taken to the Event Rule List page.
On the Event Rule List page, click the Create Event Rule button. You will be taken to the Create Event Rule page.
In the Enter Basic Information area, enter the name and description of the event rule.
In the Set Event Pattern area, set the required information. The set event pattern is entered in JSON code format in the Event Pattern Setting Status.
| Division | Required | Detailed Description |
|---|
| Event Source | Required | Select the service name of the event you want to receive in ServiceWatch |
| Event Type | Required | Select the event type of the event source to use in the event rule- Classified the same as resource type
|
| Applied Event | Required | Select the events to apply the event pattern among events occurring in the event type- All Events: Apply all events occurring in the event type
- Individual Events: Select events to set as event patterns among events occurring in the event type
|
| Applied Resource | Required | Select resources to apply the event pattern- All Resources: Set event patterns for all events occurring from all resources
- Individual Resources: Set event patterns for corresponding events occurring from specific resources
- When selecting individual resources, the event resource selection area is displayed
- Click the Add Resource button to select resources
- You can delete added resources by selecting the resource from the resource list and clicking the Delete button
|
| Event Pattern Setting Status | - | Display converted to JSON code format according to the event pattern setting values- Reset when event pattern setting values change
- You can copy the source code by clicking the Copy Code item
|
Table. Event Pattern Setting Items
In the Notification Setting area, select users to receive notifications when an event occurs.
- Only users with login history (users who have registered email and mobile phone number) can be added as notification recipients.
- You can add up to 100 notification recipients.
Reference
- If there is no user to add, you can create a user on the Create User page of the IAM service. For details on user creation, refer to Creating a User.
- You can change the notification method (E-mail or SMS) by selecting the notification target as Service > Event Rule on the Notification Setting page. For details on notification settings, refer to Checking Notification Settings.
In the Enter Additional Information area, add tag information.
After checking the summary information, click the Create button. A popup window will open announcing the event rule creation.
Click the Confirm button. The event rule creation is complete.
You can view and manage detailed information about event rules.
Follow these steps to view detailed information about event rules.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Event Rule menu. You will be taken to the Event Rule List page.
- On the Event Rule List page, click the event name for which you want to view detailed information. You will be taken to the Event Rule Detail page.
| Division | Detailed Description |
|---|
| Event Rule Status | Status of the event rule- Active: Event rule is activated
- Inactive: Event rule is deactivated
- Can be changed by clicking the Activate or Deactivate button
|
| Delete Event Rule | Delete the corresponding event rule |
| Information Division Tab | Information division tabs for the alert policy- Detailed information, Notifications, Tags, Operation History
- Click each tab to view the corresponding information
|
Table. Event Rule Detail Items
You can view basic information and event rule information for the event rule selected on the Event Rule List page.
| Division | Detailed Description |
|---|
| Service | Service name |
| Resource Type | Resource type |
| SRN | Unique resource ID in Samsung Cloud Platform- In ServiceWatch, it means the SRN of the resource type
|
| Resource Name | Resource name- In ServiceWatch, it means the event rule name
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the service |
| Created Date | Date and time when the service was created |
| Modifier | User who modified the service information |
| Modified Date | Date and time when the service information was modified |
| Event Rule Name | Event rule name |
| Event Pattern Setting Status | Display event pattern setting values in JSON code format- Click the Edit button to modify the event pattern
- You can copy the source code by clicking the Copy Code item
|
| Description | Description of the event rule- Click the Edit button to modify the description
|
Table. Alert Policy Detail - Detailed Information Tab Items
Notifications
You can view notification recipients for the event rule selected on the Event Rule List page.
| Division | Detailed Description |
|---|
| Notification Recipient List | User ID, creation date, last login, status information- Click the More button to change the notification status (activated/deactivated) for that user or delete the user
|
| Delete | Delete all selected users from the notification recipient list- Activated when you check the user to delete from the notification recipient list
|
| More | Change notification status for selected users from the notification recipient list (activated/deactivated)- Activated when you check the user to change status from the notification recipient list
|
| Add Notification Recipient | Add a new notification recipient- Select the user to add in the Add Notification Recipient popup window
|
Table. Event Rule Detail - Notifications Tab Items
Reference
- Only users with login history (users who have registered email and mobile phone number) can be added as notification recipients.
- You can add up to 100 notification recipients.
- If there is no user to add, you can create a user on the Create User page of the IAM service. For details on user creation, refer to Creating a User.
- You can change the notification method (E-mail or SMS) by selecting the notification target as Service > Event Rule on the Notification Setting page. For details on notification settings, refer to Checking Notification Settings.
You can view tag information for the event rule selected on the Event Rule page, and add, modify, or delete them.
| Division | Detailed Description |
|---|
| Tag List | Key, Value information of tags |
| Edit Tag | Modify or delete existing tag information or add new tags- You can add up to 50 tags per resource
- When adding a tag, after entering Key and Value values, you can select from the list of existing tag Keys and Values
|
Table. Event Rule Detail - Tags Tab Items
Operation History
You can view the operation history of the event rule selected on the Alert Policy List page.
| Division | Detailed Description |
|---|
| Operation History List | Resource change history- Can view operation details, operation date, resource type, resource name, operation result, operator information
- Click the Settings button to change information items
- Can filter using Period Selection, User Time Zone, operator information input, Detailed Search
- When you click the operation details in the Operation History List, you will be taken to the Activity History Detail page for that operation
|
Table. Event Rule Detail - Operation History Tab Items
Modifying Event Pattern
You can modify the event pattern.
Follow these steps to modify the event pattern.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Event Rule menu. You will be taken to the Event Rule List page.
- On the Event Rule List page, click the event name for which you want to modify the event pattern. You will be taken to the Event Rule Detail page.
- Click the Edit button in the Event Pattern Setting Status on the Event Rule Detail page. The Edit Event Pattern popup window will open.
- After modifying the event pattern settings, click the Confirm button. A popup window will open announcing the event pattern modification.
- Click the Confirm button. The event pattern modification is complete.
Deleting an Event Rule
You can delete unused event rules.
Follow these steps to delete an event rule.
- Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
- On the Service Home page, click the Event Rule menu. You will be taken to the Event Rule List page.
- On the Event Rule List page, select the checkbox of the event rule to delete and click the Delete button. A popup window will open announcing the event rule deletion.
- You can delete multiple event rules at the same time.
- You can also delete individually by clicking the More > Delete button at the right end of each alert policy or by clicking the Delete Event Rule button on the corresponding Event Rule Detail page.
- Click the Confirm button. The event rule is deleted.
6 - Using ServiceWatch Agent
Users can install ServiceWatch Agent on Virtual Server/GPU Server/Bare Metal Server, etc. to collect custom metrics and logs.
Note
Custom metric/log collection through ServiceWatch Agent is currently only available in Samsung Cloud Platform For Enterprise. It is planned to be provided in other offerings in the future.
Warning
Metric collection through ServiceWatch Agent is classified as custom metrics and incurs charges unlike metrics that are basically collected from each service, so be careful not to set up unnecessary metric collection. Make sure to set it up so that only metrics that need to be collected are collected.
ServiceWatch Agent
The agents that need to be installed on a server for custom metric and log collection of ServiceWatch can be largely divided into two types.
Prometheus Exporter and Open Telemetry Collector.
| Category | Description | |
|---|
| Prometheus Exporter | Provides metrics of a specific application or service in a format that Prometheus can scrape- For OS metric collection of the server, you can use Node Exporter for Linux servers and Windows Exporter for Windows servers depending on the OS type.
- Target
- Multi-node GPU Cluster > GPU Node
- You can use DCGM (NVIDIA Data Center GPU Manager) Exporter for GPU metrics.
- Target
- Multi-node GPU Cluster > GPU Node
| |
| Open Telemetry Collector | Acts as a centralized collector that collects telemetry data such as metrics and logs of distributed systems, processes them (filtering, sampling, etc.), and sends them to multiple backends (e.g., Prometheus, Jaeger, Elasticsearch, etc.)- Enables ServiceWatch to collect metric and log data by sending data to ServiceWatch Gateway.
- This guide explains how to use the Open Telemetry Collector provided by ServiceWatch.
| |
Table. Description of Prometheus Exporter and Open Telemetry Collector
Note
To link server log files to ServiceWatch through ServiceWatch Agent, you must first create a log group and log streams within the log group.
- For more information about creating log groups and log streams, see Logs.
Pre-environment Configuration for ServiceWatch Agent
You must add Security Group and Firewall rules for communication between ServiceWatch Agent and ServiceWatch.
Note
Bare Metal Server does not support Security Group.
Adding Security Group Rules
- To send data collected from ServiceWatch Agent installed on Virtual Server/GPU Server to ServiceWatch, you must add rules to the Security Group as follows.
Table. Security Group Rules for ServiceWatch Agent Communication
Adding Firewall Rules
- If firewall is enabled on the Internet Gateway of the VPC, you must add Firewall rules as follows.
Table. Internet Gateway Firewall Rules for ServiceWatch Agent Communication
ServiceWatch OpenAPI Endpoint IP Address
The Endpoint IP address required for ServiceWatch Agent to send collected data to ServiceWatch is as follows.
Table. ServiceWatch OpenAPI Endpoint Information
Configuring Open Telemetry Collector for ServiceWatch
To use Open Telemetry Collector for ServiceWatch metric and log collection on a server, install it in the following order.
Download the Agent file from the URL where you can download the Agent file for ServiceWatch.
Guide
The file download link for ServiceWatch Agent installation will be provided through Samsung Cloud Platform Console announcements and
Support Center > Contact Us.
wget [ServiceWatch Agent File Download URL]
wget [ServiceWatch Agent File Download URL]
Code Block. ServiceWatch Agent Installation File Download CommandThe Open Telemetry Collector Agent file for ServiceWatch can be checked as follows.
- Extract the Agent file for ServiceWatch.
unzip ServiceWatch_Agent.zip
unzip ServiceWatch_Agent.zip
Code Block. Extracting ServiceWatch Agent File - If the environment using ServiceWatch Agent is Linux OS, you must grant execution permissions as follows.
chmod +x agent/otelcontribcol_linux_amd64
chmod +x agent/servicewatch-agent-manager-linux-amd64
chmod +x agent/otelcontribcol_linux_amd64
chmod +x agent/servicewatch-agent-manager-linux-amd64
Code Block. Granting Execution Permissions to ServiceWatch Agent File| Category | Description |
|---|
| examples | Example configuration file folder. Inside each folder, there are agent.json, log.json, metric.json example filesos-metrics-min-examples: Minimum metric setting example using Node Exporter
os-metrics-all-examples: Metric setting example using Node Exporter memory/filesystem Collector
gpu-metrics-min-examples: Minimum metric setting example using DCGM Exporter
gpu-metrics-all-examples: Key metric setting example using DCGM Exporter
|
| otelcontribcol_linux_amd64 | Open Telemetry Collector for Linux for ServiceWatch |
| otelcontribcol_windows_amd64.exe | Open Telemetry Collector for Windows for ServiceWatch |
| servicewatch-agent-manager-linux-amd64 | ServiceWatch Agent Manager for Linux |
| servicewatch-agent-manager-windows-amd64.exe | ServiceWatch Agent Manager for Windows |
Table. ServiceWatch Agent File Configuration
Note
ServiceWatch Agent Manager is a tool that helps configure Open Telemetry Collector to efficiently send custom metrics and logs by integrating with ServiceWatch. Through this, you can send various custom metrics and log data to ServiceWatch.
Define the Agent configuration file of ServiceWatch Agent Manager for the Open Telemetry Collector for ServiceWatch.
| Category | Description |
|---|
| namespace | Custom namespace for custom metrics- Namespace is a logical division used to classify and group metrics, and is specified as a custom metric to classify custom metrics
- Namespace must be 3~128 characters including English, numbers, spaces, and special characters (
_-/), and must start with English.
|
| accessKey | IAM authentication key Access Key |
| accessSecret | IAM authentication key Secret Key |
| resourceId | Resource ID of the server in Samsung Cloud Platform- Example: Resource ID of Virtual Server
|
| openApiEndpoint | ServiceWatch OpenAPI Endpoint by region/offering- Example: https://servicewatch.
region.offering.samsungsdscloud.com
region and offering information can be checked from Samsung Cloud Platform Console access URL
|
| telemetryPort | Telemetry Port of ServiceWatch Agent- Usually uses 8888 Port. If 8888 Port is in use, it needs to be changed
|
Table. agent.json Configuration File Items
{
"namespace": "swagent-windows", # Custom namespace for custom metrics
"accessKey": "testKey", # IAM authentication key Access Key
"accessSecret": "testSecret", # IAM authentication key Secret Key
"resourceId": "resourceID", # Resource ID of the server in Samsung Cloud Platform
"openApiEndpoint": "https://servicewatch.kr-west1.e.samsungsdscloud.com", # ServiceWatch OpenAPI Endpoint by region/environment
"telemetryPort": 8889 # Telemetry Port of ServiceWatch Agent (Usually uses 8888 Port. If 8888 Port is in use, it needs to be changed)
}
{
"namespace": "swagent-windows", # Custom namespace for custom metrics
"accessKey": "testKey", # IAM authentication key Access Key
"accessSecret": "testSecret", # IAM authentication key Secret Key
"resourceId": "resourceID", # Resource ID of the server in Samsung Cloud Platform
"openApiEndpoint": "https://servicewatch.kr-west1.e.samsungsdscloud.com", # ServiceWatch OpenAPI Endpoint by region/environment
"telemetryPort": 8889 # Telemetry Port of ServiceWatch Agent (Usually uses 8888 Port. If 8888 Port is in use, it needs to be changed)
}
Code Block. agent.json Configuration ExampleDefine the Metric configuration file for metric collection for ServiceWatch.
- If you want to collect metrics through the Agent, configure metric.json.
| Category | Description |
|---|
| prometheus > scrape_configs > targets | Endpoint of the metric collection target- In the case of a server, since Prometheus Exporter is installed on the same server, set it to that endpoint
|
| prometheus > scrape_configs > jobName | Job Name setting. Usually set to the Prometheus Exporter type used when collecting metrics |
| metricMetas > metricName | Set the name of the metric you want to collect. The metric name must be 3~128 characters including English, numbers, and special characters (_), and must start with English.- Example: node_cpu_seconds_total
|
| metricMetas > dimensions | Set the label to visualize and display in the Console among the Collector’s labels provided to identify the source of the Exporter’s metric data. When displaying the collected metric in the Console, it is displayed by combining according to the dimensions setting.- Example: In the case of metrics like the Memory Collector of Node Exporter that do not provide special labels, set it to resource_id
- Example: Node Exporter Filesystem Collector metrics can set dimensions to mountpoint, which represents the path where the filesystem is mounted on the system
|
| metricMetas > unit | Can set the unit of the metric- Example: Bytes, Count, etc.
|
| metricMetas > aggregationMethod | Method of aggregating based on the specified dimensions- Example: Select from SUM, MAX, MIN, COUNT
|
| metricMetas > descriptionKo | Korean description of the metric being collected |
| metricMetas > descriptionEn | English description of the metric being collected |
Table. metric.json Configuration File Items
{
"prometheus": {
"scrape_configs": {
"targets": [
"localhost:9100" # Endpoint of Prometheus Exporter installed in the server
],
"jobName": "node-exporter" # Usually set to the name of the installed Exporter
}
},
"metricMetas": [
{
"metricName": "node_memory_MemTotal_bytes", # Set the metric name to be linked to ServiceWatch among metrics collected from Prometheus Exporter
"dimensions": [
[
"resource_id" # Set the label to visualize and display in the Console among the Collector's labels provided to identify the source of Node Exporter's metric data
# In the case of metrics like Memory that do not provide special labels, set it to resource_id
]
],
"unit": "Bytes", # Unit of collected metric data
"aggregationMethod": "SUM", # Aggregation method
"descriptionKo": "Total physical memory size of the server", # Korean description of the metric
"descriptionEn": "node memory total bytes" # English description of the metric
},
{
"metricName": "node_filesystem_size_bytes", # Set the metric name to be linked to ServiceWatch among metrics collected from Prometheus Exporter
"dimensions": [
[
"mountpoint" # Set the label to visualize and display in the Console among the Collector's labels provided to identify the source of Node Exporter's metric data
# Set dimensions to mountpoint, which represents the path where the filesystem is mounted on the system for Filesystem-related metrics
]
],
"unit": "Bytes",
"aggregationMethod": "SUM",
"descriptionKo": "node filesystem size bytes",
"descriptionEn": "node filesystem size bytes"
},
{
"metricName": "node_memory_MemAvailable_bytes",
"dimensions": [
[
"resource_id"
]
],
"unit": "Bytes",
"aggregationMethod": "SUM",
"descriptionKo": "node memory available bytes",
"descriptionEn": "node memory available bytes"
},
{
"metricName": "node_filesystem_avail_bytes",
"dimensions": [
[
"mountpoint"
]
],
"unit": "Bytes",
"aggregationMethod": "SUM",
"descriptionKo": "node filesystem available bytes",
"descriptionEn": "node filesystem available bytes"
}
]
}
{
"prometheus": {
"scrape_configs": {
"targets": [
"localhost:9100" # Endpoint of Prometheus Exporter installed in the server
],
"jobName": "node-exporter" # Usually set to the name of the installed Exporter
}
},
"metricMetas": [
{
"metricName": "node_memory_MemTotal_bytes", # Set the metric name to be linked to ServiceWatch among metrics collected from Prometheus Exporter
"dimensions": [
[
"resource_id" # Set the label to visualize and display in the Console among the Collector's labels provided to identify the source of Node Exporter's metric data
# In the case of metrics like Memory that do not provide special labels, set it to resource_id
]
],
"unit": "Bytes", # Unit of collected metric data
"aggregationMethod": "SUM", # Aggregation method
"descriptionKo": "Total physical memory size of the server", # Korean description of the metric
"descriptionEn": "node memory total bytes" # English description of the metric
},
{
"metricName": "node_filesystem_size_bytes", # Set the metric name to be linked to ServiceWatch among metrics collected from Prometheus Exporter
"dimensions": [
[
"mountpoint" # Set the label to visualize and display in the Console among the Collector's labels provided to identify the source of Node Exporter's metric data
# Set dimensions to mountpoint, which represents the path where the filesystem is mounted on the system for Filesystem-related metrics
]
],
"unit": "Bytes",
"aggregationMethod": "SUM",
"descriptionKo": "node filesystem size bytes",
"descriptionEn": "node filesystem size bytes"
},
{
"metricName": "node_memory_MemAvailable_bytes",
"dimensions": [
[
"resource_id"
]
],
"unit": "Bytes",
"aggregationMethod": "SUM",
"descriptionKo": "node memory available bytes",
"descriptionEn": "node memory available bytes"
},
{
"metricName": "node_filesystem_avail_bytes",
"dimensions": [
[
"mountpoint"
]
],
"unit": "Bytes",
"aggregationMethod": "SUM",
"descriptionKo": "node filesystem available bytes",
"descriptionEn": "node filesystem available bytes"
}
]
}
Code Block. metric.json Configuration Example - To display the resource name, set resource_name in commonLabels as follows and also set resource_name in metricMetas.dimensions, so you can check the resource name together when viewing metrics in ServiceWatch.
...
"commonLabels": {
"resource_name": "ResourceName" # Resource name that can be checked in User Console
},
"metricMetas": [
{
"metricName": "metric_name",
"dimensions": [
[
"resource_id",
"resource_name" # Add the resource_name set in commonLabels to each metric's dimensions
]
],
"unit": "Bytes",
"aggregationMethod": "SUM",
"descriptionKo": "metric_name description"
"descriptionEn": "metric_name description"
},
...
]
...
...
"commonLabels": {
"resource_name": "ResourceName" # Resource name that can be checked in User Console
},
"metricMetas": [
{
"metricName": "metric_name",
"dimensions": [
[
"resource_id",
"resource_name" # Add the resource_name set in commonLabels to each metric's dimensions
]
],
"unit": "Bytes",
"aggregationMethod": "SUM",
"descriptionKo": "metric_name description"
"descriptionEn": "metric_name description"
},
...
]
...
Code Block. metric.json - Resource Name Setting
Define the Log configuration file for log collection for ServiceWatch.
- If you want to collect logs, you must configure log.json.
| Category | Description |
|---|
| fileLog > include | Location of log files to collect |
| fileLog > operators | Defined to parse log messages to collect |
| fileLog > operators > regex | Express log message format as regular expression |
| fileLog > operators > timestamp | Format of Time Stamp of log message to be sent to ServiceWatch |
| logMetas > log_group_value | Log group name created to send logs to ServiceWatch |
| logMetas > log_stream_value | Log stream name in ServiceWatch log group |
Table. log.json Configuration File Items
{
"fileLog": {
"include": [
"/var/log/syslog", # Log file to collect in ServiceWatch
"/var/log/auth.log"
],
"operators": {
"regex": "^(?P<timestamp>\\S+)\\s+(?P<hostname>\\S+)\\s+(?P<process>[^:]+):\\s+(?P<message>.*)$", # Express log file format as regular expression
"timestamp": { # Set Time Stamp format of log message
"layout_type": "gotime",
"layout": "2006-01-02T15:04:05.000000Z07:00"
}
}
},
"logMetas": {
"log_group_value": "custom-log-group", # Log group name of ServiceWatch created in advance
"log_stream_value": "custom-log-stream" # Log stream name in ServiceWatch log group created in advance
}
}
{
"fileLog": {
"include": [
"/var/log/syslog", # Log file to collect in ServiceWatch
"/var/log/auth.log"
],
"operators": {
"regex": "^(?P<timestamp>\\S+)\\s+(?P<hostname>\\S+)\\s+(?P<process>[^:]+):\\s+(?P<message>.*)$", # Express log file format as regular expression
"timestamp": { # Set Time Stamp format of log message
"layout_type": "gotime",
"layout": "2006-01-02T15:04:05.000000Z07:00"
}
}
},
"logMetas": {
"log_group_value": "custom-log-group", # Log group name of ServiceWatch created in advance
"log_stream_value": "custom-log-stream" # Log stream name in ServiceWatch log group created in advance
}
}
Code Block. log.json Configuration ExampleNote
To link server log files to ServiceWatch through ServiceWatch Agent, you must first create a log group and log streams within the log group.
- For more information about creating log groups and log streams, see Logs.
Running Open Telemetry Collector for ServiceWatch
ServiceWatch Agent Execution Method
[ServiceWatch Agent Executable] -action [run|stop] - dir [Configuration File Location] -collector [Open Telemetry Collector Executable Location]
| Execution Option | Description |
|---|
-action | Action setting (run or stop) |
-dir | Location of ServiceWatch Agent configuration files such as agent.json, metric.json, log.json |
-collector | Location of Open Telemetry Collector executable |
Table. log.json Configuration File Items
Running ServiceWatch Agent (for Linux)
Note
Assuming that agent.json, metric.json, log.json files are in current_location/agent/examples/os-metrics-min-examples and otelcontribcol_linux_amd64 file is in current_location/agent, execute as follows.
Run ServiceWatch Agent.
- Check the location of
agent.json, metric.json, log.json files and the location of servicewatch-agent-manager-linux-amd64, otelcontribcol_linux_amd64 files and start ServiceWatch Agent../agent/servicewatch-agent-manager-linux-amd64 -action run -dir ./agent/examples/os-metrics-min-examples -collector ./agent/otelcontribcol_linux_amd64
./agent/servicewatch-agent-manager-linux-amd64 -action run -dir ./agent/examples/os-metrics-min-examples -collector ./agent/otelcontribcol_linux_amd64
Code Block. Starting ServiceWatch Agent - Collecting Both Metrics and Logs - If you want to collect only metrics, rename the
log.json file to a different file name or move it so it’s not in the same directory as agent.json, metric.json, and execute as follows../agent/servicewatch-agent-manager-linux-amd64 -action run -dir ./agent/examples/os-metrics-min-examples -collector ./agent/otelcontribcol_linux_amd64
./agent/servicewatch-agent-manager-linux-amd64 -action run -dir ./agent/examples/os-metrics-min-examples -collector ./agent/otelcontribcol_linux_amd64
Code Block. Starting ServiceWatch Agent - Collecting Only Metrics - If you want to collect only logs, rename the
metric.json file to a different file name or move it so it’s not in the same directory as agent.json, log.json, and execute as follows../agent/servicewatch-agent-manager-linux-amd64 -action run -dir ./agent/examples/os-metrics-min-examples -collector ./agent/otelcontribcol_linux_amd64
./agent/servicewatch-agent-manager-linux-amd64 -action run -dir ./agent/examples/os-metrics-min-examples -collector ./agent/otelcontribcol_linux_amd64
Code Block. Starting ServiceWatch Agent - Collecting Only Logs
Stop ServiceWatch Agent.
./agent/servicewatch-agent-manager-linux-amd64 -action stop -dir ./agent/examples/os-metrics-min-examples
./agent/servicewatch-agent-manager-linux-amd64 -action stop -dir ./agent/examples/os-metrics-min-examples
Code Block. Stopping ServiceWatch Agent
Running ServiceWatch Agent (for Windows)
Run ServiceWatch Agent.
servicewatch-agent-manager-windows-amd64.exe -action run -dir ./examples -collector otelcontribcol_windows_amd64.exe
servicewatch-agent-manager-windows-amd64.exe -action run -dir ./examples -collector otelcontribcol_windows_amd64.exe
Code Block. Starting ServiceWatch AgentStop ServiceWatch Agent.
servicewatch-agent-manager-windows-amd64.exe -action stop -dir ./examples
servicewatch-agent-manager-windows-amd64.exe -action stop -dir ./examples
Code Block. Stopping ServiceWatch Agent