How about using the Drill logs as a use case? You have drillbit.out and drillbit_hostname.log to consume. It would be interesting to see how multiline log entries are handled.
Logstash does an excellent job IMO, but that's more for parsing. -----Original Message----- From: Charles Givre [mailto:[email protected]] Sent: Wednesday, February 07, 2018 2:32 AM To: [email protected] Subject: Test cases for Drill-6104: Added Logfile Reader Hello all, I submitted this PR for a logfile parser for Drill (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_drill_pull_1114&d=DwIFAg&c=cskdkSMqhcnjZxdQVpwTXg&r=-cT6otg6lpT_XkmYy7yg3A&m=oyYUEV4U-85UnHzphkWP57ikKiUPhdBpBw7F9HZGZZ4&s=rmM0FHOFV2_cyScnz1qtDz_zJpJjkPEB_2jT1WsujT0&e= <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_drill_pull_1114&d=DwIFAg&c=cskdkSMqhcnjZxdQVpwTXg&r=-cT6otg6lpT_XkmYy7yg3A&m=oyYUEV4U-85UnHzphkWP57ikKiUPhdBpBw7F9HZGZZ4&s=rmM0FHOFV2_cyScnz1qtDz_zJpJjkPEB_2jT1WsujT0&e=>) . I need to write unit tests for it, however I really have no idea how to do so. Could someone point me to an example or something so that the PR will pass the CI tests? TIA, - C
