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.
Use graylog API metrics.
eg. http://graylogserver:9000/api/system/throughput or /api/cluster/NODEID/metrics/namespace/org.graylog2.shared.buffers.InputBufferImpl.incomingMessage
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
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.