Correlation rules settings
This feature is part of the Observability Graph. See pricing.
Use correlation rules to map your object relationships across data sources, to create a full connected map of your environment.
The following setting are used when creating correlation rules on the Settings > Correlation page.
Tabs
Correlation rules are split across the following three tabs, grouped by where the rule came from:
- Custom Rules: Rules created by your organization. These are the only rules you can edit and delete.
- Data Source Rules: Rules that ship with a data source, grouped under one row for each data source instance. They are read-only, but you can re-evaluate them.
- Catalog Rules: Rules from the SquaredUp catalog that suit the data sources in your organization. A suggested rule waits for you to accept or reject it. An accepted rule stays on this tab and runs like any other rule, and a rejected rule stays listed in gray so you can accept it later.
Rule status
Each rule reports the outcome of its most recent run. The tooltip gives the time of the run, the number of objects processed, and the number of relationships created.
Row actions
- Re-evaluate rule: Runs the rule again immediately. Not available on a disabled rule or on a catalog rule you have not accepted.
- Edit rule: Opens the rule in the builder. Available on your own rules, including disabled ones. Data source rules and catalog rules cannot be edited. Saving an edit runs the rule again, and relationships created by the previous version are cleared in the background rather than straight away.
- Delete rule: Removes the rule. The relationships it created are cleared in the background rather than straight away. On a catalog rule, this rejects it instead, and it moves back to the list as rejected. Data source rules cannot be deleted.
- Accept rule and Reject rule: Catalog rules only. Accept rule is offered on suggested and rejected rules and runs the rule straight away. Reject rule is offered on suggested rules.
Relationship step fields
A red outline on an object end means the data source it points at no longer exists. An icon resolves from the types selected rather than from the data source, so several contributing data sources show a generic icon and built-in SquaredUp types show the SquaredUp one.
Conditions step fields
Every condition compares with equals, shown as an equals sign between the two properties. Any normalizing has to happen in a Custom expression.
A bridge rule has three condition sets rather than one: From to Bridge and Bridge to To, both required, and an optional From to To set for conditions comparing the two ends directly. All three are combined with AND.
Smart matching levels
The similarity slider has four stops. Each sets how closely two objects have to correspond before a relate rule connects them.
Preview behavior
The preview evaluates the rule against a sample of objects and writes nothing to the graph. It reports a limited number of matches, so it confirms that a rule works rather than showing everything it will do.
It samples up to 250 objects, stops after 10 seconds, and shows up to 20 relationships.
An empty preview has two meanings, and the dialog distinguishes them: either SquaredUp checked every candidate and found no match, or it stopped at the end of its sample. The second is not a verdict on the rule.
Limits
Permissions and availability
Correlation rules are part of the Observability Graph module. The Correlation settings page is available to administrators only.
Smart matching is enabled separately and draws on the organization’s AI token allowance. When that allowance runs out, the rule builder will not continue with a rule that uses it.
Troubleshooting
- A rule shows Not Run: It has been saved but not evaluated yet. Click Re-evaluate rule.
- A rule shows Warning: The run finished, but some objects could not be processed. Hover over the status to see how many relationships were created out of how many were found, then re-evaluate the rule.
- A rule shows Error: The run failed. Re-evaluate the rule. If it fails again, check that the data sources it uses are still connected and importing, then contact SquaredUp Support.
- A run stopped early: The status tooltip says the graph relationship limit was reached. Narrow the rule by selecting a data source or fewer types, or contact SquaredUp Support to raise the limit.
- A rule shows Disabled: A data source it points at is no longer connected. Edit the rule to choose a replacement, reconnect the data source, or delete the rule.
- The preview finds nothing: Check whether the dialog says every candidate was checked or that it stopped at the end of its sample. Only the first means the rule matched nothing. Check that the data sources have finished importing, and that the properties you compare hold values in the same format, switching the property to Custom if they do not.
- A data source rule is missing: Data source rules are added when you connect the data source. Check the Data Source Rules tab, grouped by data source instance.
- Two similar objects were not merged or related: Matching is on exact equality unless you use a Custom expression or smart matching. Compare the two values on the objects themselves.