Skip to content

Instantly share code, notes, and snippets.

@donjohnson
Created November 4, 2015 15:08
Show Gist options
  • Save donjohnson/feae83a44dbb0b4351d7 to your computer and use it in GitHub Desktop.
Save donjohnson/feae83a44dbb0b4351d7 to your computer and use it in GitHub Desktop.
echo '{"a":4}'|nc hekatest 5565
[tcp]
type = "TcpInput"
address = ":5565"
decoder = "newline_decoder"
#splitter = "newline_splitter"
[newline_decoder]
type = "ScribbleDecoder"
[newline_decoder.message_fields]
Environment = "production"
[newline_splitter]
type = "TokenSplitter"
delimiter = '\n'
2015/11/04 08:51:35 Starting hekad...
2015/11/04 08:51:35 Output started: FileOutput
2015/11/04 08:51:35 Output started: Dashboard
2015/11/04 08:51:35 MessageRouter started.
2015/11/04 08:51:35 Input started: tcp
2015/11/04 08:51:35 Input started: devTest123
2015/11/04 08:51:39 Decoder 'tcp-newline_decoder-10.180.1.100': stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment