Skip to content

Instantly share code, notes, and snippets.

@jtnagashima
jtnagashima / RESULTS.md
Last active August 29, 2015 14:11 — forked from faja/RESULTS.md

logstash queries graphed with graphite.

My version of function logstashHits() for graphite. Original: https://gist.github.com/jordansissel/3760225

My fix is needed if you have values = 0 between start and end time.

E.g: nginx access log, and for certain period of time there aren't any request: wrong should be: