# Index creation with and without useful file paths

**URL:** <https://discuss.elastic.co/t/index-creation-with-and-without-useful-file-paths/94928>\
**Category:** Beats\
**Created:** [July 28, 2017, 9:53am UTC](https://discuss.elastic.co/t/index-creation-with-and-without-useful-file-paths/94928 "2017-07-28T09:53:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DFrant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dfrant/32/20512_2.png) [@DFrant](https://discuss.elastic.co/u/DFrant)\
**Post date:** [July 28, 2017, 9:53am UTC](https://discuss.elastic.co/t/index-creation-with-and-without-useful-file-paths/94928/1 "2017-07-28T09:53:06Z")

</div>

Hello,

I have made a file prospectors in Filebeat with the following parameters:

```
- input_type: log
    - /opt/test/test_file
    - /var/log/syslog
  document_type: test

```

Which is parsed correctly and index is created normally. **BUT** I dont want the syslog file, so the config I want is the next:

```
- input_type: log
    - /opt/test/test_file
  document_type: test

```

No I have absolutely no results when I create the index again...

Can someone explain me this behaviour? 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:** [August 18, 2017, 9:53am UTC](https://discuss.elastic.co/t/index-creation-with-and-without-useful-file-paths/94928/2 "2017-08-18T09:53:20Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
