# Filebeat .log configuring

**URL:** <https://discuss.elastic.co/t/filebeat-log-configuring/209068>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 22, 2019, 1:44pm UTC](https://discuss.elastic.co/t/filebeat-log-configuring/209068 "2019-11-22T13:44:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![111245](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111245/32/46958_2.png) [@111245](https://discuss.elastic.co/u/111245)\
**Post date:** [November 22, 2019, 1:44pm UTC](https://discuss.elastic.co/t/filebeat-log-configuring/209068/1 "2019-11-22T13:44:36Z")

</div>

Hello! Could someone help? I'm setting up filebeat.  
The task is to send logs from the path /root/slk/log/\*.log

Configured such filebeat.yml:  
`filebeat.inputs:`  
` - type: log`  
` ﾠ enabled: true`  
` ﾠ paths:`  
` ﾠﾠ - /root/slk/log/*.log`  
`filebeat.modules:`  
`logging.files:`  
`logging.level: debug`  
`logging.to_files: true`  
`output.logstash:`  
` enabled: true`  
` hosts:`  
` ﾠ - "192.168.50.157:5044"`  
`setup.kibana:`  
`setup.template.settings:`

Such docker-compose:  
` version: '3.2'`

```
services:
  filebeat:
    image: elastic / filebeat: 6.2.4
    user: root
    command: filebeat -e -strict.perms = false
    hostname: 192.168.50.5
    restart: unless-stopped
    volumes:
      - /root/filebeat/filebeat.yml:/usr/share/filebeat/filebeat.yml
      - /root/slk/log:/root/slk/log:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro

```

But when the container starts, it gives an error: Exiting: No modules or prospectors enabled and configuration reloading disabled. What files do you want me to watch?

I don’t understand why, I set everything up according to the documentation ..

---

<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:** [December 20, 2019, 1:44pm UTC](https://discuss.elastic.co/t/filebeat-log-configuring/209068/2 "2019-12-20T13:44:48Z")

</div>

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