Thank you very much Ralph, this is what I was looking for.
Question though..
I thought "logsys read smdr newest 5000 match xxxx" would pull the newest 5000 entries that contain the matching string, but it actually seems to search through the newest 5000 entries for entries containing the string.. so I tried "logsys read smdr newest 50000 match xxxx". I'm not seeing all the entries that I'm expecting to see, and at the end of the search I get "LOGSYS info: READ completed for SMDR log with 19954 entries." I've done this multiple times, and the number seems to fluctuate - do the oldest entries get thrown out once the total number of entries reaches a certain limit? If so, is there a way to increase this limit? I need to keep an accurate daily count of calls coming to a particular extension, so I'd like to avoid those entries getting tossed and throwing the numbers off.