-
Notifications
You must be signed in to change notification settings - Fork 419
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
Support for 'log.origin.module' #785
Comments
Could |
As far as I understand it
Where In the mentioned use case |
pinging @felixbarny - Does this make sense for the application logging use case as well? |
I'd also lean towards re-using
No, there would typically be multiple loggers per application. By default one per source file but if customize, they could also describe modules, like |
I see, then Feel free to close this. |
think this might be revisited later - in a different context, consider the use-case of parsing a Java stack trace element we're able to identify |
@peterpramb ECS is always looking for ways to improve the clarity of the specification and documentation, so the feedback here is greatly appreciated. |
@kares For a stack trace, the exception's content is better captured using the |
Thanks Eric, 👍 apm seems to be using |
@kares ECS doesn't have a definition for a parsed stack trace yet. See also #562.
@peterpramb do you have a suggestion to make the docs a bit clearer? closing for now but feel free to still comment on this issue |
Using the Apache HTTPD error log as a sample use case, the
log
field set covers most fields, but it is missing a field in the hierarchy "above"log.origin.function
to put the module name causing the log message in.Using this sample Apache HTTPD error message
one can map the fields as follows (taking Filebeat's apache module as reference):
But
apache.error.module
should be more unified to something likelog.origin.module
, e.g.:The text was updated successfully, but these errors were encountered: