# File beat does not post the data to elk stack

**URL:** https://discuss.elastic.co/t/file-beat-does-not-post-the-data-to-elk-stack/184396
**Category:** Beats
**Tags:** filebeat
**Created:** [June 5, 2019, 2:49pm UTC](https://discuss.elastic.co/t/file-beat-does-not-post-the-data-to-elk-stack/184396 "2019-06-05T14:49:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![atul.bhingarde](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@atul.bhingarde](https://discuss.elastic.co/u/atul.bhingarde)
#### Post date: [June 5, 2019, 2:49pm UTC](https://discuss.elastic.co/t/file-beat-does-not-post-the-data-to-elk-stack/184396/1 "2019-06-05T14:49:24Z")

</div>

I have setup the file beat on one of the server and am trying to post the data from apache access log to the elk stack.

I am unable to see the logs in logstash

Thanks

Atul

---

<div class="post-metadata">

### Author: ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)
#### Post date: [June 5, 2019, 3:16pm UTC](https://discuss.elastic.co/t/file-beat-does-not-post-the-data-to-elk-stack/184396/2 "2019-06-05T15:16:10Z")

</div>

Could you please share your Filebeat configuration formatted using `</>`? Please also share the debug logs of Filebeat (output of `./filebeat -e -d "*"`).

---

<div class="post-metadata">

### Author: ![atul.bhingarde](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@atul.bhingarde](https://discuss.elastic.co/u/atul.bhingarde)
#### Post date: [June 5, 2019, 8:31pm UTC](https://discuss.elastic.co/t/file-beat-does-not-post-the-data-to-elk-stack/184396/3 "2019-06-05T20:31:15Z")

</div>

you mean filebeat.yml right ?

* * *

filebeat.inputs:

- type: log  
enabled: false  
paths:
  - /var/log/_.log  
filebeat.config.modules:  
path: ${path.config}/modules.d/_.yml  
reload.enabled: false  
setup.template.settings:  
index.number\_of\_shards: 1  
setup.kibana:  
host: "_.corporate.ge.com:5601"  
output.elasticsearch:  
hosts: ["_.corporate.ge.com:9200"]  
processors:
  - add\_host\_metadata: ~
  - add\_cloud\_metadata: ~  
logging.level: debug  
logging.selectors: ["\*"]

* * *

the ---------------- is demarker and server name is kind of masked I am able to see the elk server from log source server, not sure if I nee to check the port and what log i should see on elk server ?

Thanks

Atul

---

<div class="post-metadata">

### Author: ![atul.bhingarde](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@atul.bhingarde](https://discuss.elastic.co/u/atul.bhingarde)
#### Post date: [June 5, 2019, 8:32pm UTC](https://discuss.elastic.co/t/file-beat-does-not-post-the-data-to-elk-stack/184396/4 "2019-06-05T20:32:56Z")

</div>

":6508432,"rss":17301504}},"filebeat":{"harvester":{"open\_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"output":{"type":"elasticsearch"},"pipeline":{"clients":0,"events":{"active":0}}},"registrar":{"states":{"current":0},"writes":{"success":1,"total":1}},"system":{"cpu":{"cores":4},"load":{"1":0.16,"15":0.01,"5":0.07,"norm":{"1":0.04,"15":0.0025,"5":0.0175}}}}}}  
2019-06-05T16:32:23.982-0400 INFO [monitoring] log/log.go:153 Uptime: 3.084735751s  
2019-06-05T16:32:23.982-0400 INFO [monitoring] log/log.go:130 Stopping metrics logging.  
2019-06-05T16:32:23.982-0400 INFO instance/beat.go:401 filebeat stopped.  
2019-06-05T16:32:23.982-0400 ERROR instance/beat.go:802 Exiting: Error getting config for fileset logstash/log: Error interpreting the template of the input: template: text:3:22: executing "text" at \<.paths\>: range can't iterate over /var/log/httpd/apache-play-ssl-access.log  
Exiting: Error getting config for fileset logstash/log: Error interpreting the template of the input: template: text:3:22: executing "text" at \<.paths\>: range can't iterate over /var/log/httpd/apache-play-ssl-access.log

---

<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: [July 3, 2019, 8:33pm UTC](https://discuss.elastic.co/t/file-beat-does-not-post-the-data-to-elk-stack/184396/5 "2019-07-03T20:33:01Z")

</div>

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