[Custom AWS Logs] Add multiline support for aws-s3 input#6081
Merged
kaiyan-sheng merged 2 commits intoelastic:mainfrom May 16, 2023
Merged
[Custom AWS Logs] Add multiline support for aws-s3 input#6081kaiyan-sheng merged 2 commits intoelastic:mainfrom
kaiyan-sheng merged 2 commits intoelastic:mainfrom
Conversation
P1llus
approved these changes
May 5, 2023
🌐 Coverage report
|
tdancheva
approved these changes
May 9, 2023
Contributor
tdancheva
left a comment
There was a problem hiding this comment.
Hey, looks good to me, works as expected!
P.S. Just a sidenote related to the parsers, I noticed they are still in beta for a long time now and after being used in many places. After a short chat with @kaiyan-sheng, she explained it was due to pending security checks at the time and that we should open an issue to call on GA. Putting it here as a reminder to do so.
Author
|
Thanks @tdancheva ! @elastic/security-external-integrations Do you guys have a timeline on making the parser GA in Beats? |
|
Package aws_logs - 0.4.0 containing this change is available at https://epr.elastic.co/search?package=aws_logs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR is to add multiline support for custom AWS logs integration. Here is what the policy looks like after the multiline parser is added:
Checklist
changelog.ymlfile.How to test this PR locally
Step1: create a s3 bucket and upload a file with multiline log sample. For example what I'm using is:
Step2: setup agent and agent policy to use custom AWS logs integration with the proper authentication for AWS and S3 bucket ARN. The agent policy looks like this:
Step3: Once the agent starts running, you should see the test_multiline.log get read and stored into Elasticsearch:

Screenshots