# Cannot upload to Elasticsearch via Logstash

**URL:** https://discuss.elastic.co/t/cannot-upload-to-elasticsearch-via-logstash/115484
**Category:** Logstash
**Created:** [January 15, 2018, 7:09am UTC](https://discuss.elastic.co/t/cannot-upload-to-elasticsearch-via-logstash/115484 "2018-01-15T07:09:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vrael](https://avatars.discourse-cdn.com/v4/letter/v/a4c791/32.png) [@vrael](https://discuss.elastic.co/u/vrael)
#### Post date: [January 15, 2018, 7:09am UTC](https://discuss.elastic.co/t/cannot-upload-to-elasticsearch-via-logstash/115484/1 "2018-01-15T07:09:54Z")

</div>

Hi,  
I'm trying to upload a csv to logstash and all I get is this even with the verbose output option.

> Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties  
> logstash 6.1.0  
> jruby 9.1.13.0 (2.3.3) 2017-09-06 8e1c115 Java HotSpot(TM) 64-Bit Server VM 25.151-b12 on 1.8.0\_151-b12 +jit [linux-x86\_64]  
> java 1.8.0\_151 (Oracle Corporation)  
> jvm Java HotSpot(TM) 64-Bit Server VM / 25.151-b12

Here is my logstash.conf file

> input {  
> file {  
> path =\> "/home/sarthak/Downloads/ATE1.csv"  
> start\_position =\> "beginning"

> }

> }  
> filter {  
> csv {  
> separator=\>","  
> columns=\>["Type","Severity","Host Name","timestamp","Message","Machine Name","Path","SHA256","Score","Data"]  
> }

> }

> output {  
> elasticsearch {  
> hosts =\> "[http://localhost:9200](http://localhost:9200)"  
> index =\> "ate1"  
> }  
> stdout {}  
> }

---

<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: [January 15, 2018, 7:14am UTC](https://discuss.elastic.co/t/cannot-upload-to-elasticsearch-via-logstash/115484/2 "2018-01-15T07:14:46Z")

</div>

If you have processed the file before then it will be a sincedb issue.

---

<div class="post-metadata">

### Author: ![vrael](https://avatars.discourse-cdn.com/v4/letter/v/a4c791/32.png) [@vrael](https://discuss.elastic.co/u/vrael)
#### Post date: [January 15, 2018, 7:19am UTC](https://discuss.elastic.co/t/cannot-upload-to-elasticsearch-via-logstash/115484/3 "2018-01-15T07:19:37Z")

</div>

Thanks for the quick reply!

I haven't processed the file before

---

<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 12, 2018, 7:19am UTC](https://discuss.elastic.co/t/cannot-upload-to-elasticsearch-via-logstash/115484/4 "2018-02-12T07:19:46Z")

</div>

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