Adding a Service

Last updated on 13 October, 2022

The Services functionality is used for monitoring the health of instances of one or more monitored resources together. From the LogicMonitor navigation side, use the Services tab to create a service.

Creating a service involves the following steps:

  1. Add Basic Info – Add information such as name, description, and other.
  2. Add Members – Add resources and individual instances to the service you are creating.
  3. Add Metrics to datasource – Add metrics and complex datapoints to your service.
  4. Finish creating the service – Continue by creating alerts for the service, or creating another service.

Adding Basic Information to a Service

  1. From the LogicMonitor left navigation sidebar, click Services. The Services page appears with the Services tree, which contains a root folder and a list of all the available services.
  2. To select the location for your service, from the Services tree, select the root folder or any other service, and then click the Add icon. The Add dialog box appears with the following options:
    • Service: Select Service to create a service by grouping together the instances across one or more monitored resources.
    • Service Group: Select Service Group to create a service group by grouping together the services you want.
  3. Select Service. The Add Service page appears.
  4. Provide the following Basic Info for your service.
FieldDescription
Name(Required) Enter a name for the service that reflects what the Service represents.
DescriptionEnter a description for the service.
Enable alertingClick the Enable alerting toggle to turn on or turn off the alerts for this service.
IP Address/DNS NameEnter the IP address or DNS name for the service.
Collector GroupClick the search icon to view the list of available collector groups and then select the group you want.
Preferred CollectorClick the search icon to view the list of available collectors from the group you have selected and then select the collector you want.
GroupsClick the search icon for Name to view available groups and then select the group you want. You can add multiple groups to your service.
Note: Use the Groups table to add the service to a Service Group in the Services tree to organize your services.
Services cannot be added to Device Groups. You can add Service Groups using Services > Add >  Service Group.
PropertiesClick the search icon for Name to view available properties and then select the property you want. You can add multiple properties to your service.
Note: Add properties to your service if you want to apply the same aggregate DataSource to many Services. For example, you might have several clustered instances of the same application running in different locations, and want to set up a Service for each. In this case, you can go through the Add Service Wizard completely the first time, and leverage a property to apply the automatically created DataSource to future Services, without having to go through the wizard again.
  1. Click Next: Members to add members to your service.

Adding Members to a Service

After adding basic information, add members to your service. 

  1. Click Add Service > Basic Info > Next: Members. The members information page appears.
  2. Select a membership option from the Re-evaluate membership every drop-down.
    • 5 Minutes: Re-evaluates membership of the added members after every 5 minutes.
    • 30 Minutes: Re-evaluates membership of the added members after every 30 minutes.
    • 1 Day: Re-evaluates membership of the added members after every 24 hours.
      Note: This option enables you to select how often the membership criteria for your Service should be re-evaluated. Use a smaller value for a more dynamic Service (for example, containerized application, cloud auto-scaling group), and use a larger value for more static Service.
  3. From Members, click the +Add a Member button, and then provide the following information.
FieldDescription
GroupClick the search icon to view the list of available groups and then select the group you want.
Include SubgroupsClick the Include Subgroups toggle if you want to include subgroups for the member.
ResourceClick the search icon to view list of available resources and then select the resource you want.
Property FiltersClick the search icon for Name to view available filter properties and then select the property filter you want. You can add multiple groups to your service.
Note: The resource Property Filter enables you to dynamically match resources based property values. You can make membership dynamic by either using glob in the group, device, and instance name fields, and/or by adding a resource property filter. For example, you could match all servers with ‘kafka’ in the name by entering ‘*kafka*’ in the device field. Also, you could match all EC2 instances in a specific Auto Scaling group by adding a device property filter set to match any devices with the property ‘system.aws.tag.aws:autoscaling:groupName’ set to the Auto Scaling group name.
  1. Click the Save icon. The member is added in the Members section.
  2. From Individual Instance, click the +Add an Instance button to add an instance of the member, and then provide the following information.
FieldDescription
GroupClick the search icon to view the list of available groups and then select the group you want.
Include SubgroupsClick the Include Subgroups toggle to include if you want to include subgroups for the member.
ResourceClick the search icon to view the list of available resources and then select the resource you want.
Property FiltersClick the search icon for Name to view the available filter properties and then select the property filter you want. You can add multiple groups to your service.
DataSourceClick the search icon for Name to view the available DataSources and then select the DataSource you want.
InstanceClick the search icon for Name to view the available instance and then select the instance you want.
  1. Click the Save icon. The instance is added in the Individual Instances section.
  2. Click Next: Metrics to add metrics to your service.

Adding Metrics to a Service

After adding members, do the following to add metrics to your service. 

  1. Click Add Service > Basic Info > Members > Next: Metrics. The Metrics information page appears.
  2. From DataSource, select a datasource to add a metrics. The Metrics section appears.
  3. From Metrics, select the metrics you want. The following options are available.
MetricsDescription
MeanAggregated metrics for a given datapoint.
SumThe total of aggregated metrics for a given datapoint.
MinThe minimum number for a metric over a specified time range.
MaxThe maximum number for a metric over a specified time range.
CountThe total number of instances for that datapoint and DataSource combination.
RangeThe difference between Max and Min.
UnbalancedIn load balancing, some nodes receive small tasks while other nodes receive larger and more complex tasks. For such scenarios, unbalanced metrics can provide insights into these issues.
An Unbalanced service refers to a group of instances that is not utilized evenly for some metrics. Select the Unbalanced option for any datapoint to add unbalanced service detection. You can also set alerts and thresholds for the datapoints.
PercentileThe specified percentile value of all available values for the datapoint for each timestamp.
  1. Click the Save icon. The metrics are added to the DataSources. The number of selected metrics appear in the Selected Metrics column for that Datasource.
  2. To add a complex datapoint, from Complex Datappoints, click +Add a complex datapoint, and then provide the following information.
FieldDescription
Name(Required) Enter a name for the complex datapoint.
DescriptionEnter a description for the complex datapoint.
Insert a DatapointSelect the datapoint that you want to insert in the expression. 
ExpressionCreate the expression you want using the datapoint. The Expression is a mandatory field. To know more about creating an expression, see Complex Datapoints.
  1. Click the Save icon. The metrics are added to the DataSources.
  2. Click Finish to complete the service creation process.

Finish Adding a Service

After you finish adding a service, you can do the following:

  • Go to Service: Click to review the service you have just created.
  • Create Alert: Click to create rules and alerts for the service, see Alert Rules.
  • Add Service: Click to add another service.

About Services Page

You can access Services from the Services tree. When you open a service, the Service page displays various tabs with more information about the service.

The Service page has the following tabs.

TabDescription
InfoDisplays the resources and individual instances that belong to the Service.
The Info tab has the following sections:
Properties – Displays properties such as Type, Name, Value, and Inherited From.
Members of Groups – Displays the name of the groups that this service is added to. If you want to go to the group, click the group name.
External Resources IDs – Displays the external resources IDs.
StatusDisplays the status of your Service based on the alert thresholds you configured. To add the status widgets to your dashboard, from the status widget, click More, and then click Add to Dashboard.
AlertsDisplays Service alerts, but also enables you to include alerts for individual instances and resources. You may find starting at the Service level and drilling down into the individual resource and instance alerts useful for troubleshooting. To know more about alerts, see Alerts.
SDTThe Schedule down time (SDT) tab displays if there is any SDT applied to the service. Adding an SDT for the Service will also add SDT to each member of the service (resources and individual instances).
GraphsDisplays the DataSource graphs that are created by default. You can drill down from the aggregate data to individual instance data for any given graph using the Member Instance Graphs list on the Graphs tab when the DataSource is selected.
LogsDisplays log events associated with a service. To know more about logs, see Logs.
MapsDisplays a dynamic topology map for your Service, and also shows each resource and individual instance member.
In This Article