Let's create an audit trail for the Greeter function that we created back in Chapter 3, Designing a Kotlin Serverless Application. This can easily be extended to all of the Lambda functions that we developed in Chapter 5, Improve your App with Firebase Service but for the sake of comprehension, let's keep it simple and implement an audit trail for a single function.
In the web console of AWS, navigate to the CloudTrail dashboard and click on Create a Trail. The process detailed in the following sections describes the configuration.