When you’re first learning to use Logs Insights, it’s helpful to experiment with sample queries. These can help you gain familiarity with commands, refining your queries, and how results are returned. You can perform a query, you need to have logs available in CloudWatch Logs. If you do not already have logs available you can import a sample log to practice with. Learn more about How to Run and Modify a Sample Query