# Logstash doesn't send logs to elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-doesnt-send-logs-to-elasticsearch/117604>\
**Category:** Logstash\
**Created:** [January 30, 2018, 11:43am UTC](https://discuss.elastic.co/t/logstash-doesnt-send-logs-to-elasticsearch/117604 "2018-01-30T11:43:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![User\_2\_Guest\_Incomin](https://avatars.discourse-cdn.com/v4/letter/u/85f322/32.png) [@User\_2\_Guest\_Incomin](https://discuss.elastic.co/u/User_2_Guest_Incomin)\
**Post date:** [January 30, 2018, 11:43am UTC](https://discuss.elastic.co/t/logstash-doesnt-send-logs-to-elasticsearch/117604/1 "2018-01-30T11:43:11Z")

</div>

Hello there,

I'm getting troubles with logstash trying to send logs to one of my index, the error seems to be popular but I can't solve it.

I have this index with this type:

Index:

 ![imagen](https://us1.discourse-cdn.com/elastic/original/3X/8/0/8072928dd7bbc2a0d6eea45de4b123b575ec55ca.png)

Type:  
 ![imagen](https://us1.discourse-cdn.com/elastic/original/3X/c/f/cf7ac336ea9b5f9f809c700e57721c0e2a7c2faa.png)

And when i try to send the logs with this pipeline.conf:  
 ![imagen](https://us1.discourse-cdn.com/elastic/original/3X/0/3/03a916323ac14fbc09ad355fe4fd57fdbb0abd22.png)

And when it gives this error:

 ![imagen](https://us1.discourse-cdn.com/elastic/original/3X/c/d/cd8b86b570e3a5e7bf87eae4bc56a33304871a4b.png)

I immediatly check if the index has this second (doc) type:  
 ![imagen](https://us1.discourse-cdn.com/elastic/original/3X/9/f/9f20824b805bbd84910e6c05bb0284b280c900ce.png)

As you can see, there's not doc type in this index.

I really don't know where it can been set this doc.type. I'm sure I did not create it.

Thank you for the 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:** [February 27, 2018, 11:43am UTC](https://discuss.elastic.co/t/logstash-doesnt-send-logs-to-elasticsearch/117604/2 "2018-02-27T11:43:15Z")

</div>

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