Skip to content

Instantly share code, notes, and snippets.

@matschaffer
Created June 12, 2015 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matschaffer/69a21ec54212342c28a4 to your computer and use it in GitHub Desktop.
Save matschaffer/69a21ec54212342c28a4 to your computer and use it in GitHub Desktop.
# -*- mode: toml -*-
# vi: set ft=toml :
[hekad]
base_dir = "/tmp"
[on_space]
type = "TokenSplitter"
delimiter = " "
[DemoProcessInput]
type = "ProcessInput"
ticker_interval = 2
splitter = "on_space"
stdout = true
stderr = false
[DemoProcessInput.command.0]
bin = "/bin/echo"
args = ["a", "b", "c", "d"]
[DebugOutput]
#message_matcher = "Type == 'heka.sandbox.stellar.debug'"
#message_matcher = "Type == 'heka.sandbox-terminated'"
#message_matcher = "Type == 'heka.sandbox-terminated'"
message_matcher = "TRUE"
#message_matcher = "Type != 'heka.httpinput.data'"
type = "LogOutput"
encoder = "RstEncoder"
[RstEncoder]
2015/06/12 17:07:47 Pre-loading: [on_space]
2015/06/12 17:07:47 Pre-loading: [DemoProcessInput]
2015/06/12 17:07:47 Pre-loading: [DebugOutput]
2015/06/12 17:07:47 Pre-loading: [RstEncoder]
2015/06/12 17:07:47 Pre-loading: [ProtobufDecoder]
2015/06/12 17:07:47 Loading: [ProtobufDecoder]
2015/06/12 17:07:47 Pre-loading: [ProtobufEncoder]
2015/06/12 17:07:47 Loading: [ProtobufEncoder]
2015/06/12 17:07:47 Pre-loading: [TokenSplitter]
2015/06/12 17:07:47 Loading: [TokenSplitter]
2015/06/12 17:07:47 Pre-loading: [HekaFramingSplitter]
2015/06/12 17:07:47 Loading: [HekaFramingSplitter]
2015/06/12 17:07:47 Pre-loading: [NullSplitter]
2015/06/12 17:07:47 Loading: [NullSplitter]
2015/06/12 17:07:47 Loading: [RstEncoder]
2015/06/12 17:07:47 Loading: [on_space]
2015/06/12 17:07:47 Loading: [DemoProcessInput]
2015/06/12 17:07:47 Loading: [DebugOutput]
2015/06/12 17:07:47 Starting hekad...
2015/06/12 17:07:47 Output started: DebugOutput
2015/06/12 17:07:47 MessageRouter started.
2015/06/12 17:07:47 Input started: DemoProcessInput
2015/06/12 17:07:49
:Timestamp: 2015-06-12 08:07:49.514912386 +0000 UTC
:Type: ProcessInput
:Hostname: matschaffer.stellar-ops.com
:Pid: 25410
:Uuid: 103f03bd-66d3-460a-b5d3-f75cd57dc17d
:Logger: DemoProcessInput
:Payload: a
:EnvVersion:
:Severity: 7
:Fields:
| name:"ProcessInputName" type:string value:"DemoProcessInput.stdout"
| name:"ExitStatus" type:integer value:0
^C2015/06/12 17:09:41 Shutdown initiated.
2015/06/12 17:09:41 Stop message sent to input 'DemoProcessInput'
2015/06/12 17:09:41 Waiting for decoders shutdown
2015/06/12 17:09:41 Decoders shutdown complete
2015/06/12 17:09:41 Stop message sent to output 'DebugOutput'
2015/06/12 17:09:41 Plugin 'DebugOutput': stopped
2015/06/12 17:09:41 Shutdown complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment