I was trying to mimic this logstash.net/docs/1.1.0/tutorials/metrics-from-logs
I have following setup
nginx(app server) ==sends the increment==>Etsy statsD=====>Graphite
This setup is working fine since graph is being plotted just fine but not correctly. According to above configuration, I understand the graph step value should be integer but I am getting floating points numbers in Y axis(hits) as per the attached graph and I am completely baffled as to how do i interpret this graph.
Logstash agent configuration
input {
file {
type => nginx_web
path => ["/var/log/nginx/access.log"]
}
filter {
grok {
type => nginx_web
pattern => "%{IP:ClientIP} (?:%{HOST:ClientHost}|-) (?:%{USER:ClientUser}|-) \[%{GREEDYDATA:TimeStamp}\] \"(?:%{WORD:Verb} %{URIPATHPARAM:Request} HTTP/%{NUMBER:HTTPversion}|%{DATA:UnparsedRQ})\" %{NUMBER:Response} (?:%{NUMBER:Bytes}|0) (?:%{QUOTEDSTRING:HTTPReferrer|\"-\"}) %{QUOTEDSTRING:HTTPUserAgent}"
}
output {
statsd {
type => "nginx_web"
host => "X.X.X.X"
increment => [
"nginx.response.%{Response}"
]
}
}
I am using following URL API to generate this graph
render/?width=600&height=320&hideLegend=1&from=-60minutes&until=-0minutes&target=stats.logstash.*.nginx_web.response.*
Can somebody point me in right direction as to where to go to remedy my issue ?