> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://mezmo.ferndocs.com/exclusion-rules/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mezmo.ferndocs.com/_mcp/server. # Set Exclusion Rules Exclusion rules let you control what logs are stored. You can access Exclusion Rules by going to **[Usage > Exclusion Rules](https://app.mezmo.com/manage/exclusion-rules).** There are three parts to a rule. * **Hosts** - Exclude [hosts](https://docs.mezmo.com/docs/introducing-the-agent) configured on the app. * **Apps** - Exclude [apps](https://docs.mezmo.com/docs/filters). * **Query** - Create a [log query](https://docs.mezmo.com/docs/filters) You can include one or all to exclude logs. ![Create exclusion rules using Hosts, Apps and Query. Use one or all exclusion rules.](https://uploads.developerhub.io/prod/2KW7/7plpxrr3owywqawm2i0bam58tfo63xhvu490y7ztxymfw8wjmq9c2zqrfm4ac0bu.png)