Skip to content

Logs are missing in OpenSearch for a while, how to check and fix? #238

Answered by Paul-AWS
Paul-AWS asked this question in Q&A
Discussion options

You must be logged in to vote

You may use monitoring and logs feature in Centralized Logging with OpenSearch pipelines to locate the root cause.

The log data flow: Log source (Services/Applications) -> S3 -> SQS -> Lambda -> OpenSearch.

Step 1. Check the Monitoring metrics

Log into the Centralized Logging with OpenSearch console, and click into the pipeline. Choose the "Monitoring" Tab, check the metrics.

In Buffer part:

  1. If the value of "Number of Messages Received" is 0, this means there are no files on S3, or SQS was not successfully triggered. Please check the S3 and SQS.
  2. If the value of "Number of Messages Received" is smaller than the value of "Number of Messages Deleted", this means Lambda was not successfully…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Paul-AWS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant