fnbk
(Florian Böhmak)
February 7, 2023, 4:47pm
1
I would like to have my application and the observability tools (logging, tracing, monitoring) installed all on one machine.
But with the current ELK stack (8.6.1) with APM integration does not seem to support this. Is that right?
I have successfully setup Elasticsearch, Kibana and now I am stuck setting up Elastic APM.
The documenation says that I have to setup a "Fleet Server" and then register an "Elastic Agent".
After setting up the "Fleet Server" (Elastic Integration), I now cannot install a regular "Elastic Agent" on the machine.
Error: already installed at: C:\Program Files\Elastic\Agent
Is it possible to have the complete observability stack installed all on one machine?
stephenb
(Stephen Brown)
February 7, 2023, 5:01pm
2
Hi @fnbk Welcome to the community.
Yeah, it can be a bit confusing...
So you have the Fleet Server up and Running correct?
You should add the APM integration to the Same Agent Policy that has the Fleet Server integration. It is just another integration with the same agent. Add it to the same policy.
See the diagrams here:
fnbk
(Florian Böhmak)
February 8, 2023, 8:36pm
3
Thanks @stephenb . I managed to assign the APM integration to the Fleet Server Policy.
But the next problem arises: The agent cannot connect to elasticsearch because it does not use the right url -> Failed to connect to backoff(elasticsearch(http://localhost:9200))
stephenb
(Stephen Brown)
February 8, 2023, 9:13pm
4
Did you set up and use the correct outputs?
fnbk
(Florian Böhmak)
February 8, 2023, 9:26pm
5
Yes, that was the missing link Now I got it working. Thanks
1 Like