# Unable to push the logs from the local machine using Filebeat to local elastic search instance

**URL:** https://discuss.elastic.co/t/unable-to-push-the-logs-from-the-local-machine-using-filebeat-to-local-elastic-search-instance/180806
**Category:** Beats
**Tags:** filebeat
**Created:** [May 13, 2019, 12:14pm UTC](https://discuss.elastic.co/t/unable-to-push-the-logs-from-the-local-machine-using-filebeat-to-local-elastic-search-instance/180806 "2019-05-13T12:14:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![krishnagurramvenkata](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@krishnagurramvenkata](https://discuss.elastic.co/u/krishnagurramvenkata)
#### Post date: [May 13, 2019, 12:14pm UTC](https://discuss.elastic.co/t/unable-to-push-the-logs-from-the-local-machine-using-filebeat-to-local-elastic-search-instance/180806/1 "2019-05-13T12:14:49Z")

</div>

Hi,  
I have installed filebeat and elastic search successfully. I configured the local log file path in the filebeats.yml and output to elastic search. I am not seeing any error in filebeat log but the logs are not pushed nothing logged in the logger.

---

<div class="post-metadata">

### Author: ![krishnagurramvenkata](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@krishnagurramvenkata](https://discuss.elastic.co/u/krishnagurramvenkata)
#### Post date: [May 13, 2019, 12:15pm UTC](https://discuss.elastic.co/t/unable-to-push-the-logs-from-the-local-machine-using-filebeat-to-local-elastic-search-instance/180806/2 "2019-05-13T12:15:46Z")

</div>

filebeat.inputs:

# Each - is an input. Most options can be set at the input level, so

# you can use different inputs for various configurations.

# Below are the input specific configurations.

- type: log

filebeat.config.modules:

# Glob pattern for configuration loading

path: ${path.config}/modules.d/\*.yml

# Set to true to enable config reloading

reload.enabled: false

# Period on which files under path should be checked for changes

#reload.period: 10s

#==================== Elasticsearch template setting ==========================

setup.template.settings:  
index.number\_of\_shards: 1  
#index.codec: best\_compression  
#\_source.enabled: false

output.elasticsearch:

# Array of hosts to connect to.

hosts: ["localhost:9200"]

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [May 14, 2019, 1:52pm UTC](https://discuss.elastic.co/t/unable-to-push-the-logs-from-the-local-machine-using-filebeat-to-local-elastic-search-instance/180806/3 "2019-05-14T13:52:42Z")

</div>

Please properly format logs and configs using the `</>`-Button.

Looks like you have no input enabled/configured.

---

<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: [June 11, 2019, 1:52pm UTC](https://discuss.elastic.co/t/unable-to-push-the-logs-from-the-local-machine-using-filebeat-to-local-elastic-search-instance/180806/4 "2019-06-11T13:52:43Z")

</div>

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