# Path logs Failure

**URL:** <https://discuss.elastic.co/t/path-logs-failure/127050>\
**Category:** Elasticsearch\
**Created:** [April 6, 2018, 8:08am UTC](https://discuss.elastic.co/t/path-logs-failure/127050 "2018-04-06T08:08:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo\_gracia](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pablo\_gracia](https://discuss.elastic.co/u/pablo_gracia)\
**Post date:** [April 6, 2018, 8:08am UTC](https://discuss.elastic.co/t/path-logs-failure/127050/1 "2018-04-06T08:08:17Z")

</div>

I have my logs stored with rsyslog at the path /var/log/udp.log, but when i configure my elasticsearch.yml on the "paths" part I wrote down on the part path.logs /var/log/udp.log, I restart my elasticsearch and status it and sends me an error.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b67840681d9858b41d831c70be01ff91312b5bc8.png)

What shall I do to tell them the right path o if not just store my logs in another directory if its too much difficult to configure it

Thanks

Pablo

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [April 9, 2018, 8:22am UTC](https://discuss.elastic.co/t/path-logs-failure/127050/2 "2018-04-09T08:22:47Z")

</div>

`path.logs` must be a directory, not a file, as several different files will be put into this directory.

---

<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:** [May 7, 2018, 8:23am UTC](https://discuss.elastic.co/t/path-logs-failure/127050/3 "2018-05-07T08:23:06Z")

</div>

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