# Logstash how to send string as not\_analyzed into elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-how-to-send-string-as-not-analyzed-into-elasticsearch/28922>\
**Category:** Logstash\
**Created:** [September 9, 2015, 12:02pm UTC](https://discuss.elastic.co/t/logstash-how-to-send-string-as-not-analyzed-into-elasticsearch/28922 "2015-09-09T12:02:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 10, 2015, 5:58am UTC](https://discuss.elastic.co/t/logstash-how-to-send-string-as-not-analyzed-into-elasticsearch/28922/4 "2015-09-10T05:58:43Z")

</div>

Your template is for indexes whose name matches the pattern logstash-\* but you're pushing data to an index named ems so it won't use your template.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-how-to-send-string-as-not-analyzed-into-elasticsearch/28922)._
