# Send only filenames to Logstash

**URL:** <https://discuss.elastic.co/t/send-only-filenames-to-logstash/153425>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 22, 2018, 2:43pm UTC](https://discuss.elastic.co/t/send-only-filenames-to-logstash/153425 "2018-10-22T14:43:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![celerinsights](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@celerinsights](https://discuss.elastic.co/u/celerinsights)\
**Post date:** [October 22, 2018, 2:43pm UTC](https://discuss.elastic.co/t/send-only-filenames-to-logstash/153425/1 "2018-10-22T14:43:50Z")

</div>

Is it possible to only send the source filenames to logstash from filebeat?

Thanks.

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [October 23, 2018, 10:00am UTC](https://discuss.elastic.co/t/send-only-filenames-to-logstash/153425/2 "2018-10-23T10:00:09Z")

</div>

Using the [`include_fields`](https://www.elastic.co/guide/en/beats/filebeat/current/include-fields.html#include-fields) processor, you can remove almost all fields. A few fields can not be removed, you have to try.

---

<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:** [November 20, 2018, 10:00am UTC](https://discuss.elastic.co/t/send-only-filenames-to-logstash/153425/3 "2018-11-20T10:00:10Z")

</div>

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