Configure Which Ajax Requests Are Sent to the Events Service
Modern web pages often include a large number of Ajax requests. Not all of these Ajax requests may be equally important to monitor, but they all equally affect license entitlements and restrictions. Thus, you may want to configure which Ajax requests are sent to the Events Service to manage the impact on your overall Events Service usage.
To do this, you can create rules to specify the requests to be sent to the Events Service, either by excluding a request entirely, including a particular request or a sample of that request types by percentage or by just allowing the request to be sent. In general, the behavior follows this pattern:
- If no rules are specified, no data on Ajax requests is sent.
- If exclude rules are specified, and an Ajax request satisfies a rule, that data is not sent.
- If Page Grouping Rules are specified, any Ajax request that satisfies a rule is sent, based on sampling defined by the percentage indicated in the rule.
- If both include and exclude rules are specified, an Ajax request that satisfies a Page Grouping rule but does not satisfy an exclude rule is sent.
- If you only configure exclude rules and the sample percentage, the non-excluded calls would be sampled at the specified rate.
See Configure Page Identification and Naming for more information about default naming rules and how rules are evaluated.
Access Ajax Requests Rules
- Open the browser application in which you are interested.
- On the left navigation bar, select Configuration.
- Click Instrumentation >.
- Select the tab.
Configure Exclude Rules
- Click Add to create a new rule. The Exclude Rule popup appears.
- Specify a display name for the rule.
- Check Enabled to enable the rule.
- Enter a string and select one of the options in the dropdown to match the URLs that you want to exclude from the Ajax requests.
- Click OK to save the rule.