Difference between revisions of "Amazon CloudWatch Logs Insights"
Jump to navigation
Jump to search
↑ https://aws.amazon.com/about-aws/whats-new/2018/11/announcing-amazon-cloudwatch-logs-insights-fast-interactive-log-analytics/
(11 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
+ | == Examples == | ||
fields @timestamp, @message, @logStream, @log | fields @timestamp, @message, @logStream, @log | ||
| sort @timestamp desc | | sort @timestamp desc | ||
| limit 20 | | limit 20 | ||
+ | |||
+ | |||
+ | fields @message | [[filter]] @message not like "Exception" | ||
+ | |||
+ | fields @message | filter @message not like /Exception/ | ||
+ | |||
+ | fields @message | filter @message not like /Exception/ | filter @message like /TEXT_TO_SEARCH/ | ||
+ | |||
+ | |||
+ | [[WAF]] | ||
+ | filter [[@message]] like "[[BLOCK]]" | ||
== Related == | == Related == | ||
+ | * https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax-examples.html | ||
* [[Amazon CloudWatch Logs]] | * [[Amazon CloudWatch Logs]] | ||
* [[Logs]]: [[Elasticsearch]], [[Loggly]] | * [[Logs]]: [[Elasticsearch]], [[Loggly]] | ||
* [[Google Cloud Logs Explorer]] | * [[Google Cloud Logs Explorer]] | ||
+ | * <code>[[grep]]</code> | ||
+ | * <code>[[node.kubernetes.io/disk-pressure]]</code> | ||
== See also == | == See also == | ||
* {{Insights}} | * {{Insights}} | ||
* {{CloudWatch}} | * {{CloudWatch}} | ||
− | |||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 16:00, 13 September 2024
Amazon CloudWatch Logs Insights (Nov 2018) [1]
Examples[edit]
fields @timestamp, @message, @logStream, @log | sort @timestamp desc | limit 20
fields @message | filter @message not like "Exception"
fields @message | filter @message not like /Exception/
fields @message | filter @message not like /Exception/ | filter @message like /TEXT_TO_SEARCH/
filter @message like "BLOCK"
Related[edit]
- https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax-examples.html
- Amazon CloudWatch Logs
- Logs: Elasticsearch, Loggly
- Google Cloud Logs Explorer
grep
node.kubernetes.io/disk-pressure
See also[edit]
- AWS: Insights: RDS Performance Insights, Container Insights, Lambda Insights, Application Insights, CloudTrail Insights, Logs Insights
- AWS monitoring: AWS CloudWatch: Logs, Logs Insights, Events, Alarms,
aws cloudwatch, aws logs
, Amazon CloudWatch Lambda Insights, AWS CloudWatch Container Insights, CloudWatch Dashboard, AWS CloudWatch Automatic Dashboards, Amazon RDS Performance Insights, Amazon CloudWatch Metric Streams, Amazon CloudWatch Lambda Insights,CloudwatchLogsGroup
, Amazon CloudWatch Anomaly Detection,cloudwatch kms key id
, CloudWatch agent, Amazon CloudWatch Evidently, namespace, Synthetics, Synthetics Canaries, YACE, Prometheus cloudwatch exporter, Amazon CloudWatch Observability Access Manager, Amazon CloudWatch Live Tail
Advertising: