# Pass file attributes with filebeat

**URL:** <https://discuss.elastic.co/t/pass-file-attributes-with-filebeat/108509>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 21, 2017, 5:19am UTC](https://discuss.elastic.co/t/pass-file-attributes-with-filebeat/108509 "2017-11-21T05:19:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilisade](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gilisade/32/98740_2.png) [@gilisade](https://discuss.elastic.co/u/gilisade)\
**Post date:** [November 21, 2017, 5:19am UTC](https://discuss.elastic.co/t/pass-file-attributes-with-filebeat/108509/1 "2017-11-21T05:19:08Z")

</div>

Hi is there any way that I can ship the file's attributes (metadata) with the events in it ?  
I'm talking about attributes that I get from the getfattr command  
To add it like a field to each event in it or something ?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [November 21, 2017, 11:33pm UTC](https://discuss.elastic.co/t/pass-file-attributes-with-filebeat/108509/2 "2017-11-21T23:33:54Z")

</div>

This is currently not possible. Seems very similar to the request here? [Filebeat: how to pass file properties to Logstash?](https://discuss.elastic.co/t/filebeat-how-to-pass-file-properties-to-logstash/108289/6) Coincidence?

---

<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:** [December 12, 2017, 5:19am UTC](https://discuss.elastic.co/t/pass-file-attributes-with-filebeat/108509/3 "2017-12-12T05:19:11Z")

</div>

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