Created
August 4, 2011 02:19
-
-
Save vvuksan/1124364 to your computer and use it in GitHub Desktop.
Using Logstash to generate log metrics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { whatever } | |
filter { grok { pattern => "%{COMBINEDAPACHELOG}" } } output { statsd { increment => "apache.status.%{response}" } } |
how does the graph show up in graphite ? mine shows up with floating point numbers as the count ....
http://serverfault.com/questions/391332/graphite-is-plotting-increments-from-logstash-in-float
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If multiple metrics involved
output { statsd { tags => syslog ... } statsd { tags => apache ... } }