# CSV file indexed to %{\[@metadata\] instead of target

**URL:** <https://discuss.elastic.co/t/csv-file-indexed-to-metadata-instead-of-target/95957>\
**Category:** Logstash\
**Created:** [August 4, 2017, 10:27pm UTC](https://discuss.elastic.co/t/csv-file-indexed-to-metadata-instead-of-target/95957 "2017-08-04T22:27:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 5, 2017, 2:01am UTC](https://discuss.elastic.co/t/csv-file-indexed-to-metadata-instead-of-target/95957/2 "2017-08-05T02:01:17Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

I moved your question to #logstash

---

_[View the full topic](https://discuss.elastic.co/t/csv-file-indexed-to-metadata-instead-of-target/95957)._
