-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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 user-facing docs for new logging configuration #57502
Comments
Pinging @elastic/kibana-platform (Team:Platform) |
I suspect we might need help from the Docs team. |
The new docs system doesn't have a launch date yet, meaning that we have to add docs to the existing docs. We need to decide what needs to be documented and then where to add it in. @restrry. @lukeelmers where do you think we should add this? In our current docs, we only mention logging in the Kibana configuration section and then in the dev docs. The dev docs don't have much though, they link to the logging README. For now, let's focus on the user-facing documentation. |
Agree. However, I always consider logging/README.md as user-facing documentation. Let's convert it to a format compatible with our documentation system. That's what you've done in #91958 |
Our current docs system is based on I see a few options here:
@restrry @lukeelmers @joshdover What approach do you think we should take? |
Until the new docs system is ready user-facing docs need to be in asciidoc so I will add that to the description to clarify. |
@rudolf where do you think these should slot in? ATM, we don't have much on logging setup in Kibana. We mention some logging config and then a but more in the Dev docs. We'll need to update the dev docs section and change whatever we need to in the config guide but I don't think the config guide is the place to give the extra info we want to. We link to the logging README from the dev docs. I assume it's the contents of the logging README we want to add directly to the kibana docs but I'm not sure where to put that. |
I think that logging config you link to is actually specific to settings for the logs UI plugin, so we shouldn't need to worry about that one. There are also a handful of logging items in the Configuring Kibana page which would need to be updated. I wonder if we need to split the README apart:
|
I agree that we'll need to split up our documentation somehow and your suggestions are a great start! |
Include a section: Most users will have not run into this yet, but if they are ingesting their Kibana logs somewhere, it would be good for them to know that using the new config will result in additional log entries which are in a different structure." |
@lukeelmers This isn't as easy as it sounds as our KP logging config is far more involved than the legacy logging system. What level of detail should we go into here? A full list of config options is going to be awkward because a lot of the fields depend on other logging configuration.(we'd have to use placeholders).
In summary, there's a short description on the top level logging fields: I'm stuggling to find a logical place to add info about layout and the pattern layout conversion fields. Elasticsearch has a whole page dedicated to logging configuration that starts with an example. We could do something similar and add a new page covering logging configuration with an extended example and the result one would get from that (for example, the full example we have in the logging README). Does this make sense or do you have another suggestion? |
++ I think a dedicated page makes sense. IMHO the items you've added so far make sense for the main list of config options in "Configuring Kibana", and from each of those we could link out to corresponding sections in a dedicated logging page which goes into more detail. It's useful to have those items in the main config page because it makes them more discoverable, but I agree that getting into layouts/patterns there is probably too much detail. In terms of where to put the dedicated page, I would vote to break apart the Kibana Core API page into dedicated subpages, one of which would be solely dedicated to the logging service. |
@lukeelmers I was thinking the same and have already started doing that. It's going to take a bit of work to reword and reorganize the documentation but I hope to get a draft up within a week or two. |
Once the docs are done, change the links to the logging README in the deprecation warnings for legacy logging configuration to new links to the relevant docs sections. |
Add user-facing documentation (in asciidoc) for the new logging configuration options
Related to #41956
The text was updated successfully, but these errors were encountered: