Difference between revisions of "Amazon CloudWatch Logs Insights"

From wikieduonline
Jump to navigation Jump to search
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Amazon CloudWatch Logs Insights ([[AWS timeline|Nov 2018]]) <ref>https://aws.amazon.com/about-aws/whats-new/2018/11/announcing-amazon-cloudwatch-logs-insights-fast-interactive-log-analytics/</ref>
 
Amazon CloudWatch Logs Insights ([[AWS timeline|Nov 2018]]) <ref>https://aws.amazon.com/about-aws/whats-new/2018/11/announcing-amazon-cloudwatch-logs-insights-fast-interactive-log-analytics/</ref>
 +
 +
 +
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/
 +
 +
 +
[[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}}
* {{logs}}
 
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Revision as of 17:54, 14 July 2024

Advertising: