# Output logstash problem in filebeat 7.2

**URL:** <https://discuss.elastic.co/t/output-logstash-problem-in-filebeat-7-2/189281>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 8, 2019, 4:52am UTC](https://discuss.elastic.co/t/output-logstash-problem-in-filebeat-7-2/189281 "2019-07-08T04:52:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abu.sayeed](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@abu.sayeed](https://discuss.elastic.co/u/abu.sayeed)\
**Post date:** [July 8, 2019, 4:52am UTC](https://discuss.elastic.co/t/output-logstash-problem-in-filebeat-7-2/189281/1 "2019-07-08T04:52:48Z")

</div>

filebeat.yml:

filebeat.inputs:

- type: log  
enabled: false  
paths:

filebeat.registry.path: /var/lib/filebeat/registry  
filebeat.registry.file\_permissions: 0600  
filebeat.shutdown\_timeout: 5s

filebeat.config.modules:  
path: /etc/filebeat/modules.d/\*.yml  
reload.enabled: true

setup.template.overwrite: true  
setup.template.enabled: false  
setup.template.settings:  
index.number\_of\_shards: 3  
index.number\_of\_replicas: 3

setup.dashboards.enabled: true

setup.kibana:  
host: "192.168.90.10:5601"

output.elasticsearch:  
hosts: ["192.168.90.10:9200"]  
tls:  
certificate\_authorities: "/etc/pki/tls/certs/elk-test.crt"

logging.level: info  
logging.to\_files: true  
logging.files:  
path: /var/log/filebeat  
name: filebeat  
keepfiles: 7  
permissions: 0644  
rotateeverybytes: 10485760 # = 10MB

Then I run  
filebeat setup  
filebeat -e  
service filebeat restart

It works properly.

I need to analysis some custom path logs and modules path logs both. for this I reconfigure filebeat like below.

filebeat.inputs:

- type: log  
enabled: false  
paths:

filebeat.registry.path: /var/lib/filebeat/registry  
filebeat.registry.file\_permissions: 0600  
filebeat.shutdown\_timeout: 5s

filebeat.config.modules:  
path: /etc/filebeat/modules.d/\*.yml  
reload.enabled: true

setup.template.overwrite: true  
setup.template.enabled: false  
setup.template.settings:  
index.number\_of\_shards: 3  
index.number\_of\_replicas: 3

setup.dashboards.enabled: true

setup.kibana:  
host: "192.168.90.10:5601"

output.logstash:  
hosts: ["192.168.90.10:5044"]  
ssl.certificate\_authorities: "/etc/pki/tls/certs/elk-test.crt"

logging.level: info  
logging.to\_files: true  
logging.files:  
path: /var/log/filebeat  
name: filebeat  
keepfiles: 7  
permissions: 0644  
rotateeverybytes: 10485760 # = 10MB

But it doesn't work. Please help me.

---

<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:** [July 8, 2019, 11:38pm UTC](https://discuss.elastic.co/t/output-logstash-problem-in-filebeat-7-2/189281/2 "2019-07-08T23:38:13Z")

</div>

Please properly format logs and configurations files using the `</>` button in the editor window.

What doesn't work? Do you get any error message? Can you share debug logs (run filebeat with `-d *`)?

---

<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:** [August 5, 2019, 11:38pm UTC](https://discuss.elastic.co/t/output-logstash-problem-in-filebeat-7-2/189281/3 "2019-08-05T23:38:23Z")

</div>

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