ECS performance with vTM and Graylog

ECS is usually used with a Load Balancer. Because a load balancer is placed in-band and controls all incoming and outgoing traffic, it can be used to collect performance data and transfer it to external log analyzer for further visualization and alert.

In that post, I’ll share my experience with ECS performance monitoring and reporting based on Brocade vTM load balancer and Graylog log analyzer.

Prepare vTM to collect and send logs

Navigate to Virtual Server > Request logging

Enable Remote Request logging.

Specify IP address of your Graylog server.

Specify Custom syslog!format.

%h, %t, %{host}i, %r, %s, %b, %B, %R

Fields used:

%h – the client’s IP address

%t – time when the last byte was sent to the client

%{host}i – the value of a “host” header in the HTTP request

%r – first line of the HTTP request

%s – status code of HTTP response (e.g. 200)

%b – number of bytes sent to the client

%B – number of bytes received from the client

%R – total time from the first byte of client request until complete response has been sent to client, in seconds

Disclaimer

The opinions expressed here are my personal opinions.
Content published here is not read or approved in advance by Dell Technologies and does not necessarily reflect the views and opinions of any part of Dell Technologies.