Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Provide an enrich functionality #154

Closed
baubakg opened this issue Aug 6, 2024 · 0 comments · Fixed by #158
Closed

Provide an enrich functionality #154

baubakg opened this issue Aug 6, 2024 · 0 comments · Fixed by #158
Labels
enhancement New feature or request
Milestone

Comments

@baubakg
Copy link
Member

baubakg commented Aug 6, 2024

We should be able to enrich log data with external information.

  • Search Criteria : provide a map of selection criteria <definitionEntry name, Matchers> maybe?
  • Entry Name : provide a name for the enrichment value
  • Entry Value : provide enrichment value (constant)
  • DefaultValue

Genric Data

  • Entry Name : provide and add a parse definition entry (it could be a string)

SDK

  • Entry Name : provide an existing entry (field name) if it is NOT a string

Result

All lines maching the search criteria will have an added entry for the entry name and value.
The parse definition will have a new parsedefinition entry corresponding to the entry name

@baubakg baubakg added the enhancement New feature or request label Aug 6, 2024
@baubakg baubakg added this to the 1.11.0 milestone Aug 6, 2024
baubakg added a commit that referenced this issue Aug 6, 2024
…f Map<String, Object> <ith Map<String, Matcher> for all search methods
baubakg added a commit that referenced this issue Aug 6, 2024
baubakg added a commit that referenced this issue Aug 6, 2024
baubakg added a commit that referenced this issue Aug 6, 2024
baubakg added a commit that referenced this issue Aug 6, 2024
baubakg added a commit that referenced this issue Aug 6, 2024
baubakg added a commit that referenced this issue Aug 6, 2024
* Fixed #154  : added enrichment,
* Fixed  issue #157 : all search modes now use a Map<String, Matcher>
* Updating hamcrest librarires
* #154 added test for enrichment in SDK, and corrected the test SDK
* #154 added the enrichEmpty method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant