# Filebeat not reading the files with names saved as numbers

**URL:** https://discuss.elastic.co/t/filebeat-not-reading-the-files-with-names-saved-as-numbers/275741
**Category:** Beats
**Tags:** beats-module, filebeat
**Created:** [June 12, 2021, 11:24pm UTC](https://discuss.elastic.co/t/filebeat-not-reading-the-files-with-names-saved-as-numbers/275741 "2021-06-12T23:24:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shani\_angarkadu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shani_angarkadu/32/50638_2.png) [@shani\_angarkadu](https://discuss.elastic.co/u/shani_angarkadu)
#### Post date: [June 12, 2021, 11:24pm UTC](https://discuss.elastic.co/t/filebeat-not-reading-the-files-with-names-saved-as-numbers/275741/1 "2021-06-12T23:24:00Z")

</div>

My log files are named with numbers for example 45678.rdlog and the filebeat couldn't able to read it and if I re name the file to something like test.rdlog it can able to read it.

these logs are generated by rundeck and we have no control over it.

Please help us to address this issue.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![kumarabhi](https://avatars.discourse-cdn.com/v4/letter/k/6a8cbe/32.png) [@kumarabhi](https://discuss.elastic.co/u/kumarabhi)
#### Post date: [June 13, 2021, 6:05am UTC](https://discuss.elastic.co/t/filebeat-not-reading-the-files-with-names-saved-as-numbers/275741/2 "2021-06-13T06:05:40Z")

</div>

```auto
#------------------------------ Log input --------------------------------
- type: log

  # Change to true to enable this input configuration.
  enabled: true

  # Paths that should be crawled and fetched. Glob based paths.
  # To fetch all ".log" files from a specific level of subdirectories
  # /var/log/*/*.log can be used.
  # For each file found under this path, a harvester is started.
  # Make sure not file is defined twice as this can lead to unexpected behaviour.
  paths:
    - /var/log/*.log

```

You can set the log files path as \*.rdlog and it should work. There should not be any restriction that the file name cannot be numbers

---

<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 11, 2021, 8:06am UTC](https://discuss.elastic.co/t/filebeat-not-reading-the-files-with-names-saved-as-numbers/275741/3 "2021-07-11T08:06:26Z")

</div>

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