1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
Answering my own question. This is the quoting that is required:
aws apigatewayv2 update-stage --api-id API_ID --stage-name '$default' --access-log-settings '{"DestinationArn": "arn:aws:logs:us-west-1:ACCOUNT_ID:log-group:LOG_GROUP", "Format": "{ "requestId":"$context.requestId", "ip": "$context.identity.sourceIp", "requestTime":"$context.requestTime", "httpMethod":"$context.httpMethod","routeKey":"$context.routeKey", "status":"$context.status","protocol":"$context.protocol", "responseLength":"$context.responseLength" }"}'
Edited by: LosAlamosAl on Nov 20, 2021 4:30 PM
Edited by: LosAlamosAl on Nov 20, 2021 4:32 PM
beantwortet vor 2 Jahren
Relevanter Inhalt
- Wie aktiviere ich CloudWatch Logs zur Fehlerbehebung meiner API-Gateway-REST-API oder WebSocket-API?AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr