-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Log pattern tool improvement (#474) * Improve log pattern tool with cutting edge log pattern parser Signed-off-by: Songkan Tang <[email protected]> * Minor comment change Signed-off-by: Songkan Tang <[email protected]> * Address LogPatternTool class comments Signed-off-by: Songkan Tang <[email protected]> * Address BrainLogParser class comments Signed-off-by: Songkan Tang <[email protected]> * Address BrainLogParser class comment part02 Signed-off-by: Songkan Tang <[email protected]> * Minor change of input validation logic Signed-off-by: Songkan Tang <[email protected]> * Address forbiddenAPI check issue Signed-off-by: Songkan Tang <[email protected]> * Address minor comments in BrainLogParser Signed-off-by: Songkan Tang <[email protected]> * Tune preprocessing regex and parameters and change related test result Signed-off-by: Songkan Tang <[email protected]> * Expose variable count threshold parameter configuration for LogPatternTool Signed-off-by: Songkan Tang <[email protected]> * Minorly tune preprocessing regex Signed-off-by: Songkan Tang <[email protected]> --------- Signed-off-by: Songkan Tang <[email protected]> * Fix compilation issue due to Java version conflicts Signed-off-by: Songkan Tang <[email protected]> * Fix compilation issue part2 Signed-off-by: Songkan Tang <[email protected]> --------- Signed-off-by: Songkan Tang <[email protected]>
- Loading branch information
1 parent
95db069
commit 735f9f4
Showing
10 changed files
with
949 additions
and
216 deletions.
There are no files selected for viewing
This file contains 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
315 changes: 199 additions & 116 deletions
315
src/main/java/org/opensearch/agent/tools/LogPatternTool.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
369 changes: 369 additions & 0 deletions
369
src/main/java/org/opensearch/agent/tools/utils/BrainLogParser.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.