# Why does the ingest-attachment plugin not retrieve dates?

**URL:** https://discuss.elastic.co/t/why-does-the-ingest-attachment-plugin-not-retrieve-dates/157799
**Category:** Elasticsearch
**Created:** [November 22, 2018, 5:40am UTC](https://discuss.elastic.co/t/why-does-the-ingest-attachment-plugin-not-retrieve-dates/157799 "2018-11-22T05:40:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ottadini](https://avatars.discourse-cdn.com/v4/letter/o/b19c9b/32.png) [@ottadini](https://discuss.elastic.co/u/ottadini)
#### Post date: [November 22, 2018, 5:40am UTC](https://discuss.elastic.co/t/why-does-the-ingest-attachment-plugin-not-retrieve-dates/157799/1 "2018-11-22T05:40:55Z")

</div>

The ingest attachment plugin, with default 'properties' handling (i.e., get all properties), should retrieve a bunch of metadata, but for some files like image formats I've been testing it doesn't return dates, or anything really apart from Content-Type. It's really not very useful at all.

I've seen the github issue around this, but don't understand the current state of play. Has anything been implemented? For which version?

> <https://github.com/elastic/elasticsearch/pull/22339>

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [November 22, 2018, 7:44am UTC](https://discuss.elastic.co/t/why-does-the-ingest-attachment-plugin-not-retrieve-dates/157799/2 "2018-11-22T07:44:26Z")

</div>

It has not been merged.

Note that some libraries are not packaged with the plugin because not Apache2 license compatible. If you have jpeg files that might explain. In which case you could try to add the libs manually in the plugin dir.

Read the end of this page: [https://fscrawler.readthedocs.io/en/fscrawler-2.5/](https://fscrawler.readthedocs.io/en/fscrawler-2.5/)

Might help.

---

<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 20, 2018, 7:44am UTC](https://discuss.elastic.co/t/why-does-the-ingest-attachment-plugin-not-retrieve-dates/157799/3 "2018-12-20T07:44:49Z")

</div>

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