--- title: "How rules generate alerts" slug: "how-rules-generate-alerts" tags: ["Product Usage", "Helix Enterprise", "Sec Ops and Analytics"] updated: 2026-08-10T09:28:37Z published: 2026-09-05T14:10:23Z canonical: "docs.trellix.com/how-rules-generate-alerts" stale: true --- > ## 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. # How rules generate alerts A rule is a search query that is run automatically to locate matches. A rule "hits" when its TQL query finds a match and its threshold occurs within its defined time window. Logging without generating alerts When a rule is set to Log Only, it executes its query and functions the same way, but it does not generate alerts. Rules set to Log Only can be used to generate assertions or reference dependencies, key components of multistage rules. Required log sources Note that some rules require data from specific types of log sources, and if those log sources are not present in your environment, they will not function.