# Logstash - data not loading

**URL:** <https://discuss.elastic.co/t/logstash-data-not-loading/126454>\
**Category:** Logstash\
**Created:** [April 2, 2018, 6:09pm UTC](https://discuss.elastic.co/t/logstash-data-not-loading/126454 "2018-04-02T18:09:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuvaraja\_kannan](https://avatars.discourse-cdn.com/v4/letter/y/ba8739/32.png) [@Yuvaraja\_kannan](https://discuss.elastic.co/u/Yuvaraja_kannan)\
**Post date:** [April 2, 2018, 6:09pm UTC](https://discuss.elastic.co/t/logstash-data-not-loading/126454/1 "2018-04-02T18:09:07Z")

</div>

HI ALL,

I am trying to load some sample data set to elasticsearch using logstash. But I am not sure if this is working, when i run my config file from command prompt ,log stash stops at this point and doesn't give any information if it has loaded the data. Please advice.

**Config file:**  
input {  
file {  
path =\> "C:\Users\yuvaraja.kannan\Documents\server\_log.csv"  
start\_position =\> "beginning"  
sincedb\_path=\>"/dev/null"  
}  
}  
filter {  
csv {  
separator =\> ","  
columns =\> ["processname", "robot", "total\_exec\_time\_minutes" ,"date"]   
}  
mutate {convert =\> ["total\_exec\_time\_minutes","integer"] }

}  
output {  
elasticsearch{  
hosts=\> "localhost"  
index=\>"process\_time"  
document\_type=\>"process\_execution\_time"  
}

}

* * *

**Command prompt:**

C:\Users\yuvaraja.kannan\Documents\logstash-6.2.3\bin\>logstash -f logstash\_process.config  
Sending Logstash's logs to C:/Users/yuvaraja.kannan/Documents/logstash-6.2.3/logs which is now configured via log4j2.properties  
[2018-04-02T23:31:37,687][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"C:/Users/yuvaraja.kannan/Documents/logstash-6.2.3/modules/fb\_apache/configuration"}  
[2018-04-02T23:31:37,709][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"C:/Users/yuvaraja.kannan/Documents/logstash-6.2.3/modules/netflow/configuration"}  
[2018-04-02T23:31:37,804][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.queue", :path=\>"C:/Users/yuvaraja.kannan/Documents/logstash-6.2.3/data/queue"}  
[2018-04-02T23:31:37,813][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.dead\_letter\_queue", :path=\>"C:/Users/yuvaraja.kannan/Documents/logstash-6.2.3/data/dead\_letter\_queue"}  
[2018-04-02T23:31:37,957][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-04-02T23:31:37,997][INFO][logstash.agent] No persistent UUID file found. Generating new UUID {:uuid=\>"a3ab481c-a689-46f1-b036-7af1d3198086", :path=\>"C:/Users/yuvaraja.kannan/Documents/logstash-6.2.3/data/uuid"}  
[2018-04-02T23:31:38,808][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"6.2.3"}  
[2018-04-02T23:31:39,326][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2018-04-02T23:31:42,106][WARN][logstash.outputs.elasticsearch] You are using a deprecated config setting "document\_type" set in elasticsearch. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. Document types are being deprecated in Elasticsearch 6.0, and removed entirely in 7.0. You should avoid this feature If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=\>"document\_type", :plugin=\>\<LogStash::Outputs::ElasticSearch hosts=\>[[//localhost](https://localhost)], index=\>"process\_time", document\_type=\>"process\_execution\_time", id=\>"f38f850df82ae9a02af101771cf817e92adcecdcd5b6b84b3c45be83d68bde39", enable\_metric=\>true, codec=\>\<LogStash::Codecs::Plain id=\>"plain\_644335d6-a981-467b-852d-f3259c60cb8a", enable\_metric=\>true, charset=\>"UTF-8"\>, workers=\>1, manage\_template=\>true, template\_name=\>"logstash", template\_overwrite=\>false, doc\_as\_upsert=\>false, script\_type=\>"inline", script\_lang=\>"painless", script\_var\_name=\>"event", scripted\_upsert=\>false, retry\_initial\_interval=\>2, retry\_max\_interval=\>64, retry\_on\_conflict=\>1, action=\>"index", ssl\_certificate\_verification=\>true, sniffing=\>false, sniffing\_delay=\>5, timeout=\>60, pool\_max=\>1000, pool\_max\_per\_route=\>100, resurrect\_delay=\>5, validate\_after\_inactivity=\>10000, http\_compression=\>false\>}  
[2018-04-02T23:31:42,250][INFO][logstash.pipeline] Starting pipeline {:pipeline\_id=\>"main", "pipeline.workers"=\>4, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>50}  
[2018-04-02T23:31:42,984][INFO][logstash.outputs.elasticsearch] Elasticsearch pool URLs updated {:changes=\>{:removed=\>[], :added=\>[[http://localhost:9200/](http://localhost:9200/)]}}  
[2018-04-02T23:31:43,001][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-04-02T23:31:43,342][WARN][logstash.outputs.elasticsearch] Restored connection to ES instance {:url=\>"[http://localhost:9200/](http://localhost:9200/)"}  
[2018-04-02T23:31:43,462][INFO][logstash.outputs.elasticsearch] ES Output version determined {:es\_version=\>6}  
[2018-04-02T23:31:43,469][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-04-02T23:31:43,495][INFO][logstash.outputs.elasticsearch] Using mapping template from {:path=\>nil}  
[2018-04-02T23:31:43,531][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-04-02T23:31:43,596][INFO][logstash.outputs.elasticsearch] New Elasticsearch output {:class=\>"LogStash::Outputs::ElasticSearch", :hosts=\>["[//localhost](https://localhost)"]}  
[2018-04-02T23:31:44,627][INFO][logstash.pipeline] Pipeline started succesfully {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x52f6fb run\>"}  
[2018-04-02T23:31:44,818][INFO][logstash.agent] Pipelines running {:count=\>1, :pipelines=\>["main"]}

---

<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:** [April 30, 2018, 6:09pm UTC](https://discuss.elastic.co/t/logstash-data-not-loading/126454/2 "2018-04-30T18:09:27Z")

</div>

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