Skip to content

Instantly share code, notes, and snippets.

@justinhennessy
Forked from lusis/logstash.conf
Created February 10, 2014 09:45
Show Gist options
  • Save justinhennessy/8913099 to your computer and use it in GitHub Desktop.
Save justinhennessy/8913099 to your computer and use it in GitHub Desktop.
input {
stdin { type => "stdin-type"}
generator { type => "generator-type" message => "generated event" }
}
output {
librato {
type => "generator-type"
account_id => "foo@foo.com"
api_token => "1231231231231231231231"
gauge => ["value", "%{sequence}","source","%{@source_host}", "name", "bar_bytes"]
counter => ["value", "%{sequence}","source","%{@source_host}", "name", "foos_received"]
}
librato {
type => "stdin-type"
account_id => "foo@foo.com"
api_token => "1231231231231231231231"
annotation => ["title","Logstash - %{@source_host}","name","logstash_stream"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment