Come join our live training webinar every other Wednesday at 11am PST and hear LogicMonitor experts explain best practices and answer common questions. We understand these are uncertain times, and we are here to help!
AppliesTo functions are part of AppliesTo scripting, which is a scripting method for selecting a set of LogicMonitor resources based on their properties. You can define your own AppliesTo functions globally, and those functions can then be called from any location within LogicMonitor that takes AppliesTo scripting as input.
Once created, user-defined AppliesTo functions, in essence, act as convenience functions within the AppliesTo scripting language. For more information on AppliesTo convenience functions, as well as the syntax used to build AppliesTo statements, see AppliesTo Scripting Overview.
To create a user-defined AppliesTo function, select Settings | AppliesTo Functions | Add. The Add New AppliesTo Function dialog appears, allowing you to configure various function settings including the function name, description, and its actual AppliesTo statement.
As you’re building your user-defined function, use the Test AppliesTo button to test the AppliesTo statement against all resources in monitoring. As discussed in AppliesTo Scripting Overview, the number of matching resources (along with a link allowing you to view these resources) is returned.
In This Article