forked from opensearch-project/skills
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (opensearch-project#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]>
- Loading branch information
1 parent
95db069
commit cbf2c71
Showing
8 changed files
with
919 additions
and
213 deletions.
There are no files selected for viewing
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
336 changes: 336 additions & 0 deletions
336
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.