doc.go 2.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // Code generated by smithy-go-codegen DO NOT EDIT.
  2. // Package cloudwatchlogs provides the API client, operations, and parameter types
  3. // for Amazon CloudWatch Logs.
  4. //
  5. // You can use Amazon CloudWatch Logs to monitor, store, and access your log files
  6. // from EC2 instances, CloudTrail, and other sources. You can then retrieve the
  7. // associated log data from CloudWatch Logs using the CloudWatch console,
  8. // CloudWatch Logs commands in the Amazon Web Services CLI, CloudWatch Logs API, or
  9. // CloudWatch Logs SDK. You can use CloudWatch Logs to:
  10. //
  11. // * Monitor logs from EC2
  12. // instances in real-time: You can use CloudWatch Logs to monitor applications and
  13. // systems using log data. For example, CloudWatch Logs can track the number of
  14. // errors that occur in your application logs and send you a notification whenever
  15. // the rate of errors exceeds a threshold that you specify. CloudWatch Logs uses
  16. // your log data for monitoring so no code changes are required. For example, you
  17. // can monitor application logs for specific literal terms (such as
  18. // "NullReferenceException") or count the number of occurrences of a literal term
  19. // at a particular position in log data (such as "404" status codes in an Apache
  20. // access log). When the term you are searching for is found, CloudWatch Logs
  21. // reports the data to a CloudWatch metric that you specify.
  22. //
  23. // * Monitor CloudTrail
  24. // logged events: You can create alarms in CloudWatch and receive notifications of
  25. // particular API activity as captured by CloudTrail. You can use the notification
  26. // to perform troubleshooting.
  27. //
  28. // * Archive log data: You can use CloudWatch Logs to
  29. // store your log data in highly durable storage. You can change the log retention
  30. // setting so that any log events older than this setting are automatically
  31. // deleted. The CloudWatch Logs agent makes it easy to quickly send both rotated
  32. // and non-rotated log data off of a host and into the log service. You can then
  33. // access the raw log data when you need it.
  34. package cloudwatchlogs