Number of requests per second

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

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

@macko003 I need it for monitoring

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

1 Like

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:

1 Like

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.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.