This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. On the Dashboard List page, click the dashboard for the resources you want to monitor. You will be taken to the Dashboard Detail page.
  4. On the Dashboard Detail page, select the monitoring period and time zone, then monitor resources through widgets.
    DivisionDetailed Description
    Dashboard NameDashboard name
    • Click the name to select another dashboard
    Period Setting AreaSelect 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 AreaSelect the time zone to apply to the period setting
    Reset ButtonReset all manipulations or settings on the dashboard detail screen
    Refresh Setting AreaSelect 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
    EditModify dashboard information
    • When you click the Edit button, you will be taken to the Edit Dashboard page
    MoreDisplay additional task items for managing the dashboard
    Alert StatusDisplay 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 StatusDisplay 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.

Viewing Widget Details

You can individually view widgets in the dashboard by enlarging them. Follow these steps to view an individual widget in enlarged mode.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. On the Dashboard List page, click the dashboard for the resources you want to monitor. You will be taken to the Dashboard Detail page.
  4. 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.
    DivisionDetailed Description
    Widget NameDisplay the widget name
    Period Setting AreaSelect the period to apply to the widget
    • For metric query, you can set up to 455 days from the current time
    Time Zone Setting AreaSelect the time zone to apply to the period setting
    Reset ButtonReset all manipulations or settings on the dashboard detail screen
    StatisticsSelect 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 AreaSelect 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 AreaSelect 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 AreaDisplay 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Alert > Alert History menu. You will be taken to the Alert History page.
  3. On the Alert History page, view the alert history.
    DivisionDetailed Description
    Alert Filter and Search AreaFilter 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 NameAlert policy name
    • When you click the alert policy name, you can view detailed information of that alert policy
    ConditionAlert occurrence condition and total occurrence time
    • Display levels by importance: High, Middle, Low
    DivisionClassification of alert creation and alert status change information
    Alert StatusCurrent 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 LevelWhen alert status is Alert, display the alert level
    • High, Middle, Low
    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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Metrics menu. You will be taken to the Metrics page.

  3. On the Metrics page, click Compare by Metrics in the metric view mode.

  4. 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.

    DivisionDetailed Description
    Metric List AreaList 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 AreaSet 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

  5. View the monitoring chart in the Selected Metrics area.

    DivisionDetailed Description
    Period Setting AreaSelect the period to apply to the chart
    • For metric query, you can set up to 455 days from the current time
    Time Zone Setting AreaSelect the time zone to apply to the chart
    Reset ButtonReset all manipulations or settings on the chart
    Refresh Setting AreaSelect 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
    MoreDisplay additional task items for managing the chart
    Graph AreaData 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 AreaCheck 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Metrics menu. You will be taken to the Metrics page.

  3. On the Metrics page, click Compare by Date in the metric view mode.

  4. 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.

    DivisionDetailed Description
    Metric List AreaList 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 AreaSet 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

  5. View the monitoring chart in the Selected Metrics area.

    DivisionDetailed Description
    Date Comparison/Period ComparisonSelect 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 AreaSelect 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
      • You can set up to 4
    • Period Comparison: To be provided in the future
    Time Zone Setting AreaSelect the time zone to apply to the chart
    Reset ButtonReset all manipulations or settings on the chart
    Refresh Setting AreaSelect 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
    MoreDisplay additional task items for managing the chart
    Graph AreaData 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 AreaCheck 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
  3. 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.
  4. On the Log Group Detail page, click the Log Stream tab. The Log Stream list is displayed.
  5. 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.
      DivisionDetailed Description
      Excel DownloadDownload log stream history as an Excel file
      Timestamp ListMessage 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Agent Setup & Guideline button. The Agent Setup & Guideline popup window will open.
  3. 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.

Creating a Dashboard by Adding Individual Widgets

Follow these steps to create a dashboard.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.

  3. On the Dashboard List page, click the Create Dashboard button.

  4. 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.
  5. 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 DivisionOptionalFilter the metrics that can be monitored in ServiceWatch by All or Key Metrics and display them in the metric list
      Metric List AreaRequiredList 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
  6. Click the Done button in the widget addition popup window. The widget is added to the dashboard on the dashboard creation page.

  7. After confirming the added widget, click the Create button. A popup window will open announcing the dashboard creation.

  8. Click the Confirm button. The dashboard creation is complete.

Creating a Dashboard by Adding Multiple Widgets

Follow these steps to create a dashboard.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.

  3. On the Dashboard List page, click the Create Dashboard button.

  4. 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.
  5. 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 DivisionOptionalFilter the metrics that can be monitored in ServiceWatch by All or Key Metrics and display them in the metric list
      Metric Selection AreaRequiredSelect 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 MetricsRequiredDisplay 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 ResourcesRequiredAdd 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
      StatisticsRequiredSelect the statistics criterion for metric values
      • You can select from Average (default), Minimum, Maximum, Sum
      Aggregation PeriodRequiredSelect 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
  6. Click the Done button in the widget addition popup window. The widget is added to the dashboard on the dashboard creation page.

  7. After confirming the added widget, click the Create button. A popup window will open announcing the dashboard creation.

  8. Click the Confirm button. The dashboard creation is complete.

Creating a Dashboard by Importing a Dashboard

Follow these steps to create a dashboard.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.

  3. On the Dashboard List page, click the Create Dashboard button.

  4. 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.
  5. 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
      DashboardRequiredDisplay the list of dashboards registered in ServiceWatch
      • When you select a dashboard, the widgets applied to that dashboard are displayed in the Preview area
      PreviewRequiredDisplay 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
  6. Click the Done button in the widget addition popup window. The widget is added to the dashboard on the dashboard creation page.

  7. After confirming the added widget, click the Create button. A popup window will open announcing the dashboard creation.

  8. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
    DivisionDetailed Description
    Dashboard NameDashboard 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 DivisionDashboard division
    • User: Dashboard created directly by the user
    • Service: Dashboard composed of key metrics for each service automatically pre-built
    Modified DateDashboard modification date
    Created DateDashboard creation date
    FavoritesDisplayed in yellow if favorites are set
    • To set or unset favorites, click the star icon
    Table. Dashboard List Items
  3. 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.
    DivisionDetailed Description
    Dashboard NameDisplay the dashboard name
    • Click the name to select another dashboard
    Period Setting AreaSelect 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 AreaSelect the time zone to apply to the period setting
    Reset ButtonReset all manipulations or settings on the dashboard detail screen
    Refresh Setting AreaSelect 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
    EditModify the dashboard name or manage widgets
    • When you click the Edit button, you will be taken to the Edit Dashboard page
    MoreDisplay additional task items for managing the dashboard
    • You can clone and delete the dashboard, view detailed information, and view source
    Widget AreaDisplay 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.
  4. Click the Edit button in the upper right corner of the Dashboard Detail page. You will be taken to the Edit Dashboard page.
  5. After modifying the dashboard information or widgets, click the Save button.
    DivisionDetailed Description
    Dashboard NameDashboard name cannot be modified
    • Enter within 34 characters using English letters, numbers, and special characters (-_)
    • Duplicate dashboard names in use cannot be used
    Widget NameWidget name can be modified
    • Enter within 3 to 255 characters using English letters, numbers, spaces, and special characters (-_.|)
    Widget ManagementWhen 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 WidgetAdd 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

Viewing Dashboard Detailed Information

You can view detailed information about a dashboard. Follow these steps to view dashboard detailed information.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.
  4. Click the More > Detailed Information button in the upper right corner of the Dashboard Detail page. The Dashboard Detailed Information popup window will open.
    DivisionDetailed Description
    Dashboard NameDashboard name
    Dashboard DivisionUsage division of the dashboard
    • User: Dashboard created directly by the user
    • Service: Dashboard composed of key metrics for each service automatically pre-built
    ServiceService name
    Resource Typedashboard
    SRNUnique resource ID in Samsung Cloud Platform
    • In ServiceWatch, it means the SRN of the dashboard
    Resource NameResource name
    • In ServiceWatch, it means the dashboard name
    Resource IDUnique resource ID in the service
    CreatorUser who created the dashboard
    Created DateDate and time when the dashboard was created
    ModifierUser who modified the dashboard information
    Modified DateDate 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.

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

Viewing Dashboard Source Code

You can view the dashboard source code. Follow these steps to view dashboard source code.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.
  4. Click the More > View Source button in the upper right corner of the Dashboard Detail page. The Dashboard View Source popup window will open.
    DivisionDetailed Description
    Source InformationDisplay dashboard source code in JSON format
    Copy CodeCopy 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.

  3. 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.

  4. Click the More > Clone button in the upper right corner of the Dashboard Detail page. The Clone Dashboard popup window will open.

  5. 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 MethodRequiredAfter 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 NameRequiredEnter 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 SelectionRequiredSelect 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

  6. After entering the required information, click the Done button. A popup window will open announcing the dashboard cloning.

  7. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.
  4. After entering Delete in the delete confirmation input area, click the Confirm button. The dashboard is deleted.

Managing Widgets

On the Dashboard Detail page, you can modify or manage widgets.

Editing a Widget

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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. On the Dashboard List page, click the dashboard for which you want to edit widgets. You will be taken to the Dashboard Detail page.
  4. 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.
  5. After modifying the widget’s metrics and resources, click the Confirm button. The widget editing is complete.
    Division
    Required
    Detailed Description
    Metric DivisionOptionalFilter the metrics that can be monitored in ServiceWatch by All or Key Metrics and display them in the metric list
    Metric List AreaRequiredList 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

Cloning a Widget

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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.

  3. On the Dashboard List page, click the dashboard to clone. You will be taken to the Dashboard Detail page.

  4. 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.

  5. 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 MethodRequiredAfter 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 SelectionRequiredSelect a dashboard to add the cloned widget from among previously created dashboards
    • Displayed when clone method is selected as Existing Dashboard
    Dashboard NameRequiredEnter 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 NameRequiredEnter 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

  6. After entering the required information, click the Done button. A popup window will open announcing the widget addition.

  7. Click the Confirm button in the popup window. The widget is cloned and added to the dashboard.

Downloading Widget Files

You can download widget information as a file. Follow these steps to download widget information.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.
  4. 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.
  5. Select a file download method and click the Confirm button. The download will start.
    • You can select multiple download methods at the same time.
      DivisionDetailed Description
      CSVConvert the widget’s metrics and monitoring data to Excel (*.csv) file format and download
      PNGConvert the widget chart to image (*.png) file format and download
      Table. Widget File Download Items

Viewing Widget Metrics

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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.
  4. 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.

Viewing Widget Source Code

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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.
  4. 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.
    DivisionDetailed Description
    Source InformationDisplay widget source code in JSON format
    Copy CodeCopy source code to clipboard
    Table. Widget View Source Items

Downloading Widget Files

You can download widget information as a file. Follow these steps to download widget information.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.
  4. 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.
  5. Select a file download method and click the Confirm button. The download will start.
    • You can select multiple download methods at the same time.
      DivisionDetailed Description
      CSVConvert the widget’s metrics and monitoring data to Excel (*.csv) file format and download
      PNGConvert 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Dashboard > Dashboard List menu. You will be taken to the Dashboard List page.
  3. 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.
  4. 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.
  5. Select the bucket to save the widget information and click the Done button. A popup window will open announcing the save.
  6. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Alert > Alert Policy menu. You will be taken to the Alert Policy List page.

  3. On the Alert Policy List page, click the Create Alert Policy button. You will be taken to the Create Alert Policy page.

  4. 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.

  5. 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 CategoryRequiredFilter and display the list of metrics available for monitoring in ServiceWatch by All or Key Metrics
    Metric List AreaRequiredList 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

  6. 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 RangeRequiredTime (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
    StatisticsRequiredSelect 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 ConfigurationOptionalSet 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
        • Can enter 1 ~ 8,640
      • 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 SettingRequired
    • 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 LevelRequiredSelect 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

  7. 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.
  8. In the Enter Additional Information area, add tag information.

  9. After checking the summary information, click the Create button. A popup window announcing the creation of the alert policy opens.

  10. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. 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.
  3. 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.
    CategoryDescription
    Alert Policy StatusStatus 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 DeletionDelete the corresponding alert policy
    Alert StatusCurrent 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 ChartMetric monitoring chart during the set period
    Information Category TabsInformation 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.

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

Detailed Information

You can view the basic information and metric information of the alert policy selected on the Alert Policy List page.

CategoryDescription
ServiceService name
Resource TypeResource type
SRNUnique resource ID in Samsung Cloud Platform
  • In ServiceWatch, means the SRN of the resource type
Resource NameResource name
  • In ServiceWatch, means the name of the alert policy
Resource IDUnique resource ID in the service
CreatorUser who created the service
Creation DateDate and time when the service was created
ModifierUser who modified the service information
Modification DateDate and time when the service information was modified
Alert Policy NameName of the alert policy
NamespaceNamespace of the metric
Metric NameName of the metric
Evaluation RangeTime range for alert evaluation
UnitUnit of metric data
Number of EvaluationsNumber of alert policy evaluations
Number of ViolationsNumber of alert policy violations
StatisticsMethod for calculating metric data during the evaluation range
Evaluation IntervalEvaluation interval: Evaluation range (unit) x Number of evaluations
ConditionCondition for alert status (Alert) change according to the set Condition Operator and Threshold
Alert LevelAlert level when alert occurs
Target Metric Information AreaDescription, 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.

CategoryDescription
Notification Recipient ListUser 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
DeleteDelete all selected users from the notification recipient list
  • Activated when you check the user to delete from the notification recipient list
MoreChange 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 RecipientCan 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.

CategoryDescription
Alert History ListAlert 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 DetailsCan 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

Tags

You can view the tag information of the alert policy selected on the Alert Policy List page, and add, change, or delete it.

CategoryDescription
Tag ListKey, Value information of tags
Modify TagsCan 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.

CategoryDescription
Operation History ListResource 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Alert > Alert Policy menu. You will be taken to the Alert Policy List page.
  3. 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.
  4. 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.
  5. After modifying the metric information and policy settings, click the Confirm button. A popup window announcing the metric modification opens.
  6. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Alert > Alert Policy menu. You will be taken to the Alert Policy List page.
  3. 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.
  4. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Metric menu. You will be taken to the Metric page.
  3. Check the metrics in the metric list on the Metric page.
CategoryDescription
Metric Comparison ModeSelect 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 CategoryFilter and display the list of metrics available for monitoring in ServiceWatch by All or Key Metrics
Metric List AreaList 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 AreaSet 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 MetricDisplay 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.

Adding as Widget

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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Metric menu. You will be taken to the Metric page.

  3. 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.

  4. 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.

  5. Select the widget addition method and enter the required information. Required information varies depending on the addition method.

    Category
    Required
    Description
    Duplication MethodRequiredSelect 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 SelectionRequiredSelect the dashboard to add the duplicated widget among existing dashboards
    • Displayed when duplication method is selected as Existing Dashboard
    Dashboard NameRequiredEnter 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 NameRequiredEnter 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

  6. After entering the required information, click the Complete button. A popup window announcing the widget addition opens.

  7. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Metric menu. You will be taken to the Metric page.
  3. 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.
  4. 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.
  5. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Metric menu. You will be taken to the Metric page.
  3. 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.
  4. 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.
  5. Select the file download method, then click the Confirm button. Download starts.
    • You can select download methods simultaneously.
      CategoryDescription
      CSVConvert chart metrics and monitoring data to Excel (*.csv) files and download
      PNGConvert 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Metric menu. You will be taken to the Metric page.
  3. 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.
  4. 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.
  5. Select the bucket to save data, then click the Complete button. A popup window announcing data saving opens.
  6. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Metric menu. You will be taken to the Metric page.
  3. 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.
  4. 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.
    CategoryDescription
    Source InformationDisplay source code of monitoring chart in JSON format
    Copy CodeCopy 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.

  3. On the Log Group List page, click the Create Log Group button. You will be taken to the Create Log Group page.

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

    Division
    Required
    Detailed Description
    Log Group NameRequiredEnter 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 PolicyRequiredSelect the period to retain monitored log data
    TagOptionalAdd 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

  5. After checking the summary information, click the Create button. A popup window will open announcing the log group creation.

  6. Click the Confirm button. The log group creation is complete.

Viewing Log Group Detailed Information

You can view and manage detailed information about log groups.

Follow these steps to view detailed information about log groups.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
  3. 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.
    DivisionDetailed Description
    Log Group StatusStatus of the log group
    • Active: Log group is activated
    • Inactive: Log group is deactivated
    Export Log GroupSave log data of the log group to Object Storage
    Delete Log GroupDelete the corresponding log group
    Information Division TabInformation 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.

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

Detailed Information

You can view basic information and log group information for the log group selected on the Log Group List page.

DivisionDetailed Description
ServiceService name
Resource TypeResource type
SRNUnique resource ID in Samsung Cloud Platform
  • In ServiceWatch, it means the SRN of the resource type
Resource NameResource name
  • In ServiceWatch, it means the log group name
Resource IDUnique resource ID in the service
CreatorUser who created the service
Created DateDate and time when the service was created
ModifierUser who modified the service information
Modified DateDate and time when the service information was modified
Log Group NameLog group name
Log Retention PolicyRetention period of log data
  • Click the Edit button to change the retention period
Log DataTotal 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.

DivisionDetailed Description
View All StreamsCan view detailed information for all log streams in the log stream list
Create Log StreamCreate a new log stream
Log Stream ListLog stream name and log change date
  • 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.

DivisionDetailed Description
Log Pattern ListLog pattern name, pattern, log pattern namespace, metric name, alert policy name information
  • Click the log pattern name or alert policy name to go to the 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
DeleteDelete all selected log patterns from the log pattern list
  • Activated when you check the log pattern in the log pattern list
Create Log PatternCreate a new log pattern
Table. Log Group Detail - Log Pattern Tab Items

Tags

You can view tag information for the log group selected on the Log Group List page, and add, modify, or delete them.

DivisionDetailed Description
Tag ListKey, Value information of tags
Edit TagModify 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.

DivisionDetailed Description
Operation History ListResource 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
  3. On the Log Group List page, click the log group name for which you want to create a log stream. You will be taken to the Log Group Detail page.
  4. On the Log Group Detail page, click the Log Stream tab. The log stream list is displayed.
  5. Click the Create Log Stream button. The Create Log Stream popup window will open.
  6. 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.

Viewing Log Stream Detailed Information

You can view and manage detailed information about log streams. Follow these steps to view detailed information about log streams.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
  3. 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.
  4. On the Log Group Detail page, click the Log Stream tab. The Log Stream list is displayed.
  5. 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.
    DivisionDetailed Description
    Excel DownloadDownload log stream history as an Excel file
    Timestamp ListMessage 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
  3. 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.
  4. On the Log Group Detail page, click the Log Stream tab. The log stream list is displayed.
  5. 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.
  6. Click the Confirm button. The log stream is deleted.

Managing Log Patterns

Creating a Log Pattern

Follow these steps to create a log pattern.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.

  3. On the Log Group List page, click the log group name for which you want to create a log pattern. You will be taken to the Log Group Detail page.

  4. On the Log Group Detail page, click the Log Pattern tab. The log pattern list is displayed.

  5. Click the Create Log Pattern button. You will be taken to the Create Log Pattern page.

  6. 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 NameRequiredEnter the name of the log pattern
      • Enter within 3 to 512 characters using English letters, numbers, and special characters (-_./#)
      Pattern FormatRequiredSelect 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 TestOptionalDirectly 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
      NamespaceRequiredSelect 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 NameRequiredEnter the name of the metric
      • Enter within 3 to 128 characters using English letters, numbers, and special characters (_)
      Metric ValueRequiredEnter the metric value
      • Enter a number of 0 or higher or $indetifier
      Default ValueOptionalEnter if using the default value
      • Enter as a float value of 0 or higher
      • Cannot use Dimension when using default value
      UnitRequiredSelect the metric unit
      DimensionOptionalSet 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
        • Can add up to 3
      Table. Create Log Pattern - Metric Information Items
  7. After checking the summary information, click the Create button. A popup window will open announcing the log pattern creation.

  8. Click the Confirm button. The log pattern creation is complete.

Viewing Log Pattern Detailed Information

Follow these steps to view detailed information about a log pattern.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
  3. 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.
  4. On the Log Group Detail page, click the Log Pattern tab. The log pattern list is displayed.
  5. 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.
    DivisionDetailed Description
    Create Alert PolicyCan create alert policy
    • Click the button to go to the alert policy creation page
    Delete Log PatternDelete the log pattern currently being viewed
    Log Pattern NameLog pattern name
    CreatorUser who created the log pattern
    Created DateDate and time when the log pattern was created
    ModifierUser who modified the log pattern information
    Modified DateDate and time when the log pattern information was modified
    PatternPattern format
    Metric InformationMetric 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
  3. 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.
  4. On the Log Group Detail page, click the Log Pattern tab. The log pattern list is displayed.
  5. 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.
  6. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Log > Export Log Group menu. You will be taken to the Export Log Group List page.

  3. 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 GroupRequiredSelect 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 PeriodOptionalSelect 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 BucketRequiredSelect 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

  4. After selecting the bucket to save the data, click the Done button. A popup window will open announcing the data save.

  5. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Log > Log Group menu. You will be taken to the Log Group List page.
  3. 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.
  4. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.

  2. On the Service Home page, click the Event Rule menu. You will be taken to the Event Rule List page.

  3. On the Event Rule List page, click the Create Event Rule button. You will be taken to the Create Event Rule page.

  4. In the Enter Basic Information area, enter the name and description of the event rule.

  5. 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 SourceRequiredSelect the service name of the event you want to receive in ServiceWatch
    Event TypeRequiredSelect the event type of the event source to use in the event rule
    • Classified the same as resource type
    Applied EventRequiredSelect 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 ResourceRequiredSelect 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

  6. 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.
  7. In the Enter Additional Information area, add tag information.

  8. After checking the summary information, click the Create button. A popup window will open announcing the event rule creation.

  9. Click the Confirm button. The event rule creation is complete.

Viewing Event Rule Detailed Information

You can view and manage detailed information about event rules. Follow these steps to view detailed information about event rules.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Event Rule menu. You will be taken to the Event Rule List page.
  3. 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.
    DivisionDetailed Description
    Event Rule StatusStatus 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 RuleDelete the corresponding event rule
    Information Division TabInformation 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

Detailed Information

You can view basic information and event rule information for the event rule selected on the Event Rule List page.

DivisionDetailed Description
ServiceService name
Resource TypeResource type
SRNUnique resource ID in Samsung Cloud Platform
  • In ServiceWatch, it means the SRN of the resource type
Resource NameResource name
  • In ServiceWatch, it means the event rule name
Resource IDUnique resource ID in the service
CreatorUser who created the service
Created DateDate and time when the service was created
ModifierUser who modified the service information
Modified DateDate and time when the service information was modified
Event Rule NameEvent rule name
Event Pattern Setting StatusDisplay 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
DescriptionDescription 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.

DivisionDetailed Description
Notification Recipient ListUser 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
DeleteDelete all selected users from the notification recipient list
  • Activated when you check the user to delete from the notification recipient list
MoreChange 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 RecipientAdd 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.

Tags

You can view tag information for the event rule selected on the Event Rule page, and add, modify, or delete them.

DivisionDetailed Description
Tag ListKey, Value information of tags
Edit TagModify 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.

DivisionDetailed Description
Operation History ListResource 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Event Rule menu. You will be taken to the Event Rule List page.
  3. 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.
  4. Click the Edit button in the Event Pattern Setting Status on the Event Rule Detail page. The Edit Event Pattern popup window will open.
  5. After modifying the event pattern settings, click the Confirm button. A popup window will open announcing the event pattern modification.
  6. 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.

  1. Click the All Services > Management > ServiceWatch menu. You will be taken to the Service Home page.
  2. On the Service Home page, click the Event Rule menu. You will be taken to the Event Rule List page.
  3. 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.
  4. 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.

CategoryDescription
Prometheus ExporterProvides 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
      • Virtual Server
      • GPU Server
      • Bare Metal Server
      • Multi-node GPU Cluster > GPU Node
  • You can use DCGM (NVIDIA Data Center GPU Manager) Exporter for GPU metrics.
    • Target
      • GPU Server
      • Multi-node GPU Cluster > GPU Node
Open Telemetry CollectorActs 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.

  1. 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.
      DirectionTypePortDestination Address
      OutboundCustom TCP443ServiceWatch OpenAPI Endpoint IP Address
      Table. Security Group Rules for ServiceWatch Agent Communication
  2. Adding Firewall Rules

    • If firewall is enabled on the Internet Gateway of the VPC, you must add Firewall rules as follows.
      DirectionTypePortActionSource AddressDestination Address
      OutboundTCP443AllowPrivate IP address assigned when creating Virtual Server. Virtual Server Private IP address can be checked in Checking Virtual Server Details.ServiceWatch OpenAPI Endpoint IP Address
      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.

OfferingRegionURLIP Address
For Enterprisekr-west1https://servicewatch.kr-west1.e.samsungsdscloud.com112.107.105.24
For Enterprisekr-east1https://servicewatch.kr-east1.e.samsungsdscloud.com112.107.105.68
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.

  1. 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.
    Color mode
    wget [ServiceWatch Agent File Download URL]
    wget [ServiceWatch Agent File Download URL]
    Code Block. ServiceWatch Agent Installation File Download Command

  2. The Open Telemetry Collector Agent file for ServiceWatch can be checked as follows.

    • Extract the Agent file for ServiceWatch.
      Color mode
      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.
      Color mode
      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
      CategoryDescription
      examplesExample configuration file folder. Inside each folder, there are agent.json, log.json, metric.json example files
      • os-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_amd64Open Telemetry Collector for Linux for ServiceWatch
      otelcontribcol_windows_amd64.exeOpen Telemetry Collector for Windows for ServiceWatch
      servicewatch-agent-manager-linux-amd64ServiceWatch Agent Manager for Linux
      servicewatch-agent-manager-windows-amd64.exeServiceWatch 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.
  1. Define the Agent configuration file of ServiceWatch Agent Manager for the Open Telemetry Collector for ServiceWatch.

    CategoryDescription
    namespaceCustom 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.
    accessKeyIAM authentication key Access Key
    accessSecretIAM authentication key Secret Key
    resourceIdResource ID of the server in Samsung Cloud Platform
    • Example: Resource ID of Virtual Server
    openApiEndpointServiceWatch 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
    telemetryPortTelemetry 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
    Color mode
    {
        "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 Example

  2. Define the Metric configuration file for metric collection for ServiceWatch.

    • If you want to collect metrics through the Agent, configure metric.json.
      CategoryDescription
      prometheus > scrape_configs > targetsEndpoint 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
      • Example: localhost:9100
      prometheus > scrape_configs > jobNameJob Name setting. Usually set to the Prometheus Exporter type used when collecting metrics
      • Example: node-exporter
      metricMetas > metricNameSet 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 > dimensionsSet 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 > unitCan set the unit of the metric
      • Example: Bytes, Count, etc.
      metricMetas > aggregationMethodMethod of aggregating based on the specified dimensions
      • Example: Select from SUM, MAX, MIN, COUNT
      metricMetas > descriptionKoKorean description of the metric being collected
      metricMetas > descriptionEnEnglish description of the metric being collected
      Table. metric.json Configuration File Items
      Color mode
      {
          "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.
      Color mode
      ...
          "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
  3. Define the Log configuration file for log collection for ServiceWatch.

    • If you want to collect logs, you must configure log.json.
      CategoryDescription
      fileLog > includeLocation of log files to collect
      fileLog > operatorsDefined to parse log messages to collect
      fileLog > operators > regexExpress log message format as regular expression
      fileLog > operators > timestampFormat of Time Stamp of log message to be sent to ServiceWatch
      logMetas > log_group_valueLog group name created to send logs to ServiceWatch
      logMetas > log_stream_valueLog stream name in ServiceWatch log group
      Table. log.json Configuration File Items
      Color mode
      {
          "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 Example
      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.

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 OptionDescription
-actionAction setting (run or stop)
-dirLocation of ServiceWatch Agent configuration files such as agent.json, metric.json, log.json
-collectorLocation 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.
  1. 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.
      Color mode
      ./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.
      Color mode
      ./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.
      Color mode
      ./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
  2. Stop ServiceWatch Agent.

    Color mode
    ./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)

  1. Run ServiceWatch Agent.

    Color mode
    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 Agent

  2. Stop ServiceWatch Agent.

    Color mode
    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