# Logstash is neither uploading csv nor creating index in elastic search

**URL:** <https://discuss.elastic.co/t/logstash-is-neither-uploading-csv-nor-creating-index-in-elastic-search/83870>\
**Category:** Logstash\
**Created:** [April 27, 2017, 1:44pm UTC](https://discuss.elastic.co/t/logstash-is-neither-uploading-csv-nor-creating-index-in-elastic-search/83870 "2017-04-27T13:44:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartikeya\_sharma\_13](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@kartikeya\_sharma\_13](https://discuss.elastic.co/u/kartikeya_sharma_13)\
**Post date:** [April 27, 2017, 1:44pm UTC](https://discuss.elastic.co/t/logstash-is-neither-uploading-csv-nor-creating-index-in-elastic-search/83870/1 "2017-04-27T13:44:03Z")

</div>

Hi All,  
I am new to ELK stack, i read multiple articles about the same issue , but none of them were able to solve my problem . This is the logging which i am getting after starting the logstash.  
Now i have a csv file of around 20-25 columns and 822 rows, but i am not able to send it . Can you please help !!!

> Sending Logstash's logs to C:/ELK/logstash/logstash-5.3.1/logs which is now configured via log4j2.properties  
> [2017-04-27T08:38:26,530][INFO][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=\>{:removed  
> ], :added=\>[[http://localhost:9200/](http://localhost:9200/)]}}  
> [2017-04-27T08:38:26,534][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch conn  
> ion is working {:healthcheck\_url=\>[http://localhost:9200/](http://localhost:9200/), :path=\>"/"}  
> [2017-04-27T08:38:26,684][WARN][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=\>#\<URI::HTT  
> x4327b99 URL:[http://localhost:9200/](http://localhost:9200/)\>}  
> [2017-04-27T08:38:26,686][INFO][logstash.outputs.elasticsearch] Using mapping template from {:path=\>nil}  
> [2017-04-27T08:38:26,746][INFO][logstash.outputs.elasticsearch] Attempting to install template {:manage\_template=\>{"  
> plate"=\>"logstash-\*", "version"=\>50001, "settings"=\>{"index.refresh\_interval"=\>"5s"}, "mappings"=\>{"_default_"=\>{"\_al
> 
> > {"enabled"=\>true, "norms"=\>false}, "dynamic\_templates"=\>[{"message\_field"=\>{"path\_match"=\>"message", "match\_mapping\_  
> > e"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false}}}, {"string\_fields"=\>{"match"=\>"\*", "match\_mapping\_type"=\>"  
> > ing", "mapping"=\>{"type"=\>"text", "norms"=\>false, "fields"=\>{"keyword"=\>{"type"=\>"keyword"}}}}}], "properties"=\>{"@ti  
> > tamp"=\>{"type"=\>"date", "include\_in\_all"=\>false}, "@version"=\>{"type"=\>"keyword", "include\_in\_all"=\>false}, "geoip"=\>  
> > ynamic"=\>true, "properties"=\>{"ip"=\>{"type"=\>"ip"}, "location"=\>{"type"=\>"geo\_point"}, "latitude"=\>{"type"=\>"half\_flo  
> > }, "longitude"=\>{"type"=\>"half\_float"}}}}}}}}  
> > [2017-04-27T08:38:26,750][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=\>"LogStash::Outputs  
> > lasticSearch", :hosts=\>[#\<URI::HTTP:0x5729e2c0 URL:[http://localhost:9200](http://localhost:9200)\>]}  
> > [2017-04-27T08:38:26,754][INFO][logstash.pipeline] Starting pipeline {"id"=\>"main", "pipeline.workers"=\>4, "  
> > eline.batch.size"=\>125, "pipeline.batch.delay"=\>5, "pipeline.max\_inflight"=\>500}  
> > [2017-04-27T08:38:27,498][INFO][logstash.pipeline] Pipeline main started  
> > [2017-04-27T08:38:27,687][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9601}

---

<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:** [April 28, 2017, 5:39am UTC](https://discuss.elastic.co/t/logstash-is-neither-uploading-csv-nor-creating-index-in-elastic-search/83870/2 "2017-04-28T05:39:47Z")

</div>

What does your Logstash configuration file look like? Please read the file input documentation carefully and pay special attention to what's said about sincedb files.

---

<div class="post-metadata">

**Author:** ![kartikeya\_sharma\_13](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@kartikeya\_sharma\_13](https://discuss.elastic.co/u/kartikeya_sharma_13)\
**Post date:** [May 2, 2017, 12:58pm UTC](https://discuss.elastic.co/t/logstash-is-neither-uploading-csv-nor-creating-index-in-elastic-search/83870/3 "2017-05-02T12:58:43Z")

</div>

Thanks @magnusbaeck i figured it out . My conf was correct , i am doing some kind of comparison between Splunk and ELK , so i was trying to migrate some data from Splunk to ELK , issue was my data format was not correct .

---

<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 30, 2017, 1:07pm UTC](https://discuss.elastic.co/t/logstash-is-neither-uploading-csv-nor-creating-index-in-elastic-search/83870/4 "2017-05-30T13:07:52Z")

</div>

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