# Index not created in widnows

**URL:** https://discuss.elastic.co/t/index-not-created-in-widnows/147990
**Category:** Logstash
**Created:** [September 10, 2018, 3:48pm UTC](https://discuss.elastic.co/t/index-not-created-in-widnows/147990 "2018-09-10T15:48:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Damodara\_Gottipalli](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@Damodara\_Gottipalli](https://discuss.elastic.co/u/Damodara_Gottipalli)
#### Post date: [September 10, 2018, 3:48pm UTC](https://discuss.elastic.co/t/index-not-created-in-widnows/147990/1 "2018-09-10T15:48:03Z")

</div>

Not sure what's wrong. I am using 6.3.1

This is the config file:::

input {  
file {  
path =\> ["C:\study\elasticsearch\data.csv"]  
start\_position =\> "beginning"  
sincedb\_path =\> "nul"  
codec =\> rubydebug   
}  
}  
filter {  
csv {  
separator =\> ","  
columns =\> ["Date","Open","High","Low","Close","Volume","Adj Close"]  
}  
mutate {convert =\> ["High", "float"]}  
mutate {convert =\> ["Open", "float"]}  
mutate {convert =\> ["Low", "float"]}  
mutate {convert =\> ["Close", "float"]}  
mutate {convert =\> ["Volume", "float"]}  
}  
output {  
elasticsearch {  
action =\> "index"  
hosts =\> ["[http://localhost:9200](http://localhost:9200)"]  
index =\> "stock"  
workers =\> 1  
}  
stdout {}  
}

This is the log.

C:\ogstash-6.3.1\logstash-6.3.1\bin\>logstash -f C:\study\elasticsearch\logstash.conf  
Sending Logstash's logs to C:/ogstash-6.3.1/logstash-6.3.1/logs which is now configured via log4j2.properties  
[2018-09-10T10:39:15,632][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.queue", :path=\>"C:/ogstash-6.3.1/logstash-6.3.1/data/queue"}  
[2018-09-10T10:39:15,647][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.dead\_letter\_queue", :path=\>"C:/ogstash-6.3.1/logstash-6.3.1/data/dead\_letter\_queue"}  
[2018-09-10T10:39:15,849][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-09-10T10:39:15,908][INFO][logstash.agent] No persistent UUID file found. Generating new UUID {:uuid=\>"62d5de98-11ee-4435-ad21-ccfffedb528b", :path=\>"C:/ogstash-6.3.1/logstash-6.3.1/data/uuid"}  
[2018-09-10T10:39:17,074][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.3.1"}  
[2018-09-10T10:39:23,637][INFO][logstash.pipeline] Starting pipeline {:pipeline\_id=\>"main", "pipeline.workers"=\>4, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>50}  
[2018-09-10T10:39:24,235][INFO][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=\>{:removed=\>[], :added=\>[[http://localhost:9200/](http://localhost:9200/)]}}  
[2018-09-10T10:39:24,249][INFO][logstash.outputs.elasticsearch] Running health check to see if an Elasticsearch connection is working {:healthcheck\_url=\>[http://localhost:9200/](http://localhost:9200/), :path=\>"/"}  
[2018-09-10T10:39:24,506][WARN][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=\>"[http://localhost:9200/](http://localhost:9200/)"}  
[2018-09-10T10:39:24,567][INFO][logstash.outputs.elasticsearch] ES Output version determined {:es\_version=\>6}  
[2018-09-10T10:39:24,572][WARN][logstash.outputs.elasticsearch] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>6}  
[2018-09-10T10:39:24,602][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=\>"LogStash::Outputs::ElasticSearch", :hosts=\>["[http://localhost:9200](http://localhost:9200)"]}  
[2018-09-10T10:39:24,625][INFO][logstash.outputs.elasticsearch] Using mapping template from {:path=\>nil}  
[2018-09-10T10:39:24,693][INFO][logstash.outputs.elasticsearch] Attempting to install template {:manage\_template=\>{"template"=\>"logstash-_", "version"=\>60001, "settings"=\>{"index.refresh\_interval"=\>"5s"}, "mappings"=\>{"default"=\>{"dynamic\_templates"=\>[{"message\_field"=\>{"path\_match"=\>"message", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false}}}, {"string\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"string", "mapping"=\>{"type"=\>"text", "norms"=\>false, "fields"=\>{"keyword"=\>{"type"=\>"keyword", "ignore\_above"=\>256}}}}}], "properties"=\>{"@timestamp"=\>{"type"=\>"date"}, "@version"=\>{"type"=\>"keyword"}, "geoip"=\>{"dynamic"=\>true, "properties"=\>{"ip"=\>{"type"=\>"ip"}, "location"=\>{"type"=\>"geo\_point"}, "latitude"=\>{"type"=\>"half\_float"}, "longitude"=\>{"type"=\>"half\_float"}}}}}}}}  
[2018-09-10T10:39:25,881][INFO][logstash.pipeline] Pipeline started successfully {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x40bd183d run\>"}  
[2018-09-10T10:39:26,046][INFO][logstash.agent] Pipelines running {:count=\>1, :running\_pipelines=\>[:main], :non\_running\_pipelines=\>[]}  
[2018-09-10T10:39:26,640][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}

---

<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: [September 10, 2018, 6:29pm UTC](https://discuss.elastic.co/t/index-not-created-in-widnows/147990/2 "2018-09-10T18:29:47Z")

</div>

Start by removing the rubydebug codec from your file input.

---

<div class="post-metadata">

### Author: ![Damodara\_Gottipalli](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@Damodara\_Gottipalli](https://discuss.elastic.co/u/Damodara_Gottipalli)
#### Post date: [September 10, 2018, 7:29pm UTC](https://discuss.elastic.co/t/index-not-created-in-widnows/147990/3 "2018-09-10T19:29:02Z")

</div>

Thank you. It worked. I am so glad to receive such a prompt response and that worked.

Thanks  
Damo

---

<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: [October 8, 2018, 7:41pm UTC](https://discuss.elastic.co/t/index-not-created-in-widnows/147990/4 "2018-10-08T19:41:26Z")

</div>

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