# Data Upload to elasticsearch

**URL:** https://discuss.elastic.co/t/data-upload-to-elasticsearch/34887
**Category:** Logstash
**Created:** [November 18, 2015, 7:17am UTC](https://discuss.elastic.co/t/data-upload-to-elasticsearch/34887 "2015-11-18T07:17:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Prateek\_Kshtriya](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@Prateek\_Kshtriya](https://discuss.elastic.co/u/Prateek_Kshtriya)
#### Post date: [November 18, 2015, 7:17am UTC](https://discuss.elastic.co/t/data-upload-to-elasticsearch/34887/1 "2015-11-18T07:17:44Z")

</div>

Hi ,

I am trying to import .json file to elasticsearch through logstash but not able to see the data.Also it getting processed through logstash once only ,it is not performing activities.  
PFA snapshot.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/c/cf6ef1752a75283177478f12c071236e106ebc8d.jpg)

Please find below the logstash.conf details:-  
input {  
file {  
path =\> "D:\ELASTICSEARCH\accounts.json"  
start\_position =\> "beginning"  
}  
}  
output {  
elasticsearch {  
cluster =\> "localhost:9200"  
index =\> "cld-logstash=%{+YYYY.MM.DD}"  
protocol =\>http  
}  
}

Please suggest.

Regards,  
Prateek.

---

<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: [November 18, 2015, 7:25am UTC](https://discuss.elastic.co/t/data-upload-to-elasticsearch/34887/2 "2015-11-18T07:25:51Z")

</div>

Logstash probably thinks it already has processed accounts.json. If you want it processed again you need to delete the sincedb file Logstash uses to keep track of the current position in the input file. See the documentation and search the forum archives for details.

---

<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:22am UTC](https://discuss.elastic.co/t/data-upload-to-elasticsearch/34887/3 "2017-07-06T05:22:24Z")

</div>


