Filtering Log Entries
TR can produce reports that are based on just the log entries youre interested in. You may wish to exclude a particular visitor from your reports, such as yourself. Or you may wish to exclude certain URLs. By default there are no preset filters; TR includes all log entries unless you tell it otherwise. (The filter system cannot be used to exclude web sites from your reports. Instead, see the Reporting on Individual Domains section. You may have Logs that record the activity of many different web sites and would like a report on just one of them.) (If you want to exclude internal Referrers from your reports, dont use the filter system as it will throw off all the reports; instead, see the Controlling How Internal Referrers Affect Your Reports Section.) Before setting up your own filters, take a look at the following example filter:
- Filter Type
- Filter Name
- Host Name
For an entry to be within the above filter, its Host Name could not be 188.8.131.52. This filter limits entries to those not from this visitor. If its checkbox were checked, then the filter would include entries from only this visitor. For filters that are of the same type, TR requires that at least one of them is true of an entry. (Does the entry contain visitor1 or visitor2?) If the log entry passes each filter types test, then the entry is included in the report. Filter names may include asterisks (those little stars) at the beginning and/or end. These are used so you can indicate whether a particular item must begin with, end with, match, or contain the filter name you specify:
- Begins With foo*
- Ends With *foo
- Matches foo
- Contains *foo*
In the Filter panel, each category corresponds to a different part of your log file. See Appendix A for details.
To add a new filter, click the Add button. A Create New Filter dialog will appear:
Select the kind of filter youd like using the Filter Type popup menu and type a name for the filter. When youre done, click the Create button. To clear a filter, first highlight it. Then click the Clear button or hit the Delete key. You can quickly remove all the filters youve set up by clicking the Clear All button. To edit an existing filter name, click it. An edit field will appear around it, allowing it to be changed.