-
Notifications
You must be signed in to change notification settings - Fork 9
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 Elastic Agent #77
Comments
I would like to build an Elastic-Agent Role as independent of the other roles as possible, since then the role could be used to install the agent on other Servers, that are not part of the stack, but should be monitored. What are your thoughts on this? @afeefghannam89 @widhalmt |
@dnssmr Do you mean that the Elastic Agent role would be in another GitHub repository, not in this collection? |
@dnssmr It is a good Idea :), to build the Agent role in this collection, then the user can use the filebeat or elastic agent role or both of them is some special cases. |
No i think i'd build it in the collection! But it shouldn't be dependent of the other roles! You should be able to run the role alone on any server that you want to monitor. |
Yes, great idea! That's actually what the |
I played around a lot with the agent in a personal testing setup. What I found so far:
When you have your first fleet server (a.k.a. agent) installed, you connect it to your Elastic stack. Here's my shell command derived from Elastic was providing spiced up with certificates from default paths from our collection:
Note that you have to provide certificates and keys as And here's an agent installation in the same setup.
Note that I added the installation via tarball for informational purposes. Things that really gave me a hard time:
|
Since Elastic Agent is now GA and seems to be the future of Beats, we need to make sure, we can support it.
This is quite a big step, because we could change the way we collect data completely.
An idea how to deal with the different ways beats and agent work is the following. Keep in mind that Elastic Agent as of now only starts beats and gives them appropriate configuration. But nothing stops you from running the same beat multiple times on the same host. Starting a beat with a specific configuration is quite easy. Just have a look via
ps
on a system where one runs.Please ignore the first PR that's referenced. It was a very early test in the deprecated role repository.
The text was updated successfully, but these errors were encountered: