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 configurable labels to all logs #47

Open
ClemArt opened this issue Apr 14, 2020 · 3 comments
Open

Add configurable labels to all logs #47

ClemArt opened this issue Apr 14, 2020 · 3 comments

Comments

@ClemArt
Copy link

ClemArt commented Apr 14, 2020

Feature Request
We would like to add static labels to all logs that are parsed, based on a configuration passed to the function. But we're ready to fork and implement something on our side.

The configuration could be a map with keys and values that are added to each log's JSON.

Are you open to pull requests to add such a feature in the function's code ?
Could you advise un on how we should implement this feature ?

Thanks in advance

@idohalevi
Copy link
Contributor

idohalevi commented Apr 14, 2020

@ClemArt Hi! We're welcoming PRs so feel free to contribute. Will something like LOGZIO_EXTRA_DIMENSIONS in this repo solve your use-case?

@ClemArt
Copy link
Author

ClemArt commented Apr 14, 2020

Hi @idohalevi , the LOGZIO_EXTRA_DIMENSIONS is exactly what we are looking for !
Thank you for the tip.
I'm still not sure how this feature will translate in the case of the azure function, but I'll dig into the code and try to stay as close as possible to the example you gave me

@Doron-Bargo
Copy link
Contributor

Hi @ClemArt - is this still relevant ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants