Object-type detection
Web pages are made up of multiple objects. To properly construct pages, you must establish rules to differentiate types of objects:
- Redirects represent objects that refer to another location.Typically, the server identifies a redirect with an HTTP status code in the 300s.
- Containers normally cause the browser to load additional content to satisfy the container's (that is, the web page's) needs, such as HTML, JSP, ASP, and PHP.
- Components always support containers, such as GIF, JPG, CSS, JavaScript, applets, and ActiveX. All Component objects must have a Container parent page record. When a hit (HTTP request and response pair) is classified as a Component and no associated parent Container is detected, it is determined to be orphaned. The object is displayed as a Document in the Session Browser; however, the record type remains a Component. (In a filter expression, the is_promoted_document expression can be used to identify orphan Components.)
- Documents are stand-alone resources that do not require any support, such as PDF files and spreadsheets.
The object-type detection policy is a prioritized list of object-type detection rules. Each rule defines a set of objects and associates it with one of the four object types. Also see Page-detection.
By default, BMC Real End User Experience Monitoring comes with object-type detection rules that define how the file types or HTTP statuses should be treated by the system.
Default object-type detection policies
Priority | Type | Expression |
---|---|---|
1 | Redirect | http_status in (300, 301, 302, 303, 307) |
2 | Document | url.extension in ("pdf","doc","xml") |
3 | Component | mime_type startswith "image" || mime_type contains "javascript" |
4 | Container | url.extension in ("asp", "jsp", "do", "exe", "htm", "dll", "html", "shtml", "php", "ph3", "ph4", "php3", "php4", "php5", "phtml") |
5 | Component | url.extension in ("js","css","gif","jpg","jpeg","png", "GIF", "swf") |
6 | Container | mime_type = "text/html" or mime_type = "text/plain" |
7 | Default catch-all | If a file does not match to any rule, it is considered as a container. |
To view the object-type detection policies, go to a Real User Analyzer, point to Administration > Data flow settings, and click Object type detection.
Where to go from here
Read more about configuring object-type detection.
Related topics