# Filename starts with numeric value type of log not working in filebeat

**URL:** https://discuss.elastic.co/t/filename-starts-with-numeric-value-type-of-log-not-working-in-filebeat/311620
**Category:** Beats
**Tags:** filebeat
**Created:** [August 8, 2022, 6:03am UTC](https://discuss.elastic.co/t/filename-starts-with-numeric-value-type-of-log-not-working-in-filebeat/311620 "2022-08-08T06:03:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rajvel](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@rajvel](https://discuss.elastic.co/u/rajvel)
#### Post date: [August 8, 2022, 6:03am UTC](https://discuss.elastic.co/t/filename-starts-with-numeric-value-type-of-log-not-working-in-filebeat/311620/1 "2022-08-08T06:03:57Z")

</div>

Hello Team,

I need to collect the log from files to lofgstash.  
My filename looks like the below.

D:\test\test\app\20220808-appname.log

While i configure the same path in filebeat its not working.  
Could you please advise how to give the path name in filebeat.yml

---

<div class="post-metadata">

### Author: ![Tetiana\_Kravchenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tetiana_kravchenko/32/102683_2.png) [@Tetiana\_Kravchenko](https://discuss.elastic.co/u/Tetiana_Kravchenko)
#### Post date: [August 9, 2022, 8:18am UTC](https://discuss.elastic.co/t/filename-starts-with-numeric-value-type-of-log-not-working-in-filebeat/311620/2 "2022-08-09T08:18:50Z")

</div>

Hi @rajvel  
Are you getting any error in this case?  
Do you set path in single quotas, as suggested [here](https://www.elastic.co/guide/en/beats/filebeat/master/yaml-tips.html#wrap-paths-in-quotes)

```auto
path: 'D:\test\test\app\20220808-appname.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: [September 6, 2022, 10:19am UTC](https://discuss.elastic.co/t/filename-starts-with-numeric-value-type-of-log-not-working-in-filebeat/311620/3 "2022-09-06T10:19:23Z")

</div>

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