Skip to content

Instantly share code, notes, and snippets.

@lusis
Created July 3, 2012 05:35
Show Gist options
  • Save lusis/3037906 to your computer and use it in GitHub Desktop.
Save lusis/3037906 to your computer and use it in GitHub Desktop.
example logstash librato output config
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