Amazon CloudWatch Logs Insights

From wikieduonline
(Redirected from Log Insights)
Jump to navigation Jump to search

Amazon CloudWatch Logs Insights (Nov 2018) [1]


Examples[edit]

fields @timestamp, @message, @logStream, @log
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[edit]

See also[edit]

  • https://aws.amazon.com/about-aws/whats-new/2018/11/announcing-amazon-cloudwatch-logs-insights-fast-interactive-log-analytics/
  • Advertising: