# Fleet Server No Data Stream

**URL:** https://discuss.elastic.co/t/fleet-server-no-data-stream/324753
**Category:** Elastic Agent
**Tags:** fleet
**Created:** [February 6, 2023, 3:56am UTC](https://discuss.elastic.co/t/fleet-server-no-data-stream/324753 "2023-02-06T03:56:33Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![NathanLau](https://avatars.discourse-cdn.com/v4/letter/n/e9a140/32.png) [@NathanLau](https://discuss.elastic.co/u/NathanLau)
#### Post date: [February 6, 2023, 3:56am UTC](https://discuss.elastic.co/t/fleet-server-no-data-stream/324753/1 "2023-02-06T03:56:33Z")

</div>

Hi All ,

When installed Fleet server with quick start.

the fleet server cannot receive any data themselves , same as system.

install command :

```auto
sudo ./elastic-agent install \
  --fleet-server-es=https://172.16. **.** :9200 \
  --fleet-server-service-token= *****
  --fleet-server-policy=fleet-server-policy \
  --fleet-server-es-ca-trusted-fingerprint= *****

```

Please help. Thanks.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/6/a6f3b5890fbe6279919796539e64e1787e90d8b2.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f42fffafc3ed3c66b75d560c03816d56b41f818.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/e/4ec1fbbcf6743674b44b9e7a9d2dfe1d8d2ed2ec.png)

---

<div class="post-metadata">

### Author: ![Cristina\_Amico](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@Cristina\_Amico](https://discuss.elastic.co/u/Cristina_Amico)
#### Post date: [February 7, 2023, 2:14pm UTC](https://discuss.elastic.co/t/fleet-server-no-data-stream/324753/2 "2023-02-07T14:14:10Z")

</div>

Hi @NathanLau,

Could you share the command used to enroll the fleet server and some logs of the elastic agent?

It would be very helpful to understand what's going on in your config.

Thanks,  
Cristina

---

<div class="post-metadata">

### Author: ![NathanLau](https://avatars.discourse-cdn.com/v4/letter/n/e9a140/32.png) [@NathanLau](https://discuss.elastic.co/u/NathanLau)
#### Post date: [February 9, 2023, 6:55am UTC](https://discuss.elastic.co/t/fleet-server-no-data-stream/324753/3 "2023-02-09T06:55:37Z")

</div>

Hi Cristina ,

Here is install code.

```auto
sudo ./elastic-agent install \
  --fleet-server-es=https://172.16. **.** :9200 \
  --fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZX ********************************** dIRVZUUk9aWEIzeFJGa0NvZw \
  --fleet-server-policy=fleet-server-policy \
  --fleet-server-es-ca-trusted-fingerprint=2ed3b3fa33079a7446 ******************************

```

Because I am using docker to build it , I think the yml file point to my docker ip address (172.18.0.2:9200) but it's may fault.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/2/3234e4b9b53540eb20dfe9d8c79bfcaba40a3af3.png)

What should I do ? edit the yml file to point the correct ip address?

---

<div class="post-metadata">

### Author: ![NathanLau](https://avatars.discourse-cdn.com/v4/letter/n/e9a140/32.png) [@NathanLau](https://discuss.elastic.co/u/NathanLau)
#### Post date: [February 10, 2023, 7:11am UTC](https://discuss.elastic.co/t/fleet-server-no-data-stream/324753/4 "2023-02-10T07:11:36Z")

</div>

Hi @Cristina_Amico

Any Suggestions?

Thanks!

---

<div class="post-metadata">

### Author: ![Cristina\_Amico](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@Cristina\_Amico](https://discuss.elastic.co/u/Cristina_Amico)
#### Post date: [February 10, 2023, 10:37am UTC](https://discuss.elastic.co/t/fleet-server-no-data-stream/324753/5 "2023-02-10T10:37:15Z")

</div>

Hi Nathan,

`--fleet-server-es` should point to the Elasticsearch URL and should also be configured in Fleet `Settings` tab.

Under `Outputs`, click on `Add output` and select a new ES output, the host URL should be the same passed that is then passed to the enroll command:

 ![Screenshot 2023-02-10 at 11.29.41](https://us1.discourse-cdn.com/elastic/original/3X/0/7/07fae73887b4f32e9526891261182bd379effdc5.png)

By looking at the provided logs it seems that the fleet server is not able to reach Elasticsearch, so you can check if you can reach it with this command:

```auto
curl -k -u USERNAME:PASSWORD ELASTICSEARCH_HOST:9200

```

Could you check again your configuration, check that you can reach ES and then try again?

Thanks,  
Cristina

---

<div class="post-metadata">

### Author: ![NathanLau](https://avatars.discourse-cdn.com/v4/letter/n/e9a140/32.png) [@NathanLau](https://discuss.elastic.co/u/NathanLau)
#### Post date: [February 10, 2023, 11:03am UTC](https://discuss.elastic.co/t/fleet-server-no-data-stream/324753/6 "2023-02-10T11:03:55Z")

</div>

Hi @Cristina_Amico ,

I already direct change the ip address from docker IP to my VM.

Thanks. it's work. But in your way , it's cannot set it to default Agent.

---

<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: [March 10, 2023, 11:04am UTC](https://discuss.elastic.co/t/fleet-server-no-data-stream/324753/7 "2023-03-10T11:04:19Z")

</div>

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