# Not able to see the log file after Logging configuration in Filebeat

**URL:** <https://discuss.elastic.co/t/not-able-to-see-the-log-file-after-logging-configuration-in-filebeat/50185>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 17, 2016, 6:36am UTC](https://discuss.elastic.co/t/not-able-to-see-the-log-file-after-logging-configuration-in-filebeat/50185 "2016-05-17T06:36:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karuneshupadhyay](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@karuneshupadhyay](https://discuss.elastic.co/u/karuneshupadhyay)\
**Post date:** [May 17, 2016, 6:36am UTC](https://discuss.elastic.co/t/not-able-to-see-the-log-file-after-logging-configuration-in-filebeat/50185/1 "2016-05-17T06:36:30Z")

</div>

Hi,

I am trying the generate the logs file in FileBeat. I changed the filebeat.yml and added the configuration to generate log files, but I am not able see the log files.

Configuration -

```
> logging:

> to_syslog: false

> to_files: true

> files:

> path: "/var/log/"

> name: filebeat.log

> rotateeverybytes: 10485760 # = 10MB

> keepfiles: 7

> selectors: ["*"]
> level: warning

```

Please help me.

Thanks and Regards,  
Karunesh Upadhyay

---

<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 17, 2016, 11:35am UTC](https://discuss.elastic.co/t/not-able-to-see-the-log-file-after-logging-configuration-in-filebeat/50185/2 "2016-05-17T11:35:28Z")

</div>

Your indentation seems a little off. This can be an issue with yaml. Use spaces only + try to indent by 2 spaces + `files section` and the other options must be properly indented to be part of logging configuration.

---

<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 5, 2017, 9:51pm UTC](https://discuss.elastic.co/t/not-able-to-see-the-log-file-after-logging-configuration-in-filebeat/50185/3 "2017-07-05T21:51:53Z")

</div>


