How-to guides
The user can monitor the resources created on the Samsung Cloud Platform through ServiceWatch.
Using the Dashboard
You can monitor resources from the ServiceWatch dashboard detailed information screen.
Guidance
- To use the dashboard, you must first create a dashboard and register monitoring metrics as widgets.
- For more information on creating a dashboard, please refer to Creating a Dashboard.
To check the detailed information of the dashboard, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the dashboard for the resource you want to monitor. It moves to the Dashboard Detail page.
- Dashboard Details page where you can select the period and time zone to monitor, and monitor resources through widgets.
| Classification | Detailed Description |
|---|
| Dashboard name | Name of the dashboard- Click the name to select a different dashboard
|
| Period Setting Area | Period selection applied to widgets in the dashboard |
| Time zone setting area | Select the time zone to which the period setting is applied |
| Initialization Button | Initialize all operations or settings made on the dashboard detail screen |
| Refresh settings area | Select the refresh cycle of widget information- Refresh button displays information based on the current time
- Refresh cycle can be selected by clicking: off, 10 seconds, 1 minute, 2 minutes, 5 minutes, 15 minutes
|
| Edit | Modify the information on the dashboard- Edit button click, move to the Dashboard Edit page
|
| More | Display additional work items to manage the dashboard |
| Widget Area | Displays widgets for monitoring each resource- Widget Enlarged View button to check detailed information about the metric
- More button to manage widgets
- When the mouse cursor is placed on the graph, the time, data value, and metric data information at that point are displayed as a popup
- Drag the mouse to enlarge a specific area of the graph
- Clicking on the resource name displayed in the legend will display detailed information about the resource as a popup
|
Table. Dashboard Detailed Items
Note
- By clicking the More > View Metrics button located at the top right of the widget, you can view metric information for that widget on the Metrics page.
- Metric page details can be found in Viewing Metrics.
Setting up dashboard favorites
You can bookmark frequently used dashboards to easily move to the corresponding dashboard from the Service Home page of ServiceWatch.
To bookmark the dashboard, follow the following procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, check the favorite icon of the dashboard to be bookmarked. Click the dashboard to check the detailed information. It moves to the Dashboard Details page.
- Bookmarked dashboards will be added to the bottom of the Dashboard > Dashboard Bookmark menu and the Dashboard Bookmark section of the Service Home page.
You can expand the widgets in the dashboard to check them individually.
To view individual widgets enlarged, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the dashboard for the resource you want to monitor. It moves to the Dashboard Details page.
- Dashboard Details page, click the Widget Enlarged View button to enlarge and check the widget. A Metric Details popup window for the corresponding widget will be opened.
| Classification | Detailed Description |
|---|
| Widget Name | Display name of the widget |
| Period Setting Area | Period selection applied to the widget |
| Time zone setting area | Select the time zone to which the period setting is applied |
| Initialization Button | Initialize all operations or settings made on the dashboard details screen |
| Statistics | Select statistical criteria for metrics displayed on the widget- Click on the statistical standard to select the standard: average, minimum, maximum, total
|
| Aggregation period setting area | Select the aggregation period of widget information- Click on 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 settings area | Select the refresh cycle of widget information- Refresh button to display information based on the current time
- Refresh cycle can be selected by clicking: off, 10 seconds, 1 minute, 2 minutes, 5 minutes, 15 minutes
|
| Chart Area | Displays monitoring results as a chart- When the mouse cursor is placed on the graph and legend, it displays the time, data value, and metric data information at that point as a popup
- Dragging the graph area allows you to zoom in on that area
- Clicking on the resource name displayed in the legend opens a popup with the alert status for that resource
|
Table. Detailed Items of Metrics
Check Alert History
You can check the alert history for the metrics registered on the ServiceWatch dashboard.
To check the alert history, follow the following procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Alert > Alert History menu. It moves to the Alert History page.
- Alert History page where you can check the alert history.
| Classification | Detailed Description |
|---|
| Alert Filter and Search Area | Can filter or search alert history- All Alert Status: Can filter by selecting alert status
- Can search by entering the alert policy name in the search input field
- Detailed Search: Can search by entering the alert policy name, alert status, or change time
|
| Alert Policy Name | The name of the alert policy- Clicking on the alert policy name allows you to check the detailed information of the corresponding alert policy
|
| Condition | Warning occurrence condition and total occurrence time- Step display according to importance: High, Middle, Low
|
| Division | Warning creation, warning status change information division |
| Alert Status | Current Alert Status- Normal: When the metric does not meet the set conditions
- Insufficient data: When the metric data cannot be confirmed (missing, non-existent, or not arrived)
- Alert: When the metric meets the set conditions
|
| Alert level | If the alert status is Alert status, display the alert level |
Table. Warning History Items
Reference
You can create and manage new alert policies. For more information about alert policies, please refer to
Check Alert Policy.
Monitoring metrics
You can check and monitor the metrics available on ServiceWatch.
To check the metrics, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the metric menu. It moves to the metric page.
- Metric page, select the metrics to be monitored from the list of metrics. The monitoring chart for the selected metric will be displayed in the Selected Metric area at the bottom.
| Classification | Detailed Description |
|---|
| Metric list area | List of metrics that can be monitored in ServiceWatch- Click the + button in front of the namespace and dimension to check the lower-level list
- If you select an metric to monitor, it will be displayed as a chart in the Selected Metric area
|
| search filter area | namespace-dimension name, metric name, resource name, resource ID, tag-key set after, apply filter button click to filter the metric list- namespace-dimension name: select namespace and dimension name
- metric name: enter the exact metric name
- resource name: enter the exact resource name
- resource ID: enter the exact resource ID
- tag key: select the tag key
|
Table. List of metric items
- Selected metric area, check the monitoring chart.
| Classification | Detailed Description |
|---|
| Period Setting Area | Period selection applied to the chart |
| Time zone setting area | Time zone selection applied to the chart |
| Initialization Button | Initialize all manipulated or set items on the chart |
| Refresh settings area | Select the refresh cycle of the chart- Refresh button to display information based on the current time
- Refresh cycle can be selected by clicking: off, 10 seconds, 1 minute, 2 minutes, 5 minutes, 15 minutes
|
| More | Display additional work items to manage charts |
| Graph Area | The data graph collected during the period applied to the chart- When the mouse cursor is placed on the graph, the time, data value, and metric data information at that point are displayed as a popup
- Dragging the mouse allows you to zoom in on a specific area of the graph
- Clicking on the resource name displayed in the legend displays detailed information about the resource as a popup
|
| Table Area | Legend Label and Statistics, Aggregation Period- Label: Enter the legend name using English, numbers, and special characters within 3 to 255 characters
- Statistics: Select a method for aggregating metric data
- Can be chosen from average (default), minimum, maximum, and sum
- Aggregation Period: Select the unit of the aggregation period for the metric value
- Can be chosen from 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, and 12 hours
- More: Can delete the legend or create an alert policy for the legend
|
Table. Metric Items
Note
- The statistical method is as follows.
- Total: the sum of all data point values collected during the period
- Average: the value of the total divided by the number of data points for the given period during the specified period
- Minimum: the lowest value observed during the specified period
- Maximum: the highest value observed during the specified period
- For a detailed explanation of the metric, please refer to Metric Overview.
Log Monitoring
You can monitor logs collected from the Samsung Cloud Platform service.
Notice
To check the log monitoring data, you must first create a
log group and a
log stream. For more information about log groups, please refer to
Log Monitoring.
To check the log monitoring data, follow the following procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Log > Log Group menu. It moves to the Log Group List page.
- Log Group List page, click the log group name to check the detailed information. It moves to the Log Group Details page.
- Log Group Details page, click the Log Stream tab. The Log Stream list will be displayed.
- Log Stream Click the log stream name to check the detailed information in the Log Stream list. It moves to the Log Stream Details page.
- Clicking the All Log Streams Query button at the top of the log stream list moves to the All Log Streams Detail page.
| Category | Detailed Description |
|---|
| Excel Download | Possible to download log stream history as an Excel file |
| Time Stamp List | Message List by Time Stamp- Period Selection, User Time Zone, message input can be used for filtering
|
Table. Log group details - Log stream detailed items
Event notification reception
You can create system event rules for changes to resources created on the Samsung Cloud Platform and receive them as notifications.
Guidance
To receive event notifications, you must first create an
event rule. For more information on creating event rules, please refer to
Creating Event Rules.
1 - Managing Dashboard and Widgets
You can create and manage a dashboard to monitor the resources of the services being used in the Samsung Cloud Platform Console.
Creating a dashboard
You can create a dashboard of ServiceWatch.
To create a dashboard, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the Create Dashboard button.
- Please enter the name of the dashboard.
- The name of the dashboard should be entered within 34 characters using English, numbers, and special characters (
-_).
- Add a widget to compose the dashboard. A corresponding popup window opens according to the method of adding a widget.
- Add individual widgets: You can add a single widget combined with metrics and resources. When you click the button, the Add individual widgets popup window opens.
| Classification | Necessity | Detailed Description |
|---|
| metric list area | required | list of metrics that can be monitored in ServiceWatch- you can check the lower level list by clicking the + button in front of the namespace and dimension
- if you select a metric to monitor, it will be displayed as a chart in the selected metric area
|
| search filter area | selection | namespace-dimension name, metric name, resource name, resource ID, tag-key are set, and then filter apply button is clicked to filter the metric list- namespace-dimension name: select namespace and dimension name
- metric name: enter the exact metric name
- resource name: enter the exact resource name
- resource ID: enter the exact resource ID
- tag key: select the tag key
|
| Selected Metric Area | - | Monitoring Chart for the Selected Metric in the Metric List Area- Graph of Data Collected During the Period Applied to the Chart
- When the mouse cursor is placed on the graph, a popup displays the time, data value, and metric data information at that point
- Dragging the mouse allows zooming in on a specific area of the graph
- Clicking on the resource name displayed in the legend shows detailed information about the resource in a popup
- Item Values in the Table Area of the Chart can be Modified
- Label: Enter the legend name using English, numbers, and special characters within 3 to 255 characters
- Statistics: Select the Method for Aggregating Metric Data
- Choose from Average (default), Minimum, Maximum, and Sum
- Aggregation Period: Select the Unit of Time for Aggregating Metric Values
- Choose from 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, and 12 hours
- Delete: Delete the Corresponding Legend
|
Table. Individual widget addition items
- Multiple Widget Addition: You can add multiple widgets at once by selecting the desired resources by metric unit. When you click the button, the Multiple Widget Addition popup window opens.
| Classification | Necessity | Detailed Description |
|---|
| Service and Resource List | Required | Select resources to add metrics- Click the + button in front of the service and resources to check the list of sub-resources and metrics
- If you check the metrics to be added to the widget in the metric list, the Selected Metrics and Selected Resources areas are displayed
- Multiple metrics can be selected
|
| selection metric | essential | displays the list of metrics selected from the service and resource list- when you click on an metric, it displays the list of resources included in that metric in the selected resource area
|
| Selected Resources | Required | Selected Metrics list, add resources to the selected metrics- After clicking the Select button, you can select resources to add to the metrics, up to a maximum of 5
- Resources must be added for all metrics in the Selected Metrics list
|
| Statistics | Required | Select the statistical criteria for the metric value- Average (default), minimum, maximum, sum can be selected
|
| Accumulation period | Required | Select the unit of accumulation period for the metric value- 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours can be selected
|
Table. Multiple widget addition items
- Dashboard Import: You can import widgets from the dashboard registered in ServiceWatch. When you click the button, the Dashboard Import popup window opens.
| Classification | Necessity | Detailed Description |
|---|
| dashboard | required | Displays a list of dashboards registered in ServiceWatch- When a dashboard is selected, the widgets applied to the dashboard are displayed in the preview area
|
| Preview | Required | Displays widgets applied to the dashboard selected in the dashboard list- Select widgets to add to the dashboard to be created by checking the widget name
- Checking the All Select item selects all metrics of the corresponding dashboard
|
Table. Dashboard Loading Items
- Click the Complete button on the widget add popup window. The widget will be added to the dashboard on the dashboard creation page.
- After checking the added widget, click the Complete button. A pop-up window announcing the creation of the dashboard will open.
- Confirm button should be clicked. Dashboard creation will be completed.
Check the dashboard
Dashboard List page where you can check the information of the selected dashboard.
To check the dashboard, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the dashboard to check the detailed information. It moves to the Dashboard Details page.
| Classification | Detailed Description |
|---|
| Dashboard Name | Name of the dashboard display- Click the name to select a different dashboard
|
| Period Setting Area | Period selection applied to widgets in the dashboard |
| Time zone setting area | Select the time zone to which the period setting is applied |
| Initialization Button | Initialize all operations or settings made on the dashboard detail screen |
| Refresh settings area | Select the refresh cycle of widget information- Refresh button to display information based on the current time
- Refresh cycle can be selected by clicking: off, 10 seconds, 1 minute, 2 minutes, 5 minutes, 15 minutes
|
| Edit | Modify the name of the dashboard or manage widgets- Edit button click, move to the Dashboard Edit page
|
| More | Displays additional work items for managing the dashboard- Dashboard replication and deletion, detailed information confirmation, source view available
|
| Widget Area | Display widgets for monitoring each resource- Click the More button at the top right of the widget to manage the widget
- Modification and replication of widgets, file download, metric view, and source view are possible
|
Table. Dashboard Details
Managing Dashboard
Dashboard Details page where you can modify or manage dashboard information and widgets.
Modifying the dashboard
You can modify the name of the dashboard or change the widget composition.
To modify the dashboard, follow the following procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the dashboard to check the detailed information. It moves to the Dashboard Details page.
- Dashboard Details page’s top right Edit button is clicked. It moves to the Dashboard Edit page.
- After modifying the information or widgets on the dashboard, click the Save button.
| Classification | Detailed Description |
|---|
| Dashboard Name | The name of the dashboard can be modified- Enter within 3~40 characters using English, numbers, and special characters (
-_)
- Cannot use the existing registered dashboard name
|
| Widget Name | Widget Name Editable- Use English, numbers, spaces, and special characters (
-_.|) to enter within 3 ~ 255 characters
|
| Widget Management | When the mouse cursor is placed on the widget, the management button is displayed on the right side of the widget border- Edit: Widget modification is possible in the Widget Edit popup window, where you can modify the widget’s metrics and resources
- For more information on widget editing, see Individual Widget Editing in Widget Management
- Duplicate: Duplicate the current widget and add it to the dashboard
- Delete: Delete the current widget from the dashboard
- Expand: Expand the size of the current widget to display
- Shrink: If expanded, clicking again will shrink the widget size
|
| Add Widget | Add a new widget to the dashboard- Add Individual Widget: Add a single widget combined with metrics and resources
- Add Multiple Widgets: Select the desired resources by metric unit to add multiple widgets at once
- Load Dashboard: Load widgets from other dashboards and add them
|
Table. Dashboard Modification Items
You can check detailed information about the dashboard.
To check the detailed information of the dashboard, please follow the following procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. It moves to the Dashboard List page.
- Dashboard List page, click the dashboard to check the detailed information. It moves to the Dashboard Details page.
- Dashboard Details page’s upper right corner More > Details button click. Dashboard Details popup window opens.
| Classification | 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 dashboard
|
| Resource Name | Resource Name- In ServiceWatch, it means the name of the dashboard
|
| Resource ID | Unique resource ID in the service |
| Creator | The user who created the service |
| Creation Time | The time when the service was created |
| Editor | User who modified the service information |
| Revision Time | Time when service information was revised |
Table. Dashboard Details - Detailed Information Popup Window Items
Check the dashboard source code
You can check the source code of the dashboard.
To check the source code of the dashboard, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. It moves to the Dashboard List page.
- Dashboard List page, click the dashboard to check the detailed information. It moves to the Dashboard Details page.
- Dashboard Details page’s upper right corner click the More > View Source button. Dashboard Source View popup window opens.
| Classification | Detailed Description |
|---|
| Source Information | Display dashboard source code in JSON format |
| code copy | copy source code to clipboard |
Fig. Dashboard Details - Dashboard Source View Popup Window Items
Dashboard duplication
You can currently replicate a widget on the dashboard and add it to another dashboard.
Guidance
To replicate the dashboard, user permissions are required.
- User: {email}
- Action: iam:CreatGroup
- On resource: {SRN}
- Context: no identity-based policy allows the action
To replicate the dashboard, follow the following procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. It moves to the Dashboard List page.
- Dashboard List page, click the dashboard to check the detailed information. It moves to the Dashboard Details page.
- Dashboard Details page’s upper right corner More > Duplicate button, click. Dashboard Duplicate popup window opens.
- Select the dashboard replication method and enter the required information. The required information varies depending on the replication method.
| Classification | Necessity | Detailed Description |
|---|
| Clone target | - | Name of the dashboard to be cloned |
| Replication Method | Required | After replicating the widget on the dashboard, select the dashboard to add- New Dashboard: Create a new dashboard and add the current dashboard’s widgets by replicating them
- Existing Dashboard: Add the current dashboard’s widgets to an existing dashboard by replicating them
|
| Dashboard Name | Required | Enter the name of the new dashboard to be created- Displayed when the replication method is selected as New Dashboard
- Enter within 3 ~ 40 characters using English, numbers, and special characters (
-_)
|
| dashboard selection | required | select a dashboard to add a replicated widget among the existing created dashboards- displayed when the replication method is selected as existing dashboard
|
Table. Dashboard Replication Items
- When the essential information input is complete, click the completed button. A popup window announcing the dashboard replication will open.
- Click the Confirm button on the popup window. The dashboard replication task will be completed.
Delete Dashboard
You can delete the dashboard that is not used.
To delete the dashboard, follow the following procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, select the checkbox of the dashboard to be deleted, and then click the Delete button. A popup window announcing the deletion of the dashboard will open.
- You can delete multiple dashboards at the same time.
- Dashboard Details page’s top right corner has More > Delete button to delete individually.
- Enter delete in the delete confirmation input area, then click the confirm button. The dashboard will be deleted.
Dashboard Details page where you can modify or manage widgets.
You can modify the widget’s metrics and resources.
To modify the widget, follow the following procedure.
- All services > Management > ServiceWatch menu, click. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the dashboard you want to modify the widget. It moves to the Dashboard Details page.
- Dashboard Details page, click the More > Edit Widget button located at the top right of the widget you want to modify. The Edit Widget popup window opens.
- After modifying the widget’s metrics and resources, click the Confirm button. The widget modification will be completed.
| Classification | Necessity | Detailed Description |
|---|
| Metric List Area | Required | List of metrics that can be monitored in ServiceWatch- Click the + button in front of the namespace and dimension to check the lower-level list
- If you select a metric to monitor, it will be displayed as a chart in the Selected Metric area
|
| search filter area | selection | namespace-dimension name, metric name, resource name, resource ID, tag-key are set, and then filter apply button is clicked to filter the metric list- namespace-dimension name: select namespace and dimension name
- metric name: enter the exact metric name
- resource name: enter the exact resource name
- resource ID: enter the exact resource ID
- tag key: select the tag key
|
| Selected metric area | - | Monitoring chart for the selected metric in the metric list area- Graph of data collected during the period applied to the chart
- When the mouse cursor is placed on the graph, a popup displays the time, data value, and metric data information at that point
- Drag the mouse to zoom in on a specific area of the graph
- Clicking on the resource name displayed in the legend displays detailed information about the resource in a popup
- Item values in the table area within the chart can be modified
- Label: Enter the legend name using English, numbers, and special characters within 3 to 255 characters
- Statistics: Select the method for aggregating metric data
- Average (default), minimum, maximum, or sum can be selected
- Aggregation period: Select the unit of time for aggregating metric values
- 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, or 12 hours can be selected
- Delete: Delete the corresponding legend
|
Table. Individual widget addition items
You can copy the widget and add it to another dashboard.
Notice
To replicate the dashboard, user permissions are required.
- User: {email}
- Action: iam:CreatGroup
- On resource: {SRN}
- Context: no identity-based policy allows the action
To replicate a widget, follow the following procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the dashboard to replicate. It moves to the Dashboard Details page.
- Dashboard Details page, click the More > Widget Duplicate button located at the top right of the widget to be duplicated. The Widget Duplicate popup window opens.
- Select the widget replication method and enter the required information. The required information varies depending on the replication method.
| Classification | Necessity | Detailed Description |
|---|
| Clone Target | - | Name of the dashboard to be cloned |
| Replication method | Required | After replicating the widget, select the dashboard to add- Existing dashboard: Add a widget to an existing dashboard
- New dashboard: Create a new dashboard and add a widget
|
| dashboard selection | required | select a dashboard to add a replicated widget among the existing created dashboards- displayed when the replication method is selected as existing dashboard
|
| Dashboard Name | Required | Enter the name of the new dashboard to be created- Displayed when the replication method is selected as New Dashboard
- Enter within 3 to 40 characters using English, numbers, and special characters (
-_)
|
| Widget Name | Required | Enter the name of the widget when adding it to the dashboard- Use English, numbers, and special characters (
-_.|) to enter within 3 ~ 255 characters
|
Table. Widget Duplication Items
- When the required information input is complete, click the completed button. A popup window announcing the addition of a widget will open.
- Click the Confirm button on the popup window. The widget will be replicated and added to the corresponding dashboard.
You can download widget information in the form of a file.
To download widget information, follow the next procedure.
- All services > Management > ServiceWatch menu, click. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the dashboard to download widget information. It moves to the Dashboard Details page.
- Dashboard Details page, click the More > File Download button located at the top right of the widget to download the widget information. The File Download popup window opens.
- Select the file download method, then click the Confirm button. The download will start.
- The download methods can be selected simultaneously.
| Classification | Detailed Description |
|---|
| CSV | widget’s metrics and monitoring data are converted to an Excel (*.csv) file for download |
| PNG | widget chart is converted to an image (*.png) file and downloaded |
Table. Widget file download items
Widget’s resource and metric information can be checked on the metric page
To view the widget metrics on the metrics page, follow these procedures.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the dashboard to check the widget metrics. It moves to the Dashboard Details page.
- Dashboard Details page, click the More > View Metrics button located at the top right of the widget to be checked on the Metrics page. It moves to the Metrics page.
- The resource and metric information of the selected widget is automatically set and displayed on the Metrics page.
Reference
Metrics page for more details, please refer to
View Metrics.
You can check the source code of the dashboard.
To check the source code of the dashboard, follow the following procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Dashboard > Dashboard List menu. Move to the Dashboard List page.
- Dashboard List page, click the dashboard to check the detailed information. It moves to the Dashboard Details page.
- Dashboard Details page, click the More > View Source button located at the top right of the widget to check the source code. The Widget Source View popup window opens.
| Classification | Detailed Description |
|---|
| Source Information | Displays widget source code in JSON format |
| code copy | copy source code to clipboard |
Table. View widget source items
2 - Alert
In ServiceWatch, you can set threshold criteria for the metrics to be monitored, and create and manage alert policies so that an alert notification is generated when the set conditions are met.
Create Alert Policy
You can create an alert policy for a metric and set the alert triggering criteria.
To create an alert policy, follow these steps.
- Click the All Services > Management > ServiceWatch menu. Go to the Service Home page.
- Click the Alert > Alert Policy menu on the Service Home page. You will be taken to the Alert Policy List page.
- Alert Policy List page, click the Create Alert Policy button. It navigates to the Create Alert Policy page.
- Basic Information Input area, after entering the name and description of the alert policy, click the Select Metric button. The Select Metric popup opens.
- After selecting the metric to create an alert policy in the Metric Selection popup, click the Confirm button. The Metric and Condition Settings area will be displayed.
| Category | Required | Detailed description |
|---|
| Metric List Area | Required | List of metrics that can be monitored in ServiceWatch- Click the + button in front of the namespace and dimension to view the sub-level list
- When you select a metric to monitor, it is displayed as a chart in the Selected Metrics area
|
| Search Filter Area | Select | After setting Namespace-Dimension Name, Metric Name, Resource Name, Resource ID, Tag-Key, click the Apply Filter button to filter the metric list- Namespace-Dimension Name: Select namespace and dimension name
- Metric Name: Enter the exact metric name
- Resource Name: Enter the exact resource name
- Resource ID: Enter the exact resource ID
|
| Selected Indicator Area | - | Monitoring chart for the indicator selected in the indicator list area- Data graph collected during the period applied to the chart
- When the mouse cursor is placed on the graph, a popup displays the time, data value, and indicator data information for that point
- You can drag the mouse to zoom in on a specific area of the graph
- Clicking the resource name displayed in the legend shows detailed information about that resource in a popup
- Item values in the table area within the chart can be edited
- Label: Enter the legend name using English letters, numbers, or special characters, within 3 to 255 characters
- Statistics: Choose the method for aggregating indicator data
- Can select among average (default), minimum, maximum, sum
- Aggregation Period: Select the aggregation period unit for the indicator value
- Can select among 1 minute, 5 minutes (default), 15 minutes, 30 minutes, 1 hour, 3 hours, 6 hours, 12 hours
- Delete: Delete the legend
|
Table. Indicator selection items
- Indicator and Condition Settings area, set the threshold values for alarm generation.
| Category | Required or not | Detailed description |
|---|
| Namespace | - | Namespace of the selected metric |
| Indicator Name | - | Name of the selected indicator |
| Unit | - | Data unit of the selected metric |
| Evaluation Scope | Required | Time range (seconds) for alarm evaluation- Input possible up to 604,800 seconds in multiples of 60
- If set smaller than the collection interval or not a multiple of the collection interval, alarm evaluation may be applied abnormally
|
| Statistics | Required | Choose how to calculate metric data during the evaluation period- Sum: Sum of all data point values collected during the period
- Average: Value obtained by dividing the Sum over the specified period by the number of data points during that period
- Minimum: The lowest value observed during the specified period
- Maximum: The highest value observed during the specified period
|
| Additional Configuration | Select | Set evaluation count, violation count, and missing data handling method- If Additional Configuration is set to Enabled, you can set the evaluation count and violation count used when evaluating alerts. If the number of violations meets the condition within the evaluation count during the evaluation period (seconds), the alert status changes to Alert
- Evaluation Count: Number of evaluations for alarm occurrence
- Violation Count: Allowed number of violations until alarm occurrence
- Input range: 1 ~ Evaluation Count
- If the evaluation period is less than 1 hour (3,600 seconds), evaluation count/evaluation period can be set up to 1 day (86,400 seconds)
- If the evaluation period is 1 hour (3,600 seconds) or more, evaluation count/evaluation period can be set up to 7 days (604,800 seconds)
- If Additional Configuration is set to Enabled, you can set how missing data is handled during alert evaluation.
- Treat missing data as Missing (Missing)
- Treat missing data as Ignore to maintain the current alert state (Ignore)
- Treat missing data as satisfying the condition (Breaching)
- Treat missing data as normal not satisfying the condition (Not breaching)
|
| Condition Setting | Required | - Condition Operator: Select a condition operator to compare the calculated metric data during the evaluation period with the threshold value
- Threshold: Set the threshold value to compare the calculated metric data during the evaluation period with the condition operator
- Input possible up to 0 ~ 2,147,483,647
- Condition: Description of alert state change conditions based on the set condition operator and threshold
|
| Alert Level | Required | Select alert level according to importance of alert policy |
| Resource ID | - | Resource ID for metric monitoring target |
| Resource Name | - | Name of the resource targeted for metric monitoring |
Table. Indicator and Condition Setting Items
- In the Notification Settings area, select the user who will receive notifications when an alarm occurs.
- Only users with login history (users who have registered email or 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 IAM service’s User Creation page. For detailed information on user creation, refer to Create User.
- Notification reception method (E-mail or SMS) can be changed after selecting the notification target Service > Alert on the Notification Settings page. For detailed information about notification settings, refer to Check Notification Settings.
- In the Add Additional Information area, after adding tag information, click the Complete button. A popup window notifying the creation of the alert policy opens.
- Confirm 버튼을 클릭하세요. 경보 정책 생성이 완료됩니다.
Reference
Creating an alert policy can take tens of minutes or more depending on the scale.
You can view and manage detailed information about the alarm policy.
To view detailed information about the alert policy, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. Navigate to the Service Home page.
- On the Service Home page, click the Alert > Alert Policy menu. It navigates to the Alert Policy List page.
- Click the Alert Stage button displayed in the Alert Policy menu to filter and view only the list of alert policies for that stage.
- Alert Policy List page, click the alert policy name to view detailed information. You will be taken to the Alert Policy Details page.
| Category | Detailed description |
|---|
| Alert Policy Status | Status of the alert policy- Active: The alert policy is in an active state
- Inactive: The alert policy is in an inactive state
- You can change by clicking the Activate or Deactivate button
|
| Delete Alarm Policy | Delete the corresponding alarm policy |
| Alert Status | Current Alert Status- Normal: when the metric does not meet the set conditions
- Insulfficient data: when the metric data cannot be verified (missing, nonexistent, not arrived)
- Alert: when the metric meets the set conditions
- When the alert status is Alert, display the alert level (>High, Middle, Low) together
|
| Metric Monitoring Chart | Metric monitoring chart for the selected period |
| Information Category Tab | Information Category Tab for Alert Policy- Detailed Information, Notification, Alert History, Tag, Work History
- Click each tab to view the corresponding information
|
Table. Alarm detailed items
Reference
When sorting the alarm policy names in the alarm policy list, follow the sorting rules below.
- Space and control characters
- Some special characters (
!"#$%&’()*+,-./ ) - numbers (
0–9) - some special characters (
; < = > ? @ ) - English (
A–Z, a–z, case-insensitive) - the remaining special characters (
[\]^_`) - Other characters
Alarm Policy List page, you can view the basic information and metric information of the selected alarm policy.
| Category | 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 refers to the name of the alert policy
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the service |
| Creation Date/Time | Service Creation Date/Time |
| Editor | User who modified the service information |
| Modification Date/Time | Date and time when service information was edited |
| Alert Policy Name | Name of the alert policy |
| Name space | Name space of the indicator |
| Indicator Name | Indicator Name |
| Evaluation Scope | Time Range for Alert Evaluation |
| Unit | Unit of indicator data |
| Evaluation count | Alarm policy evaluation count |
| Number of violations | Number of alert policy violations |
| Statistics | Method of calculating metric data during the evaluation period |
| Evaluation interval | Evaluation interval: evaluation range (unit) x number of evaluations |
| Condition | Condition change criteria for alert status (Alert) based on the set condition operator and threshold |
| Alert Level | Alert Level when Alert Occurs |
| Target Metric Information Area | Description of the alert policy target metric and resource ID, resource name |
Table. Alert Policy Details - Detailed Information Tab Items
Notification
You can check the notification recipients of the selected alert policy on the Alert Policy List page.
| Category | Detailed description |
|---|
| Notification Recipient List | Username, Creation Date/Time, Last Login Information- Click the Delete button to remove the user from the notification recipient list
- After checking the users to delete, click the Delete button at the top of the list to delete them simultaneously
|
| Add Notification Recipient | Can add new notification recipient- Add Notification Recipient Select user to add in the popup window
|
Table. Alert Policy Details - Notification Tab Items
Reference
- Only users with login history (users who have registered email or mobile phone number) can be added as notification recipients.
- Notification recipients can be added up to a maximum of 100 people.
- If there are no users to add, you can create a user on the IAM service’s User Creation page. For detailed information on user creation, see Create User.
- The notification reception method (E-mail or SMS) can be changed on the Notification Settings page after selecting the notification target Service > Alert. For detailed information about notification settings, refer to Check Notification Settings.
Alert History
Alarm Policy List page allows you to view the alarm status change history of the selected alarm policy.
| Category | Detailed description |
|---|
| Alarm Status Change History List | Alarm Status Change DateTime, Change Status Classification Information, Alarm Description |
| View Details | Can view detailed alarm history information and source code in JSON format |
Table. Alert Policy Details - Alert History Tab Items
Tag
On the Alert Policy List page, you can view the tag information of the selected alert policy, and you can add, modify, or delete it.
| Category | Detailed description |
|---|
| Tag List | Tag’s Key, Value information |
| Tag Edit | Modify or delete existing tag information, or add new tags- Up to 50 tags can be added per resource
- When adding a tag, entering the Key and Value allows selection from the list of previously created tag Keys and Values
|
Table. Alert Policy Details - Tag Tab Items
Work History
Alert Policy List page allows you to view the operation history of the selected alert policy.
| Category | Detailed description |
|---|
| Work History List | Resource Change History- Work details, work date and time, resource type, resource name, work result, and worker information can be viewed
- Click the Settings button to change information items
- Filtering possible using Period Selection, User Time Zone, entering worker information, and Detailed Search
- Clicking a work detail in the Work History List navigates to the Activity Detail page for that work
|
Table. Alert Policy Details - Work History Tab Items
Edit Alarm Policy
You can modify the target metrics and policy settings of the alert policy.
To modify the alert policy, follow the steps below.
- Click the All Services > Management > ServiceWatch menu. Go to the Service Home page.
- Click the Alert > Alert Policy menu on the Service Home page. You will be taken to the Alert Policy List page.
- Click the alert policy name on the Alert Policy List page to view detailed information. It moves to the Alert Policy Details page.
- Alarm Policy Details page’s Detailed Information tab, click the Edit button of Metric Information. Edit Metric Information popup opens.
- After modifying the indicator information and policy settings, click the Confirm button. A popup window notifying the indicator modification will open.
- Confirm 버튼을 클릭하세요. 경보 정책 수정이 완료됩니다.
Delete alert policy
You can delete unused alarm policies.
To delete the alert policy, follow these steps.
- All Services > Management > ServiceWatch Click the menu. Navigate to the Service Home page.
- Service Home page, click the Alert > Alert Policy menu. Navigate to the Alert Policy List page.
- Alert Policy List on the page, after selecting the checkbox of the alert policy to delete, click the Delete button. A popup notifying the alert policy deletion will open.
- You can delete multiple alert policies at the same time.
- You can also delete individually by clicking the Delete button at the far right of each alert policy, or by clicking the Delete Alert Policy button on the corresponding Alert Policy Details page.
- Confirm 버튼을 클릭하세요. 경보 정책이 삭제됩니다.
Reference
Deleting an alert policy can take tens of minutes or more depending on the scale.
3 - Metric
The user can monitor and manage metrics for service resources in the Samsung Cloud Platform Console.
Check the metric
You can check the metrics available on ServiceWatch.
To check the metrics, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the metric menu. It moves to the metric page.
- Metric page’s metric list, please check the metric.
| Classification | Detailed Description |
|---|
| Metric list area | List of metrics that can be monitored in ServiceWatch- Click the + button in front of the namespace and dimension to check the lower-level list
- Monitoring is possible by selecting an metric
|
| search filter area | namespace-dimension name, metric name, resource name, resource ID, tag-key set after, filter apply button click to filter the metric list- namespace-dimension name: select namespace and dimension name
- metric name: enter the exact metric name
- resource name: enter the exact resource name
- resource ID: enter the exact resource ID
- tag key: select the tag key
|
Table. List of metric items
Managing Metric Charts
You can add the chart of monitoring result metrics as a widget or manage the data.
To check the metric, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the metric menu. It moves to the metric page.
- Metric page, select the metric to be monitored from the list of metrics. The monitoring chart for the selected metric will be displayed in the Selected Metric area at the bottom.
- Selected Metric area’s monitoring chart, set the table area, then click the More > Add Widget button. The Add Widget popup window opens.
- Select the widget addition method and enter the required information. The required information varies depending on the addition method.
| Classification | Necessity | Detailed Description |
|---|
| Replication method | Required | After replicating the widget, select the dashboard to add- Existing dashboard: Add a widget to an existing dashboard
- New dashboard: Create a new dashboard and add a widget
|
| Dashboard selection | Required | Select a dashboard to add a replicated widget among the existing created dashboards- Displayed when the replication method is selected as existing dashboard
|
| Dashboard Name | Required | Enter the name of the new dashboard to be created- Displayed when the replication method is selected as New Dashboard
- Enter within 3 to 40 characters using English, numbers, and special characters (
-_)
|
| Widget Name | Required | Enter the name of the widget when adding it to the dashboard- Use English, numbers, and special characters (
-_.|) to enter within 3 ~ 255 characters
|
Table. Add widget items
- When the required information input is complete, click the completed button. A pop-up window announcing the addition of the widget will open.
- Click the Confirm button on the popup window. A widget will be added to the corresponding dashboard.
Monitoring chart file download
You can download the monitoring chart information in the form of a file.
To download the monitoring chart information, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the metric menu. It moves to the metric page.
- Metric page, select the metrics to be monitored from the metric list. The monitoring chart for the selected metric will be displayed in the Selected Metric area below.
- Selected metric area’s monitoring chart, set the table area, then click the More > File Download button. The File Download popup window will open.
- Select the file download method, then click the Confirm button. The download will start.
- The download methods can be selected simultaneously.
| Classification | Detailed Description |
|---|
| CSV | Convert chart metrics and monitoring data to Excel (*.csv) file for download |
| PNG | chart to image(*.png) file conversion and download |
Table. Monitoring file download items
Export to Object Storage
You can store monitoring chart data in Object Storage.
Guidance
Object Storage requires user privileges to store.
- User: {email}
- Action: iam:CreatGroup
- On resource: {SRN}
- Context: no identity-based policy allows the action
To store monitoring chart data in Object Storage, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Metrics menu. It moves to the Metrics page.
- Metric page, select the metric to be monitored from the metric list. The monitoring chart for the selected metric will be displayed in the Selected Metric area at the bottom.
- Selected metric area’s monitoring chart, set the table area, then click the More > Object Storage Export button. The Object Storage Export popup window will open.
- After selecting a bucket to store the data, click the Complete button. A popup window announcing data storage will open.
- Click the Confirm button in the popup window. Data export will begin.
Notice
- The restrictions on the metrics that can be exported to Object Storage are as follows.
- Number of metrics: 10 or less
- Inquiry period: within 2 months (63 days)
- If the search period exceeds 2 months (63 days), only data for up to 63 days will be stored.
Note
- If there is no Object Storage to store the metric data, create an Object Storage and proceed.
- Metric data is stored in “metric name-yyyymmddhhmmss.json” file format and can be found in the ~/servicewatch/metric path of the Object Storage bucket.
Monitoring chart source view
You can check the source code of the monitoring chart.
To check the source code of the monitoring chart, follow the next procedure.
- All services > Management > ServiceWatch menu, click. It moves to the Service Home page.
- Service Home page, click the Metrics menu. It moves to the Metrics page.
- Metric page, select the metrics to be monitored from the list of metrics. The monitoring chart for the selected metric will be displayed in the Selected Metric area below.
- Selected Metric area’s monitoring chart, set the table area, then click the More > View Source button. The Widget Source View popup window opens.
| Classification | Detailed Description |
|---|
| Source Information | Displays the source code of the monitoring chart in JSON format |
| code copy | copy source code to clipboard |
Table. Monitoring Chart Source View Items
4 - Log
ServiceWatch allows you to create and manage log groups to generate alert notifications when the set conditions are met by setting threshold criteria for the metrics to be monitored.
Create a log group
You can create a log group for the metric.
To create a log group, follow these procedures.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Log > Log Group menu. It moves to the Log Group List page.
- Log Group List page, click the Create Log Group button. Move to the Create Log Group page.
- Enter the basic information and tag information required for log group creation, and then click the Complete button. A pop-up window announcing the creation of the log group will open.
| Classification | Mandatory | Detailed Description |
|---|
| Log group name | Required | Enter the name of the log group to be monitored in ServiceWatch- Enter within 3 ~ 512 characters using English, numbers, special characters(
-_./#)
|
| Log retention policy | Required | Select the period to store the monitored log data |
| tag | selection | add tag information- up to 50 tags can be added per resource
- when adding a tag, you can select from the list of existing tag keys and values by entering the key and value
|
Table. Log Group Creation Items
- Confirm button will be clicked. Log group creation will be completed.
You can check and manage detailed information about the log group.
To check detailed information about the log group, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Log > Log Group menu. It moves to the Log Group List page.
- Log Group List page, click the log group name to check the detailed information. It moves to the Log Group Details page.
| Classification | Detailed Description |
|---|
| Log group status | Status of the log group- Active: The log group is in an activated state
- Inactive: The log group is in a deactivated state
|
| Export log group | Save log data of the log group to Object Storage |
| Log Group Delete | Delete the corresponding log group |
| Information division tab | Information division tab for log group- Detailed information, log stream, tags, work history
- Clicking on each tab allows you to check the corresponding information
|
Table. Log Group Detailed Items
Note
Log Group List page, you can export data by clicking the More > Export Log Group button to store the log group in Object Storage.
Log Group List page where you can check the basic information and log group information of the selected log group.
| Category | Detailed Description |
|---|
| Service | Service Name |
| Resource Type | Resource Type |
| SRN | Unique resource ID in Samsung Cloud Platform- In ServiceWatch, it means SRN of resource type
|
| Resource Name | Resource Name- In ServiceWatch, it means the name of the log group
|
| Resource ID | Unique resource ID in the service |
| Creator | The user who created the service |
| Creation Time | Time when the service was created |
| Editor | User who modified the service information |
| Revision Time | The time when service information was revised |
| Log Group Name | Name of the log group |
| Log retention policy | Log data retention period- Modify button can be clicked to change the retention period
|
| Log Data | Total stored log data capacity (bytes) |
Table. Log group details - Detailed information tab items
Log Stream
Log Group List page where you can check the log stream of the selected log group.
| Classification | Detailed Description |
|---|
| All stream inquiry | Detailed information about all log streams in the log stream list can be checked |
| Log Stream Creation | Create a new log stream |
| Log Stream List | Log stream name and log change time- Click the log stream name to check the detailed information of the log stream
- Click the Delete button to delete the log stream
- Check the log stream to be deleted and click the More > Delete button at the top of the list to delete it simultaneously
|
Table. Log group details - Log stream tab items
Tag
Log Group List page where you can check the tag information of the selected log group, and add, change or delete it.
| Classification | Detailed Description |
|---|
| Tag List | Tag’s Key, Value information |
| Edit tag | Modify, delete existing tag information, or add new tags- Up to 50 tags can be added per resource
- When adding a tag, you can enter Key and Value values and select from the list of existing created tag Key and Value
|
Table. Log group details - Tags tab items
Work History
Log Group List page where you can check the operation history of the selected log group.
| Classification | Detailed Description |
|---|
| Work History List | Resource Change History- Work details, work time, resource type, resource name, work result, worker information can be checked
- Click the Settings button to change information items
- Period selection, User time zone, worker information input, Detailed search can be used for filtering
- Clicking on the work details in the Work History List moves to the Activity Details page of the corresponding work
|
Table. Log Group Details - Job 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 the log group.
To create a hog stream, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Log > Log Group menu. It moves to the Log Group List page.
- Log Group List page, click the log group name to check the detailed information. It moves to the Log Group Details page.
- Log Group Details page, click the Log Stream tab. The list of log streams will be displayed.
- Create Log Stream button, the Create Log Stream popup window opens.
- Log Stream Name을 입력한 후, Confirm 버튼을 클릭하세요. Log stream creation will be completed.
- The name should be entered within 3 ~ 512 characters using English and numbers.
You can check and manage detailed information about the log stream.
To check detailed information about the log stream, follow the next procedure.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Log > Log Group menu. It moves to the Log Group List page.
- Log Group List page, click the log group name to check the detailed information. It moves to the Log Group Details page.
- Log Group Details page, click the Log Stream tab. The Log Stream list will be displayed.
- Log Stream Click the log stream name to check the detailed information in the Log Stream list. It moves to the Log Stream Details page.
- Clicking the All Log Streams Query button at the top of the log stream list will move to the All Log Streams Details page.
| Classification | Detailed Description |
|---|
| Excel Download | Possible to download log stream history as an Excel file |
| Time Stamp List | Message List by Time Stamp- Period Selection, User Time Zone, message input can be used for filtering
|
Table. Log Group Details - Log Stream Details Item
Deleting log streams
You can delete unused log streams.
To delete a log stream, follow these procedures.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Log > Log Group menu. Move to the Log Group List page.
- Log Group List page, click the log group name to check the detailed information. It moves to the Log Group Details page.
- Log Group Details page, click the Log Stream tab. The list of log streams will be displayed.
- Select the checkbox of the log stream to be deleted from the log stream list, then click the More > Delete button. A popup window notifying log stream deletion will be opened.
- You can delete multiple log streams at the same time.
- You can also delete them individually by clicking the delete button at the far right end of each log stream.
- Confirm button will be clicked. The log group will be deleted.
Export log group
You can store log group data in Object Storage.
To store log group data in Object Storage, follow these procedures.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Log > Log Group Export menu. It moves to the Log Group Export List page.
- Log Group Export List page, click the Log Group Export button. Move to the Log Group Export page.
| Classification | Mandatory | Detailed Description |
|---|
| Log group selection | Required | Select the log group to be stored in Object Storage- If there are log streams included in the log group, you can select the log streams to be saved by clicking the Select button
- If you do not select a log group, the entire data of the log group will be saved
|
| Period selection | Selection | Select user time zone and data storage interval- Data storage interval can be selected in the Time Setting area or set the start and end time by clicking the Direct Input button
|
| Storage Bucket | Required | Select a bucket to store data- Up to 50 tags can be added per resource
- When adding a tag, you can enter the Key and Value, and select from the list of existing tags’ Key and Value
|
Table. Export items in log group
- After selecting a bucket to store the data, click the Complete button. A pop-up window notifying data storage will open.
- Click the Confirm button in the popup window. Data export will begin.
- The progress can be checked on the log group export list page.
Note
- If there is no Object Storage to store log group data, create Object Storage and proceed.
- Exporting log group data may take tens of minutes or more, depending on the scale.
- If there is an ongoing log group export task in the Account, you can proceed with the export after completing the ongoing task first.
Delete log group
You can delete unused log groups.
To delete a log group, follow these procedures.
- All services > Management > ServiceWatch menu is clicked. It moves to the Service Home page.
- Service Home page, click the Log > Log Group menu. Move to the Log Group List page.
- Log Group List page, select the checkbox of the log group to be deleted, and then click the Delete button. A popup window announcing the deletion of the log group will open.
- You can delete multiple log groups at the same time.
- You can also delete them individually by clicking the Delete button at the far right of each log group or the Delete Log Group button on the corresponding Log Group Details page.
- Confirm button will be clicked. The log group will be deleted.
5 - Event
In ServiceWatch, you can check and process events generated by the Samsung Cloud Platform service.
Create Event Rules
You can create event rules to receive notifications when events occur.
To create an event rule, follow these steps.
- Click the All Services > Management > ServiceWatch menu. Navigate to the Service Home page.
- Service Home page, click the Event Rules menu. Navigate to the Event Rules List page.
- Click the Create Event Rule button on the Event Rule List page. You will be taken to the Create Event Rule page.
- Basic Information Input Enter the name and description of the event rule in the area.
- Event Pattern Settings Please set the required information in the area. The configured event pattern is entered in JSON code format in Event Pattern Settings Status.
| Category | Required | Detailed description |
|---|
| Event Source | Required | Select the service name of the event you want to receive from ServiceWatch |
| Event Type | Required | Select the type of event from the event source to be used in the event rule- Classified the same as resource type
|
| Apply Event | Required | Select events to apply the event pattern from events occurring in the event type- All Events: Apply all events occurring in the event type
- Individual Events: Select events from those occurring in the event type to set as the event pattern
|
| Applicable Resource | Required | Select the resource to which the event pattern will be applied- All resources: Set the event pattern for events occurring in all resources
- Individual resource: Set the event pattern for the specific event occurring in a particular resource
- When an individual resource is selected, display the event resource selection area
- Click the Add Resource button to select resources
- Added resources can be removed by selecting the resource in the resource list and clicking the Delete button
|
| Event Pattern Configuration Status | - | Converted to JSON code format and displayed according to the event pattern settings- Changing the event pattern settings will reset
- Click the Copy Code item to copy the source code
|
Table. Event Pattern Settings Items
- Notification Settings Select the user(s) to receive the notification when an event occurs in the area.
- Only users with login history (users who have registered email or mobile phone number) can be added as notification recipients.
- Notification recipients can be added up to a maximum of 100.
Reference
- If there is no user to add, you can create a user on the IAM service’s User Creation page. For detailed information on user creation, see Create User.
- Notification reception method (E-mail or SMS) can be changed on the Notification Settings page after selecting the notification target Service > Event Rule. For detailed information about notification settings, refer to Check Notification Settings.
- Additional Information Input area, after adding tag information, click the Complete button. A popup notifying the creation of an event rule will open.
- Click the Confirm button. Event rule creation is complete.
You can view and manage detailed information about event rules.
Follow the steps below to view detailed information about the event rules.
- Click the All Services > Management > ServiceWatch menu. Navigate to the Service Home page.
- Click the Event Rules menu on the Service Home page. Navigate to the Event Rules List page.
- Event Rules List page, click the event name to view detailed information. You will be taken to the Event Rules Detail page.
| Category | Detailed description |
|---|
| Event Rule Status | Status of the event rule- Active: The event rule is in an active state
- Inactive: The event rule is in an inactive state
- Can be changed by clicking the Activate or Deactivate button
|
| Delete Event Rule | Delete the corresponding event rule |
| Information Classification Tab | Information classification tab for alarm policy- Detailed information, notifications, tags, operation history
- Click each tab to view the corresponding information
|
Table. Event Rule Detailed Items
On the Event Rule List page, you can view the basic information and event rule information of the selected event rule.
| Category | 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 name of the event rule.
|
| Resource ID | Unique resource ID in the service |
| Creator | User who created the service |
| Creation time | Service creation time |
| Editor | User who modified the service information |
| Modification Date/Time | Date and time the service information was modified |
| Event rule name | Name of the event rule |
| Event Pattern Configuration Status | Display event pattern configuration values in JSON code format- Click the Edit button to modify the event pattern
- Click the Copy Code item to copy the source code
|
| Explanation | Description of event rules- Edit button can be clicked to edit the description
|
Table. Alert Policy Details - Detailed Information Tab Items
Notification
You can check the notification recipients of the selected event rule on the Event Rule List page.
| Category | Detailed description |
|---|
| Notification Recipient List | Username, Creation Date, Last Login Information- Delete button can be clicked to remove the user from the notification recipient list
- After checking the users to delete, click the Delete button at the top of the list to delete them simultaneously
|
| Add notification recipient | Ability to add new notification recipient- Add notification recipient Select user to add in the popup window
|
Table. Event Rule Details - Notification Tab Items
Reference
- Only users with login history (users who have registered email or 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 IAM service’s User Creation page. For detailed information on user creation, see Create User.
- Notification reception method (E-mail or SMS) can be changed on the Notification Settings page after selecting the notification target as Service > Event Rule. For detailed information about notification settings, refer to Check Notification Settings.
Tag
Event Rules page allows you to view the tag information of the selected event rule, and you can add, modify, or delete it.
| Category | Detailed description |
|---|
| Tag List | Tag’s Key, Value information |
| Tag Edit | Modify or delete existing tag information, or add new tags- Up to 50 tags can be added per resource
- When adding a tag, if you enter Key and Value, you can select from the list of Keys and Values of previously created tags
|
Table. Event Rule Details - Tag Tab Items
Work History
You can view the action history of the selected event rule on the Alert Policy List page.
| Category | Detailed description |
|---|
| Work History List | Resource Change History- Work details, work date and time, resource type, resource name, work result, worker information can be checked
- Click the Settings button to change information items
- Filtering possible using Period Selection, User Time Zone, worker information input, Detailed Search
- Clicking a work detail in the Work History List moves to the Detailed Activity History page for that work
|
Table. Event Rule Details - Work History Tab Items
Edit event pattern
You can modify the event pattern.
To modify the event pattern, follow the steps below.
- All Services > Management > ServiceWatch Click the menu. Service Home page will be displayed.
- Service Home page, click the Event Rule menu. Navigate to the Event Rule List page.
- Event Rule List page, click the event name to edit the event pattern. Event Rule Details page will be opened.
- Click the Edit button in the Event Pattern Settings on the Event Rule Details page. The Edit Event Pattern popup window opens.
- After modifying the event pattern settings, click the Confirm button. A popup notifying the event pattern modification will open.
- For detailed information on event pattern modification items, refer to Create Event Rule.
- Confirm Click the button. The event pattern modification is complete.
Delete event rules
You can delete unused event rules.
To delete the event rules, follow the steps below.
- All Services > Management > ServiceWatch Click the menu. Service Home page will be displayed.
- Click the Event Rules menu on the Service Home page. You will be taken to the Event Rules List page.
- On the Event Rule List page, after selecting the checkbox of the event rule to delete, click the Delete button. A popup notifying the deletion of the event rule will open.
- You can delete multiple event rules at the same time.
- You can also delete individually by clicking the More > Delete button at the far right of each alert policy, or by clicking the Delete Event Rule button on the Event Rule Details page.
- Confirm Click the button. The event rule will be deleted.
6 - ServiceWatch Agent Using
Users can install the ServiceWatch Agent on Virtual Server/GPU Server/Bare Metal Server, etc., to collect custom metrics and logs.
Reference
Collecting custom metrics/logs via ServiceWatch Agent is currently only available on Samsung Cloud Platform For Enterprise. It will be offered in other offerings in the future.
Caution
Metric collection via ServiceWatch Agent is classified as custom metrics and, unlike the metrics collected by default from each service, incurs charges, so you must be careful not to set up unnecessary metric collection. Ensure that only the metrics that need to be collected are collected.
ServiceWatch Agent
The agents that need to be installed on the server for collecting ServiceWatch’s custom metrics and logs can be broadly divided into two types.
Prometheus Exporter and Open Telemetry Collector.
| Category | Detailed description | |
|---|
| Prometheus Exporter | Provides metrics of a specific application or service in a format that Prometheus can scrape- For collecting server OS metrics, 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 the 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 gathers telemetry data such as metrics and logs from distributed systems, processes (filtering, sampling, etc.) it, and exports it to various backends (e.g., Prometheus, Jaeger, Elasticsearch).- Exports data to the ServiceWatch Gateway so that ServiceWatch can collect metric and log data.
- This guide provides instructions on how to use the Open Telemetry Collector provided by ServiceWatch
| |
Table. Description of Prometheus Exporter and Open Telemetry Collector
Reference
To link server log files to ServiceWatch via the ServiceWatch Agent, you must first create a log group and a log stream within the log group.
- For detailed information on creating log groups and log streams, please refer to Log.
Open Telemetry Collector preset for ServiceWatch
Install according to the steps below to use the Open Telemetry Collector for collecting ServiceWatch metrics and logs on the server.
- Download the Agent file from the URL where the Agent file can be downloaded for ServiceWatch.
Notice
We will guide you to the file download link for installing the Agent for ServiceWatch through the Samsung Cloud Platform Console announcements and
Support Center > 문의하기.
wget [ServiceWatch Agent file download URL]
wget [ServiceWatch Agent file download URL]
Code block. Command to download Agent installation file for ServiceWatch- The 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. Decompress Agent file for ServiceWatch - If the environment using ServiceWatch Agent is Linux OS, you must grant execution permission as below.
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. Grant execution permission to Agent file for ServiceWatch| Category | Detailed description |
|---|
| examples | Example configuration file folder. Each folder contains example files agent.json, log.json, metric.jsonos-metrics-min-examples: Example of minimal metric configuration using Node Exporter
os-metrics-all-examples: Example of memory/filesystem Collector metric configuration using Node Exporter
gpu-metrics-min-examples: Example of minimal metric configuration using DCGM Exporter
gpu-metrics-all-examples: Example of major metric configuration 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. Agent file configuration for ServiceWatch
Note
ServiceWatch Agent Manager is a tool that works with ServiceWatch to assist in configuring the OpenTelemetry Collector for efficiently sending custom metrics and logs. Through this, various custom metrics and log data can be delivered to ServiceWatch.
Define the Agent configuration file of ServiceWatch Agent Manager for the Open Telemetry Collector for ServiceWatch.
| Category | Detailed description |
|---|
| namespace | Custom namespace for custom metrics- A namespace is a logical separation used to distinguish and group metrics, designated as a custom metric to differentiate custom metrics.
- The namespace must be 3 to 128 characters long, consisting of letters, numbers, spaces, and special characters (
_-/), and must start with a letter.
|
| accessKey | IAM authentication key Access Key |
| accessSecret | IAM authentication key Secret Key |
| resourceId | Resource ID of the server on Samsung Cloud Platform- Example: Resource ID of Virtual Server
|
| openApiEndpoint | ServiceWatch OpenAPI Endpoint by region/offering- Example: https://servicewatch.
region.offering.samsungsdscloud.com
- The
region and offering information can be found in the Samsung Cloud Platform Console access URL
|
| telemetryPort | ServiceWatch Agent’s Telemetry Port- Usually uses port 8888. Change required if port 8888 is already in use
|
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 on the server's Samsung Cloud Platform
"openApiEndpoint": "https://servicewatch.kr-west1.e.samsungsdscloud.com", # Region/Environment-specific ServiceWatch OpenAPI Endpoint
"telemetryPort": 8889 # ServiceWatch Agent's Telemetry Port (usually uses port 8888. Change if port 8888 is in use)
"}
{
"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 on the server's Samsung Cloud Platform
"openApiEndpoint": "https://servicewatch.kr-west1.e.samsungsdscloud.com", # Region/Environment-specific ServiceWatch OpenAPI Endpoint
"telemetryPort": 8889 # ServiceWatch Agent's Telemetry Port (usually uses port 8888. Change if port 8888 is in use)
"}
Code block. agent.json configuration exampleDefine the metric configuration file for collecting metrics for ServiceWatch.
- If you want to collect metrics through the Agent, set metric.json.
| Category | Detailed description |
|---|
| prometheus > scrape_configs > targets | Endpoint of metric collection target- For a server, install Prometheus Exporter on the same server, so set this endpoint
|
| prometheus > scrape_configs > jobName | Job Name setting. Usually set to the type of Prometheus Exporter used for metric collection |
| metricMetas > metricName | Set the name of the metric to be collected. The metric name must be 3 to 128 characters long, including English letters, numbers, and special characters (_), and must start with an English letter.- Example: node_cpu_seconds_total
|
| metricMetas > dimensions | Set the label among the Collector’s labels provided to identify the source of the Exporter’s metric data, for visualizing on the Console. When visualizing the collected metrics on the Console, they are displayed in combinations according to the dimensions setting.- Example: If no special label is provided, as with the metrics of Node Exporter’s Memory Collector, set it to resource_id
- Example: The metrics of Node Exporter’s Filesystem Collector can have the dimension set to mountpoint, which represents the path where the filesystem is mounted on the system
|
| metricMetas > unit | Metric unit can be set- Example: Bytes, Count, etc.
|
| metricMetas > aggregationMethod | Method of aggregating based on the specified dimension(s)- Example: Choose among 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 the Prometheus Exporter installed on 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 with ServiceWatch among the metrics collected from the Prometheus Exporter
"dimensions": [
[
"resource_id" # Set the label for visualizing on the Console among the Collector's labels provided to identify the source of Node Exporter's metric data.
# If there is no special label provided, such as the relevant Memory-related metric, set it to resource_id
]
],
"unit": "bytes", # Collection metric data unit
"aggregationMethod": "SUM", # aggregation method
"descriptionKo": "Total physical memory size of the server", # Indicator's Korean description
"descriptionEn": "node memory total bytes" # English description of the metric
},
{
"metricName": "node_filesystem_size_bytes", # Set the metric name to be linked with ServiceWatch among the metrics collected from the Prometheus Exporter
"dimensions": [
[
"mountpoint" # Set the label for visualization on the Console among the Collector's labels provided to identify the source of Node Exporter's metric data.
# Set dimension (dimensions) as mountpoint indicating the path where the filesystem related to the Filesystem metric is mounted on the system
]
],
"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 the Prometheus Exporter installed on 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 with ServiceWatch among the metrics collected from the Prometheus Exporter
"dimensions": [
[
"resource_id" # Set the label for visualizing on the Console among the Collector's labels provided to identify the source of Node Exporter's metric data.
# If there is no special label provided, such as the relevant Memory-related metric, set it to resource_id
]
],
"unit": "bytes", # Collection metric data unit
"aggregationMethod": "SUM", # aggregation method
"descriptionKo": "Total physical memory size of the server", # Indicator's Korean description
"descriptionEn": "node memory total bytes" # English description of the metric
},
{
"metricName": "node_filesystem_size_bytes", # Set the metric name to be linked with ServiceWatch among the metrics collected from the Prometheus Exporter
"dimensions": [
[
"mountpoint" # Set the label for visualization on the Console among the Collector's labels provided to identify the source of Node Exporter's metric data.
# Set dimension (dimensions) as mountpoint indicating the path where the filesystem related to the Filesystem metric is mounted on the system
]
],
"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
Define the Log configuration file for log collection for ServiceWatch.
- If you want to collect logs, you need to configure log.json.
| Category | Detailed description |
|---|
| fileLog > include | Log file location to collect |
| fileLog > operators | Definition for parsing log messages to be collected |
| fileLog > operators > regex | Express log message format as a regular expression |
| fileLog > operators > timestamp | The format of the Time Stamp of the log message to be sent to ServiceWatch |
| logMetas > log_group_value | Log group name created to send logs to ServiceWatch |
| logMetas > log_stream_value | ServiceWatch log group log stream name |
Table. log.json configuration file items
{
"fileLog": {
"include": [
"/var/log/syslog", # Log file to be collected by ServiceWatch
"/var/log/auth.log"
],
"operators": {
"regex": "^(?P<timestamp>\\S+)\\s+(?P<hostname>\\S+)\\s+(?P<process>[^:]+):\\s+(?P<message>.*)$", # Represent log file format with regex
"timestamp": { # Set the format of the log message's Time Stamp
"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" # The log stream name within the pre-created ServiceWatch log group
}
}
{
"fileLog": {
"include": [
"/var/log/syslog", # Log file to be collected by ServiceWatch
"/var/log/auth.log"
],
"operators": {
"regex": "^(?P<timestamp>\\S+)\\s+(?P<hostname>\\S+)\\s+(?P<process>[^:]+):\\s+(?P<message>.*)$", # Represent log file format with regex
"timestamp": { # Set the format of the log message's Time Stamp
"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" # The log stream name within the pre-created ServiceWatch log group
}
}
Code block. log.json configuration example
Reference
To link the server’s log files to ServiceWatch via the ServiceWatch Agent, you must first create a log group and a log stream within the log group.
- For detailed information on creating log groups and log streams, please refer to Log.
Running Open Telemetry Collector for ServiceWatch
ServiceWatch Agent Execution Method
[SerivceWatch Agent executable] -action [run|stop] - dir [configuration file location] -collector [Open Telemetry Collector executable location]
| Execution Options | Detailed Description |
|---|
-action | Action setting (run or stop) |
-dir | agent.json, metric.json, log.json location of ServiceWatch Agent configuration files such as |
-collector | Open Telemetry Collector executable file location |
Table. log.json configuration file items
ServiceWatch Agent Execution (for Linux)
Reference
agent.json, metric.json, log.json files are in current location/agent/examples/os-metrics-min-examples, and assuming the otelcontribcol_linux_amd64 file is in current location/agent, run as follows.
Run the ServiceWatch Agent.
agent.json, metric.json, log.json file locations and servicewatch-agent-manager-linux-amd64,otelcontribcol_linux_amd64 file locations are checked to start the 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. ServiceWatch Agent start - Collect all metrics/logs- If you only want to collect metrics, rename the
log.json file to a different name or move it so that it is not in a directory such as agent.json, metric.json, and run as below../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. ServiceWatch Agent start - collect only metrics - If you only want to collect logs, rename the
metric.json file to a different filename or move it so that it is not in the same directory as agent.json, log.json, and then run as shown below../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. ServiceWatch Agent start - collect only logs
Stop the 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. ServiceWatch Agent stop
ServiceWatch Agent Run (for Windows)
Run the 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. ServiceWatch Agent startStop the ServiceWatch Agent.
servicewatch-agent-manager-windows-amd64.exe -action stop -dir ./examples
servicewatch-agent-manager-windows-amd64.exe -action stop -dir ./examples
Code block. ServiceWatch Agent stop