Join fellow LogicMonitor users at the Elevate Community Conference and get hands-on with our latest product innovations.

Register Now

Resources

Explore our blogs, guides, case studies, eBooks, and more actionable insights to enhance your IT monitoring and observability.

View Resources

About us

Get to know LogicMonitor and our team.

About us

Documentation

Read through our documentation, check out our latest release notes, or submit a ticket to our world-class customer service team.

View Resources

AppliesTo Function Scripting Overview

Last updated on 22 May, 2025

AppliesTo scripting is a method for selecting LogicMonitor resources based on their properties. These properties may be assigned automatically using basic system information discovery or PropertySource execution, inherited from the parent resource or resource group, or they may be assigned manually. For more information, see Resource and Instance Properties.

AppliesTo scripting evaluates each monitored resource and returns those that meet the specified conditions. You can use AppliesTo scripting throughout LogicMonitor to do the following:

  • Associating LogicModules with resources—When entered into a LogicModule definition, an AppliesTo scripting expression determines which resources a LogicModule applies to.
    For more information, see Applying DataSources to Resources.
  • Dynamically grouping resources—AppliesTo scripting expressions are used to dynamically organize resources into groups.
    For more information, see Resource Groups Overview.
  • Applying custom resource dashboard templates to resources—AppliesTo scripting is used to display custom resource dashboards for subsets of resources. 
    For more information, see Graphs Tab.
  • Returning resource counts for inclusion on dashboards—Various dashboard widgets including the Pie Chart widget and Big Number widget can be customized to return resource counts based on the results of an AppliesTo scripting query.
    For more information, Pie Chart Widget and Big Number Widget.
  • Creating custom AppliesTo functions—AppliesTo scripting can be used to create custom AppliesTo functions for reuse across your platform. 
    For more information, see AppliesTo Function Configuration.

For more information about the syntax you can use for AppliesTo scripting, see AppliesTo Function Scripting Syntax Reference.


Start Your Trial

Full access to the LogicMonitor platform.
Comprehensive monitoring and alerting for unlimited devices.