# Log stash is not hitting elastic search for data loading when I am trying load from a string

**URL:** <https://discuss.elastic.co/t/log-stash-is-not-hitting-elastic-search-for-data-loading-when-i-am-trying-load-from-a-string/39678>\
**Category:** Logstash\
**Created:** [January 20, 2016, 4:20pm UTC](https://discuss.elastic.co/t/log-stash-is-not-hitting-elastic-search-for-data-loading-when-i-am-trying-load-from-a-string/39678 "2016-01-20T16:20:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajeev\_Gaurav](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@Rajeev\_Gaurav](https://discuss.elastic.co/u/Rajeev_Gaurav)\
**Post date:** [January 20, 2016, 4:20pm UTC](https://discuss.elastic.co/t/log-stash-is-not-hitting-elastic-search-for-data-loading-when-i-am-trying-load-from-a-string/39678/1 "2016-01-20T16:20:33Z")

</div>

Hi,

I am trying to load data in elastic search using log stash from a string .I am using following command

D:\ELK Software\logstash-2.1.1\bin\>logstash -e 'input{ file { start\_position =\>  
beginning path =\> ["D:\ELK Software\ThreeFlight3days.csv"] } } filter { csv  
{separator =\> "," columns =\> ["RequestDate","Flight","Metric1","Metric2",  
"Metric3"] } date { match =\> ["RequestDate", "MM/dd/yyyy H:mm"] } mutate { co  
nvert =\> ["Metric1","integer"] convert =\>["Metric1","integer"]}}output { ela  
sticsearch { hosts =\> "localhost" index =\> "indexmetric1" document\_type =\>  
"indexdoc1"}}'  
On running it just show following output and then get to the directory

io/console not supported; tty will not be manipulated

D:\ELK Software\logstash-2.1.1\bin\>

Kindly help me .

Thanks and Best Regards,  
Rajeev

---

<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:14am UTC](https://discuss.elastic.co/t/log-stash-is-not-hitting-elastic-search-for-data-loading-when-i-am-trying-load-from-a-string/39678/2 "2017-07-06T05:14:58Z")

</div>


