-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Unify Kibana & Elasticsearch logging config keys #57551
Comments
Pinging @elastic/kibana-platform (Team:Platform) |
The
I think keeping the prefix really makes sense. |
I like the proposed Kibana settings, but I also think we should have Elasticsearch align with us here as much as possible. Personally, it seems like the |
Pinging @elastic/kibana-operations (Team:Operations) |
Elasticsearch logging configuration is based on But we can our best and rename:
the next question whether we want to use Elasticsearch-compatible names for
@joshdover @pgayvallet I'm fine to unify these values as well. WDYT? |
I'm fine with these ones.
That's only my personal opinion, but I've never been a big fan of trying to get too close to ES / log4j exact naming, especially as we are not supporting the exact same features (e.g our Now, I'm aware that this is a common goal to unify configuration among the stack, and I don't have any strong objection, so I'm fine doing it. |
+1 to Pierre's thoughts:
I wonder if it would be confusing if these are the exact same as ES if the options are significantly different. I like the config names themselves being the same, but I think the values should be different if there's a decent amount of divergence in behavior or features. I also feel like the names in Elasticsearch here are really implementation-driven, rather than user-driven. One caveat: I do like that the JSON layout in ES specifically alludes to its ECS compatibility. What do you all think about renaming |
I don't think it justifies the effort since we don't support another format for JSON layout: all the JSON logs are ECS-compatible.
Ok, I'm going to close the issue then. |
Docs are fine, agree it's out of scope for this issue and not super relevant to all customers. Larger scale customers do care more about these logs, so as long we have it documented. |
++ Agreed. Other than the one remaining adjustment I'll make to the
I'll make sure docs are updated in #90406 Re: The config naming questions, I'm in agreement with Pierre's comments as well. As long as the functionality is not exactly the same, I think it's okay for the config naming to be close-but-not-identical to avoid potential confusion. |
The config keys naming in Kibana logging config follows the
log4j2
conventions https://logging.apache.org/log4j/2.x/manual/configuration.htmlWhile the logging config in elasticsearch follows a bit different convention. https://www.elastic.co/guide/en/elasticsearch/reference/current/logging.html
https://github.com/elastic/elasticsearch/blob/a4a79670f85d5c135c1ad668c387808fffd733f7/qa/logging-config/src/test/resources/org/elasticsearch/common/logging/json_layout/log4j2.properties
Some examples, not full:
We can narrow the naming difference as much as possible to reduce the cognitive load on the consumer. We still can have
logging
-prefix to follow the platform principles, even though the platform is allowed to have exceptions to the rule.The text was updated successfully, but these errors were encountered: