Number of requests per second


(TarekM) #1

Hi,
Is there any idea about how to aggregate log events to get the number of requests per second
Thanks in advance


#2

Why do you need it?
maybe you need another method to get your need.


(TarekM) #3

@macko003 I need it for monitoring


#4

I thought…
Use graylog API metrics.
eg. http://graylogserver:9000/api/system/throughput or /api/cluster/NODEID/metrics/namespace/org.graylog2.shared.buffers.InputBufferImpl.incomingMessage


(Ben van Staveren) #5

Graylog is not really suited for metrics collecting (it will do it, but… limited); you’re better off sending metrics to a suitable metrics-specific thing. Something like Telegraf, InfluxDB and Grafana :slight_smile:


#6

I’m not really agree with you.
I monitor about 15-20 metrics via api with another monitoring system. I have only one tip, use the GL’s avg metrics instead of the momentary ones.