Skip to content

Instantly share code, notes, and snippets.

@nickethier
Forked from jordansissel/gist:4221225
Created December 8, 2012 04:40
Show Gist options
  • Save nickethier/4238637 to your computer and use it in GitHub Desktop.
Save nickethier/4238637 to your computer and use it in GitHub Desktop.
% JRUBY_OPTS= bin/logstash agent -e '
input {
generator { type => foo }
}
filter {
metrics { meter => "events" add_tag => ["metric"] }
}
output {
graphite {
metrics => ["logstash.events.rate_1m", "%{events.rate_1m}", "logstash.events.rate_5m", "%{events.rate_5m}", "logstash.events.rate_15m", "%{events.rate_15m}"]
tags => ["metric"]
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment