Last active
March 9, 2016 17:24
-
-
Save yimaihortonworks/b1231127f9d20972ed77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <source> | |
| @type stdin | |
| #path /var/log/hive/hiveserver2.log | |
| #pos_file /root/hiveserver2.log.pos | |
| format /^(?<datetime>\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}),\d{3} (?<level>[A-Z]+)[ ]+\[(?<message>.+)$/ | |
| tag test.input | |
| </source> | |
| <match test.input> | |
| @type solr | |
| zk_host localhost:2181 | |
| collection logs | |
| flush_interval 5s | |
| </match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment