This document outlines steps to configure a Lambda function to send logs and events to Splunk Cloud in real-time. It involves setting up a Splunk index and HTTP Event Collector (HEC), creating an HEC token, and modifying the source type. A standalone Splunk Lambda function is created that can be invoked by other application Lambda functions to log events to Splunk Cloud. The application Lambda is modified to invoke the Splunk Lambda after starting EC2 instances to log instance details.