am I able to modify server logs sent to CloudWatch...
# fleet
a
am I able to modify server logs sent to CloudWatch to include HTTP status codes? with debugging enabled I am seeing the following:
{
"component": "http",
"ip_addr": "XXXXX",
"level": "debug",
"method": "POST",
"took": "1.522387ms",
"ts": "2023-08-14T19:39:49.70201105Z",
"uri": "/api/fleet/orbit/config",
"x_for_ip_addr": "XXXXX"
}
k
Hey @Alex Loewenthal. There isn't a way to modify those logs. What are you looking to do with that data?
a
I’m probably trying to tackle this from the wrong angle. I’m hoping to dive into ELB error logs (5XX’s).
k
For those, I'd look for
"level": "error"
. Any 500 responses should relate to an error on the server.