# Want to forward the apigateway logging to amazon firehose stream instead of logroup

**URL:** <https://forum.serverless.com/t/want-to-forward-the-apigateway-logging-to-amazon-firehose-stream-instead-of-logroup/19769>\
**Category:** Serverless Framework\
**Tags:** api-gateway\
**Created:** [December 15, 2023, 9:59pm UTC](https://forum.serverless.com/t/want-to-forward-the-apigateway-logging-to-amazon-firehose-stream-instead-of-logroup/19769 "2023-12-15T21:59:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smcchinta](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/smcchinta/32/7761_2.png) [@smcchinta](https://forum.serverless.com/u/smcchinta)\
**Post date:** [December 15, 2023, 9:59pm UTC](https://forum.serverless.com/t/want-to-forward-the-apigateway-logging-to-amazon-firehose-stream-instead-of-logroup/19769/1 "2023-12-15T21:59:22Z")

</div>

I am trying to forward apigateway access logs to a fire hose arn instead of the default logroup.  
What would be the parameter for that:  
right now i tried this and did not work…  
logRetentionInDays: 3  
logs:  
restApi:  
roleManagedExternally: true  
executionLogging: false  
accessLogging: true  
DestinationArn: “arn:aws:firehose:{region}:${env:AWS\_ACCOUNT\_ID}:deliverystream/amazon-  
apigateway- stream”  
format: ‘{ “requestId”:“$context.requestId”, “apiId”: “$context.apiId”, “identity.apiKeyId”:  
“$context.identity.apiKeyId”, “stage”: “$context.stage”}’  
apiName: test-${env:SLS\_STAGE}
