# File beats is not sending logs to elastic search

**URL:** <https://discuss.elastic.co/t/file-beats-is-not-sending-logs-to-elastic-search/196524>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 23, 2019, 12:54pm UTC](https://discuss.elastic.co/t/file-beats-is-not-sending-logs-to-elastic-search/196524 "2019-08-23T12:54:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seetharaman\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seetharaman_k/32/52542_2.png) [@Seetharaman\_K](https://discuss.elastic.co/u/Seetharaman_K)\
**Post date:** [August 23, 2019, 12:54pm UTC](https://discuss.elastic.co/t/file-beats-is-not-sending-logs-to-elastic-search/196524/1 "2019-08-23T12:54:38Z")

</div>

Hi , i have installed file beats in my system. [https://justpaste.it/3dvoz](https://justpaste.it/3dvoz) --\> configration . this is supposed to send logs to elastic search . but its not doing. elastic instance is up and running fine and even receiving logs from other applications. but am wondering why am not able to send logs any thoughts ?

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [August 27, 2019, 6:03pm UTC](https://discuss.elastic.co/t/file-beats-is-not-sending-logs-to-elastic-search/196524/2 "2019-08-27T18:03:07Z")

</div>

Hi @Seetharaman_K,

When adding windows paths to the configuration take into account that the backslash is used as escape character, so you need to put two of them (like `c:\\programdata\\elasticsearch\\logs\\*`).

Or, more conveniently, quote these paths using single quotes, like:

```auto
paths:
- 'C:\Users\G703065\AppData\Local\UiPath\Logs'
- 'c:\programdata\elasticsearch\logs\*'

```

---

<div class="post-metadata">

**Author:** ![Seetharaman\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seetharaman_k/32/52542_2.png) [@Seetharaman\_K](https://discuss.elastic.co/u/Seetharaman_K)\
**Post date:** [September 17, 2019, 12:55pm UTC](https://discuss.elastic.co/t/file-beats-is-not-sending-logs-to-elastic-search/196524/3 "2019-09-17T12:55:54Z")

</div>

got it solved i need to add something like \*.log to the end. i did not do that. so now am able to harvest logs thanks.

---

<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:** [October 15, 2019, 12:55pm UTC](https://discuss.elastic.co/t/file-beats-is-not-sending-logs-to-elastic-search/196524/4 "2019-10-15T12:55:57Z")

</div>

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