# Elastic agent healthy but no logs sent

**URL:** <https://discuss.elastic.co/t/elastic-agent-healthy-but-no-logs-sent/318447>\
**Category:** Elastic Agent\
**Created:** [November 8, 2022, 3:49pm UTC](https://discuss.elastic.co/t/elastic-agent-healthy-but-no-logs-sent/318447 "2022-11-08T15:49:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mammodde](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@mammodde](https://discuss.elastic.co/u/mammodde)\
**Post date:** [November 8, 2022, 3:49pm UTC](https://discuss.elastic.co/t/elastic-agent-healthy-but-no-logs-sent/318447/1 "2022-11-08T15:49:11Z")

</div>

Hi, I am trying to install Elastic Agents, they are labelled as healthy but I do not receive any log.  
I am pretty sure it has to do with certificates, as always.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8d06405bdf281bc26313d78373b2c72f5b820b00.png)

sorry for the image, but why I cannot choose a different output for agent monitoring? there I set the location of the certificate. other than that can I choose for an output for a policy and another one for a second policy?

I know that probably my explenation is not good, but please let me know if you have a solution.

I'd also like to know

- how to create a certificate for the Fleet server.
- I have an apache server outside my network, is it possible to collect logs with an agent from there? I always have problems with certificates in this case.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 6, 2022, 3:49pm UTC](https://discuss.elastic.co/t/elastic-agent-healthy-but-no-logs-sent/318447/2 "2022-12-06T15:49:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
