Skip to content

Conversation

@arya-girish-k
Copy link
Contributor

Description

Added Support to enable multiline in the DA.
Git_issue

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

Exposed helm value called enableMultiline in the module and the DA.

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@arya-girish-k
Copy link
Contributor Author

/run pipeline

@arya-girish-k
Copy link
Contributor Author

/run pipeline

@arya-girish-k
Copy link
Contributor Author

Tested the helm value enableMultiline. When enableMultiline=true, the generated ConfigMap includes the @include filter-multiline.conf line. PFA screenshot.
image

Copy link
Member

@Aashiq-J Aashiq-J left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also can you check what if you set the value to false, will the @INCLUDE filter-multiline.conf be added?

@arya-girish-k
Copy link
Contributor Author

arya-girish-k commented May 22, 2025

Also can you check what if you set the value to false, will the @INCLUDE filter-multiline.conf be added?

When enableMultiline=false,@include filter-multiline.conf will not be added
image

@arya-girish-k
Copy link
Contributor Author

/run pipeline

@arya-girish-k arya-girish-k requested a review from Aashiq-J May 22, 2025 15:28
@arya-girish-k
Copy link
Contributor Author

/run pipeline

Aashiq-J
Aashiq-J previously approved these changes May 23, 2025
Copy link
Member

@Aashiq-J Aashiq-J left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the variable descriptions with the official doc link so users can learn more about multiline logs

Co-authored-by: Conall Ó Cofaigh <[email protected]>
@arya-girish-k
Copy link
Contributor Author

/run pipeline

@arya-girish-k
Copy link
Contributor Author

/run pipeline

@ocofaigh ocofaigh merged commit 5419bd2 into main May 23, 2025
2 checks passed
@ocofaigh ocofaigh deleted the logs-agent branch May 23, 2025 17:09
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants