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

Add support to generate an event per log file #18

Open
jspaleta opened this issue Sep 10, 2021 · 0 comments
Open

Add support to generate an event per log file #18

jspaleta opened this issue Sep 10, 2021 · 0 comments
Labels
enhancement New feature or request needs discussion feature needs design discussion

Comments

@jspaleta
Copy link
Contributor

Feature request from customer needs design discussion.

Desired use case explanation

Plugin now supports processing multiple files using a filename regexp pattern, and a state directory to hold per file path information, and will generate a single event capturing the result information.

The request is to generate an unique event for each processed log file path.

The technical problem

each generated event needs to have an unique check name, but file paths as check names might not be suitable, as file paths can be arbitrarily long and have special characters that can not be used in the check names currently.

Any attempt to squash the file path into an uuid makes the check name potentially unreadable to a human who needs to parse the event. Any attempt to shorten the filepath into a reasonable length check name runs the risk of destroying check name uniqueness causes events to overwrite each other.

@jspaleta jspaleta added enhancement New feature or request needs discussion feature needs design discussion labels Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs discussion feature needs design discussion
Projects
None yet
Development

No branches or pull requests

1 participant