--- title: "Set up correlation rules to compare event fields" slug: "set-up-correlation-rules-to-compare-event-fields" tags: ["ESM", "Product Usage"] updated: 2026-09-12T21:19:29Z published: 2026-09-12T21:19:29Z canonical: "docs.trellix.com/set-up-correlation-rules-to-compare-event-fields" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up correlation rules to compare event fields Set up correlation rules to compare event fields (for example, compare that the source and destination user are the same). You can also set up a rule that ensures that the source IP address and destination IP address are different. > ### Note > > The values used with the Regex, Does not match regex, Contains, and Does not contain operators can be case sensitive or case insensitive depending on the rules or Default correlation manager settings. For In/Not In operators, only random string watchlists can be evaluated as case-insensitive, based on the *Default String Compare* setting configured on the correlation manager. 1. On the Trellix ESM console, click the **Policy Editor** icon ![GUID-D5AACD7D-9544-4011-8E37-D57FED1D7387-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-7b234e9a-be2c-e306-83f0-9984908b6c0e(1).png?sv=2026-02-06&spr=https&st=2026-11-22T16%3A18%3A46Z&se=2026-11-22T17%3A18%3A46Z&sr=c&sp=r&sig=2nDVH8p25gK0JiehkXFKDPggKjZOsPTvyYvwmaB4ciw%3D). 2. In the **Rule Types** pane, select **Correlation**, click the rule you want to compare fields in, then click Edit → Modify 3. Click the menu icon of a logic component ![Three_dots_icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-53dea48f-baf7-b5e6-13b3-eb15201497aa(1).png?sv=2026-02-06&spr=https&st=2026-11-22T16%3A18%3A46Z&se=2026-11-22T17%3A18%3A46Z&sr=c&sp=r&sig=2nDVH8p25gK0JiehkXFKDPggKjZOsPTvyYvwmaB4ciw%3D), then click **Edit**. 4. In the filters area, click **Add**, or select an existing filter and click **Edit**. 5. Click the **Default Value Editor** icon ![GUID-911771E2-BC63-4466-BDB0-4D486C98E7FA-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-5a1b22cb-943b-8674-d56f-7127bb8beb6b(1).png?sv=2026-02-06&spr=https&st=2026-11-22T16%3A18%3A46Z&se=2026-11-22T17%3A18%3A46Z&sr=c&sp=r&sig=2nDVH8p25gK0JiehkXFKDPggKjZOsPTvyYvwmaB4ciw%3D), type the value and click **Add**, then select the field on the **Fields** tab and click **Add**. Numeric fields support the following operators: greater than (>), less than (<), greater than or equal to (>=), and less than or equal to (<=).