| Fax Appendix 1: Sample Log | |
Format:
In order to illustrate the creation and use of a generic collector, we will use an example of collecting data from a fax machine. Assume for the purpose of this example, that a fax machine logs its activity in the following format:
| Table 1 - Layout of the Fax Log | ||
| Columns | Description | Name |
| 1-8 | Name of fax machine | MACHINE |
| 10 | Send (S) or Receive (R) attempt | TYPE |
| 12-14 | Country code (blank unless international) | COUNTRY |
| 16-18 | Area code | ACODE |
| 20-27 | Phone number (xxx-yyyy) | PHNUM |
| 29-30 | Pages sent or received (99 page max) | PAGES |
| 32-39 | Date fax send/receive began (MM/DD/YY) | DATE |
| 41-48 | Time fax send/receive began (HH:MM:SS) | TIME |
| 50-51 | Pages re-sent (99 max) | RESENT |
| 53-60 | Total (elapsed) time of send/receive (HH:MM:SS) | CONNECT |
| 62 | Final Status
Code:
|
STATUS |
Sample data:
This is an example of fax data that corresponds to the format above.
| Column | 1 | 2 | 3 | 4 | 5 | 6 | ||||||||||
| Ruler | 123456789 | 0 | 12345678 | 9 | 0123456 | 789 | 0 | 1 | 23456789 | 0 | 1234567 | 890 | 1234567890 | 12 | ||
| larry | S | 502 | 677-4444 | 5 | 10/12/96 | 13:14:23 | 0 00:01:45 | C | ||||||||
| curly | R | 502 | 677-4444 | 5 | 10/13/96 | 01:01:12 | 2 00:05:14 | C | ||||||||
| moe | S | 052 014 | 752-1234 | 5 | 10/14/96 | 01:01:12 | 2 00:05:14 | C |