Created
October 13, 2014 09:43
-
-
Save chenryn/e113ef73f7a4779dcbf1 to your computer and use it in GitHub Desktop.
heka tcpinput to logoutput
This file contains 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
[TcpInput] | |
address = ":5140" | |
parser_type = "message.proto" | |
decoder = "tcpdecoder" | |
[tcpdecoder] | |
type = "PayloadRegexDecoder" | |
match_regex = '^(?P<msg>.+)$' | |
[tcpdecoder.message_fields] | |
Type = "TcpInputLog" | |
Logger = "rsyslog" | |
Message = "%msg%" | |
[stdout] | |
type = "LogOutput" | |
message_matcher = "TRUE" | |
encoder = "hello_heka_output_encoder" | |
[hello_heka_output_encoder] | |
type = "PayloadEncoder" | |
append_newlines = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
try changing
TcpInput.parser_type
to 'token'