# Filebeat doesn't load logs into ElasticSearch (Windows)

**URL:** https://discuss.elastic.co/t/filebeat-doesnt-load-logs-into-elasticsearch-windows/297319
**Category:** Beats
**Tags:** filebeat
**Created:** [February 16, 2022, 4:16am UTC](https://discuss.elastic.co/t/filebeat-doesnt-load-logs-into-elasticsearch-windows/297319 "2022-02-16T04:16:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Pixelixir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pixelixir/32/101859_2.png) [@Pixelixir](https://discuss.elastic.co/u/Pixelixir)
#### Post date: [February 16, 2022, 4:16am UTC](https://discuss.elastic.co/t/filebeat-doesnt-load-logs-into-elasticsearch-windows/297319/1 "2022-02-16T04:16:46Z")

</div>

I've read all the setup instructions over and over again but I still don't know how to transfer logs into Elasticsearch (localhost) via Filebeat. Here is my Elasticsearch.yml and Filebeat inputs:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/3/33b60234766b5bb0aa9238678d3474008fc277ff.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/4/e47efe2a26c4cffb4625f36df6c14b1a60b2cd71.png)

---

<div class="post-metadata">

### Author: ![Andrea\_Spacca](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrea_spacca/32/76976_2.png) [@Andrea\_Spacca](https://discuss.elastic.co/u/Andrea_Spacca)
#### Post date: [February 16, 2022, 10:28am UTC](https://discuss.elastic.co/t/filebeat-doesnt-load-logs-into-elasticsearch-windows/297319/2 "2022-02-16T10:28:03Z")

</div>

Hello @Pixelixir

welcome to the community!

What did you set as `output.elasticsearch` in `filebeat.yml`?

For writing to localhost with no auth set the following should be enough:

```auto
# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["localhost:9200"]

```

What version of Filebeat are you using?

How do you run Filebeat?

Please, if possible, share the information as quoted text in the message rather then screenshot, thanks 🙂

---

<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 16, 2022, 12:28pm UTC](https://discuss.elastic.co/t/filebeat-doesnt-load-logs-into-elasticsearch-windows/297319/3 "2022-03-16T12:28:12Z")

</div>

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