# Upload data to elasteacsearch with logstash is stuck

**URL:** <https://discuss.elastic.co/t/upload-data-to-elasteacsearch-with-logstash-is-stuck/45587>\
**Category:** Logstash\
**Created:** [March 28, 2016, 1:17pm UTC](https://discuss.elastic.co/t/upload-data-to-elasteacsearch-with-logstash-is-stuck/45587 "2016-03-28T13:17:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenbe2204](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@chenbe2204](https://discuss.elastic.co/u/chenbe2204)\
**Post date:** [March 28, 2016, 1:17pm UTC](https://discuss.elastic.co/t/upload-data-to-elasteacsearch-with-logstash-is-stuck/45587/1 "2016-03-28T13:17:53Z")

</div>

Hi ,

I'm using logstash 2.2.0 to upload json files to elasticsearch (version 2.2).  
I already used the conf files of the logstash I built to upload data , and it worked !!  
Now when I'm trying again it's stuck , the conf file and log file are the same.

This is my conf file:  
input {  
file{  
path =\> ["/tmp/1.json"]  
type =\> "json"  
start\_position =\> "beginning"  
sincedb\_path =\> "/dev/null"  
}  
}

filter{  
json {  
source =\> "message"  
}  
}

output {  
stdout {  
codec =\> rubydebug  
}  
elasticsearch {  
hosts =\> localhost  
index =\> index\_tmp  
}  
}

Why ?

BR,  
Chen

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 28, 2016, 9:01pm UTC](https://discuss.elastic.co/t/upload-data-to-elasteacsearch-with-logstash-is-stuck/45587/2 "2016-03-28T21:01:58Z")

</div>

What do you mean by stuck?

---

<div class="post-metadata">

**Author:** ![chenbe2204](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@chenbe2204](https://discuss.elastic.co/u/chenbe2204)\
**Post date:** [April 14, 2016, 5:55am UTC](https://discuss.elastic.co/t/upload-data-to-elasteacsearch-with-logstash-is-stuck/45587/3 "2016-04-14T05:55:02Z")

</div>

There was a problem at my server.  
Thanks 🙂

---

<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:** [July 6, 2017, 5:02am UTC](https://discuss.elastic.co/t/upload-data-to-elasteacsearch-with-logstash-is-stuck/45587/4 "2017-07-06T05:02:22Z")

</div>


