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

Explainer diagram of log formatting flow? #338

Open
jpage-godaddy opened this issue May 29, 2024 · 0 comments
Open

Explainer diagram of log formatting flow? #338

jpage-godaddy opened this issue May 29, 2024 · 0 comments

Comments

@jpage-godaddy
Copy link

Hello. I have a documentation suggestion. One thing that's not clear to me is the sequence and data flow of all of the custom logging settings. I'm wanting to do some Elastic Common Schema conformant logging, but it's not clear to me how everything ties together. A flow chart could do wonders! Examples of my doubts at a first reading of the docs:

  • Is genReqId called in all cases, even when customReceivedObject isn't present?
  • Do customSuccessObject and customErrorObject receive the object produced by customReceivedObject, or would I need to duplicate property extraction logic? Or does customReceivedObject change the request being passed to those functions?
  • Does customProps inject properties into the custom objects produced by custom*Object or do those functions supercede those?

I might try to source dive to figure this out myself, but maybe there's already a good explanation somewhere that could be better surfaced?

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

1 participant