Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[RFE] Add support to count pattern matches and apply comparison operator #784

Open
vbalasub opened this issue Mar 3, 2025 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@vbalasub
Copy link

vbalasub commented Mar 3, 2025

Current Behavior

Proposed title of this feature request

Add support to count pattern matches and apply comparison operator on it

What is the nature and description of the request?

Customer would like to count number of occurrences of matching pattern, so they can take action accordingly.

Why does the customer need this? (List the business requirements here)

Customer has thousands of applications that they want to scan to find which applications are generating multiple (>1)  log files, so that they can tag log statements based on original log file name  and  direct them to stdout during containerization.

For example count the "pattern: ((Daily)?Rolling)?FileAppender" in log4j2.xml to verify if the app is writing to multiple log files and suggest appropriate updates in MTA custom rule to fix it.

@vbalasub vbalasub added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 3, 2025
@vbalasub vbalasub added this to Planning Mar 3, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Planning Mar 3, 2025
@konveyor-ci-bot
Copy link

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.

@konveyor-ci-bot konveyor-ci-bot bot added the needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. label Mar 3, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant