A client-server version of grep for logs which allows developers to quickly sift through a large collection of webserver logs
- Match regular expressions over a directory of files
- Split each log line into two parts: (a) time/date and (b) rest. Search query now has two parameters: date and time range, and pattern to match over (b).
- A server using RPC query service. That is, the client submits a query by invoking a remote procedure call.
- Supports Pagination–return query results in pages. Show number of lines that match
- Start Server
java -jar loggrepserver.jar <log directory>
- Start Client
java -jar client.jar LogGrepClient <startdate> <enddate> <regexFormat>