# Logstash-elasticsearch integration after installing x-pack

**URL:** https://discuss.elastic.co/t/logstash-elasticsearch-integration-after-installing-x-pack/81851
**Category:** Logstash
**Created:** [April 10, 2017, 4:33pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-integration-after-installing-x-pack/81851 "2017-04-10T16:33:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![harshavardan25000](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@harshavardan25000](https://discuss.elastic.co/u/harshavardan25000)
#### Post date: [April 10, 2017, 4:33pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-integration-after-installing-x-pack/81851/1 "2017-04-10T16:33:41Z")

</div>

I installed x pack 5.2.0 on logstash, elasticsearch and kibana and left all the pieces untouched.  
Created logstash user "logstash\_internal " as per the instructions. But no luck when i tried to integrate logstash with elastic search..any inputs please?

Below is the snippet of my logstash config  
output {  
stdout{ codec =\> dots }  
elasticsearch {  
hosts =\> ["localhost:9200"]  
user =\> "logstash\_internal"  
password =\> "changeme"

}  
}

thank you in advance

---

<div class="post-metadata">

### Author: ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)
#### Post date: [April 10, 2017, 5:46pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-integration-after-installing-x-pack/81851/2 "2017-04-10T17:46:54Z")

</div>

Do you get any error with this config?

Also, just to make sure your input is working you can try with a test file output like this:

> ```
> file {
> path => "/path/to/target/file"
> }
> 
> ```

---

<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: [May 8, 2017, 5:49pm UTC](https://discuss.elastic.co/t/logstash-elasticsearch-integration-after-installing-x-pack/81851/3 "2017-05-08T17:49:34Z")

</div>

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