-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[DOCS] Describe how to use Metricbeat to collect monitoring data #13090
Conversation
@lcawl I want you to see where I am headed with this content. I departed slightly from the structure that's used for Kib/ES. Here's why:
I'm marking this in-progress because I want to do more testing |
@dedemorton that LGTM. I think it's the same intention as the https://www.elastic.co/guide/en/kibana/current/configuring-monitoring.html sub-pages, though these more explicit titles are likely better. |
@lcawl After we get this merged, I can make parallel changes to the Kibana and ES docs to use titles that are more explicit. I also think we should discuss the future of the stack monitoring docs (ways we can improve the user experience). |
I think we should indicate that additional privileges are needed. [EDIT] We could consider expanding the privileges of the built-in
For now I think we continue to document internal collection as an alternative approach, just like we do for Kibana and Elasticsearch monitoring. In the case of Functionbeat specifically, however, would be it possible NOT to document the Metricbeat collection approach at all (since it simply can't be setup by the user)?
This is certainly a valid use case. #13020 was merged recently. Would you mind re-testing when you get a chance? |
Regarding the feedback:
Yes, that's what I've done for now. I've set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks so much for creating these docs, @dedemorton!
…stic#13090) * [DOCS] Describe how to use Metricbeat to collect monitoring data * Add conditional coding to fix functionbeat build errors * Add note to reviewer * Add fixes from the review * fix spacing * Add conditional tags to fix CI error * Remove notes to reviewers * Remove reviewer notes and fix minor nits
) (#13156) * [DOCS] Describe how to use Metricbeat to collect monitoring data * Add conditional coding to fix functionbeat build errors * Add note to reviewer * Add fixes from the review * fix spacing * Add conditional tags to fix CI error * Remove notes to reviewers * Remove reviewer notes and fix minor nits
I ran into some troubles while testing this process with APM Server. It could very well be user error on my end, but here's what I found. @dedemorton perhaps we can chat when you return.
|
…stic#13090) * [DOCS] Describe how to use Metricbeat to collect monitoring data * Add conditional coding to fix functionbeat build errors * Add note to reviewer * Add fixes from the review * fix spacing * Add conditional tags to fix CI error * Remove notes to reviewers * Remove reviewer notes and fix minor nits
…stic#13090) (elastic#13156) * [DOCS] Describe how to use Metricbeat to collect monitoring data * Add conditional coding to fix functionbeat build errors * Add note to reviewer * Add fixes from the review * fix spacing * Add conditional tags to fix CI error * Remove notes to reviewers * Remove reviewer notes and fix minor nits
This PR adds instructions for using Metricbeat to collect monitoring data. It provides content that's parallel to what we provide in other books.
However, I do not think the current user experience is very good. Having the docs live in different books makes the content very fragmented. Also it was sometimes hard for me to tell which content applied to the old way vs the new way of collecting metrics.
I hope after we get the initial content in place, we can go back and improve the user experience.
It's not just a problem with the docs. There are a lot of places where users can make mistakes that prevent things from working. Adding security to the mix makes it even more complicated...especially when features like ILM aren't even taken into consideration with the default users/roles.
Issues to resolve before merging:
remote_monitoring_agent
role does not have the privileges required to create metricbeat indices if ILM is enabled. Should we tell users to disable ILM, or should we indicate that additional privileges are required when connecting to a cluster that supports ILM (default for beats is auto, which means that Beats use lifecycle management if the cluster supports it)?Resolution: I've added a tip with a pointer to the section that describes how to secure Beats.
Resolution: already done.
Resolution: removed the section.
To do after merging: