I tried every possible way to get AWSRequestId in JSON Layout.
Example:
1.
<JsonLayout>
<KeyValuePair key="AWSRequestId" value="%X{AWSRequestId}"/>
</JsonLayout>
<KeyValuePair key="AWSRequestId" value="${X:AWSRequestId}"/>
It would be great, if you show me correct way to get AWSRequestId.