Amazon CloudWatch Logs introduces lookup query command

Amazon CloudWatch Logs Insights Updates
Amazon CloudWatch Logs Insights now supports a new lookup command to enrich log query results with data from reference tables. This feature helps developers, DevOps engineers, and SREs interpret logs containing opaque identifiers like GUIDs, IP addresses, or internal resource IDs.
With the lookup command, you can join log data against a lookup table at query time, enriching results with meaningful values. For example, you can translate a customer ID into a customer name or map an internal IP address to the owning team. This makes log analysis faster and more intuitive without requiring pre-processing pipelines.
What to do
- Upload a CSV file by navigating to CloudWatch → Settings → Logs.
- Use the lookup command in your Logs Insights queries by specifying a log field, a lookup table name, and one or more columns.
- CSV data does not count toward CloudWatch Logs Insights per GB of data scanned query charges.
Source: AWS release notes
If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.



