# Character '-' (dash) not recognizing by plugin path

**URL:** <https://discuss.elastic.co/t/character-dash-not-recognizing-by-plugin-path/141630>\
**Category:** Logstash\
**Created:** [July 25, 2018, 4:57pm UTC](https://discuss.elastic.co/t/character-dash-not-recognizing-by-plugin-path/141630 "2018-07-25T16:57:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denis\_Neres](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@Denis\_Neres](https://discuss.elastic.co/u/Denis_Neres)\
**Post date:** [July 25, 2018, 4:57pm UTC](https://discuss.elastic.co/t/character-dash-not-recognizing-by-plugin-path/141630/1 "2018-07-25T16:57:30Z")

</div>

Hi there,

I'm try to put a filename in input of logstash as this:  
//path =\> "path/to/my/dir/filename\*.log

but it isn't working. I made some tests, and I figure out that when the file has a '-' (dash) character in its filename, the plugin cannot recognize it.

example of file: filename-2018-10-12.log

you guys can try it...

PS: I'm using logstash on windows

my version of logstash is the latests by this date.

---

<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 22, 2018, 5:01pm UTC](https://discuss.elastic.co/t/character-dash-not-recognizing-by-plugin-path/141630/2 "2018-08-22T17:01:16Z")

</div>

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