View a markdown version of this page

Custom sources - Amazon CloudWatch Logs
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Custom sources

For custom application logs, you can define your own data source categorization using one of the following methods:

  • Log group tags – Add tags to your log groups using the keys cw:datasource:name and cw:datasource:type to specify the data source name and type for all logs ingested in the log group.

  • Pipeline configuration – Configure data source information through log processing pipelines when ingesting your application logs.

Note

Custom data source names cannot start with "aws" or "amazon" to avoid conflicts with Amazon service logs.