# Logstash communication fails to ES with x-pack with user logstash\_internal

**URL:** <https://discuss.elastic.co/t/logstash-communication-fails-to-es-with-x-pack-with-user-logstash-internal/184182>\
**Category:** Logstash\
**Created:** [June 4, 2019, 12:50pm UTC](https://discuss.elastic.co/t/logstash-communication-fails-to-es-with-x-pack-with-user-logstash-internal/184182 "2019-06-04T12:50:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pastechecker](https://avatars.discourse-cdn.com/v4/letter/p/0ea827/32.png) [@pastechecker](https://discuss.elastic.co/u/pastechecker)\
**Post date:** [June 4, 2019, 1:57pm UTC](https://discuss.elastic.co/t/logstash-communication-fails-to-es-with-x-pack-with-user-logstash-internal/184182/2 "2019-06-04T13:57:28Z")

</div>

```
input {}
filter {}

output {
elasticsearch {
hosts => ["http://localhost:9200"]
user => "logstash_internal"
password => "somepassword"
manage_template => "false"
template_name => "logstash"
}
}

```

Configuration OK  
[INFO] 2019-06-04 15:54:47.199 [LogStash::Runner] runner - Using config.test\_and\_exit mode. Config Validation Result: OK. Exiting Logstash

Can you remove the template\_name and try again?

Your problem looks similar to the: [Failed to install template logstash error](https://discuss.elastic.co/t/failed-to-install-template-logstash-error/176646/2)

---

_[View the full topic](https://discuss.elastic.co/t/logstash-communication-fails-to-es-with-x-pack-with-user-logstash-internal/184182)._
