# My logstash remains in started state without any output?

**URL:** <https://discuss.elastic.co/t/my-logstash-remains-in-started-state-without-any-output/71351>\
**Category:** Logstash\
**Created:** [January 12, 2017, 9:53am UTC](https://discuss.elastic.co/t/my-logstash-remains-in-started-state-without-any-output/71351 "2017-01-12T09:53:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yaswanth](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@Yaswanth](https://discuss.elastic.co/u/Yaswanth)\
**Post date:** [January 12, 2017, 9:53am UTC](https://discuss.elastic.co/t/my-logstash-remains-in-started-state-without-any-output/71351/1 "2017-01-12T09:53:59Z")

</div>

HI

ES 2.4.0  
Logstash 5.5.1  
I want to send the documents from local machine to elasticsearch using logstash? My config file is

input {  
file {  
path =\> "C:\Users\571952\Desktop\logstash-5.1.1\logstash"  
start\_position =\> "beginning"  
codec =\> json\_lines

}  
}  
output {  
elasticsearch {  
hosts =\> "[http://localhost:9200/](http://localhost:9200/)"  
index =\> "rearticles"  
codec =\> json\_lines

}  
stdout { codec =\> rubydebug }  
}

The error :  
Eventhough i given the path it is showing as null

[2017-01-12T15:05:06,181][INFO][logstash.outputs.elasticsearch] Elasticsearch pool URLs  
updated {:changes=\>{:removed=\>[], :added=\>["[http://localhost:9200/](http://localhost:9200/)"]}}  
[2017-01-12T15:05:06,181][INFO][logstash.outputs.elasticsearch] Running health check to  
see if an Elasticsearch connection is working {:url=\>#\<URI::HTTP:0x15c34c7 URL:[http://loc](http://loc)  
alhost:9200/\>, :healthcheck\_path=\>"/"}  
[2017-01-12T15:05:06,290][WARN][logstash.outputs.elasticsearch] Restored connection to E  
S instance {:url=\>#\<URI::HTTP:0x15c34c7 URL:[http://localhost:9200/](http://localhost:9200/)\>}  
[2017-01-12T15:05:06,290][INFO][logstash.outputs.elasticsearch] Using mapping template f  
rom {:path=\>nil}  
[2017-01-12T15:05:06,337][INFO][logstash.outputs.elasticsearch] Attempting to install te  
mplate {:manage\_template=\>{"template"=\>"logstash-_", "settings"=\>{"index.refresh\_interval  
"=\>"5s"}, "mappings"=\>{"default"=\>{"\_all"=\>{"enabled"=\>true, "omit\_norms"=\>true}, "dyna  
mic\_templates"=\>[{"message\_field"=\>{"path\_match"=\>"message", "match\_mapping\_type"=\>"strin  
g", "mapping"=\>{"type"=\>"string", "index"=\>"analyzed", "omit\_norms"=\>true, "fielddata"=\>{  
"format"=\>"disabled"}}}}, {"string\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"string"  
, "mapping"=\>{"type"=\>"string", "index"=\>"analyzed", "omit\_norms"=\>true, "fielddata"=\>{"f  
ormat"=\>"disabled"}, "fields"=\>{"raw"=\>{"type"=\>"string", "index"=\>"not\_analyzed", "doc\_v  
alues"=\>true, "ignore\_above"=\>256}}}}}, {"float\_fields"=\>{"match"=\>"_", "match\_mapping\_ty  
pe"=\>"float", "mapping"=\>{"type"=\>"float", "doc\_values"=\>true}}}, {"double\_fields"=\>{"mat  
ch"=\>"_", "match\_mapping\_type"=\>"double", "mapping"=\>{"type"=\>"double", "doc\_values"=\>tru  
e}}}, {"byte\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"byte", "mapping"=\>{"type"=\>"b  
yte", "doc\_values"=\>true}}}, {"short\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"short  
", "mapping"=\>{"type"=\>"short", "doc\_values"=\>true}}}, {"integer\_fields"=\>{"match"=\>"_",  
"match\_mapping\_type"=\>"integer", "mapping"=\>{"type"=\>"integer", "doc\_values"=\>true}}}, {"  
long\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"long", "mapping"=\>{"type"=\>"long", "d  
oc\_values"=\>true}}}, {"date\_fields"=\>{"match"=\>"_", "match\_mapping\_type"=\>"date", "mappin  
g"=\>{"type"=\>"date", "doc\_values"=\>true}}}, {"geo\_point\_fields"=\>{"match"=\>"_", "match\_ma  
pping\_type"=\>"geo\_point", "mapping"=\>{"type"=\>"geo\_point", "doc\_values"=\>true}}}], "prope  
rties"=\>{"@timestamp"=\>{"type"=\>"date", "doc\_values"=\>true}, "@version"=\>{"type"=\>"string  
", "index"=\>"not\_analyzed", "doc\_values"=\>true}, "geoip"=\>{"type"=\>"object", "dynamic"=\>t  
rue, "properties"=\>{"ip"=\>{"type"=\>"ip", "doc\_values"=\>true}, "location"=\>{"type"=\>"geo\_p  
oint", "doc\_values"=\>true}, "latitude"=\>{"type"=\>"float", "doc\_values"=\>true}, "longitude  
"=\>{"type"=\>"float", "doc\_values"=\>true}}}}}}}}  
[2017-01-12T15:05:06,353][INFO][logstash.outputs.elasticsearch] New Elasticsearch output  
{:class=\>"LogStash::Outputs::ElasticSearch", :hosts=\>["[http://localhost:9200/](http://localhost:9200/)"]}  
[2017-01-12T15:05:06,353][INFO][logstash.pipeline] Starting pipeline {"id"=\>"mai  
n", "pipeline.workers"=\>2, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>5, "pipeli  
ne.max\_inflight"=\>250}  
[2017-01-12T15:05:06,353][INFO][logstash.pipeline] Pipeline main started  
[2017-01-12T15:05:06,493][INFO][logstash.agent] Successfully started Logstash  
API endpoint {:port=\>9600}  
\_

---

<div class="post-metadata">

**Author:** ![jsvd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsvd/32/6203_2.png) [@jsvd](https://discuss.elastic.co/u/jsvd)\
**Post date:** [January 12, 2017, 10:58am UTC](https://discuss.elastic.co/t/my-logstash-remains-in-started-state-without-any-output/71351/2 "2017-01-12T10:58:37Z")

</div>

Please check if your User home directory contains a `.sincedb` file which tracks the position of each read file by logstash.

You can also check this sincedb usage by turning on `--log.level=debug`

---

<div class="post-metadata">

**Author:** ![Yaswanth](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@Yaswanth](https://discuss.elastic.co/u/Yaswanth)\
**Post date:** [January 12, 2017, 11:58am UTC](https://discuss.elastic.co/t/my-logstash-remains-in-started-state-without-any-output/71351/3 "2017-01-12T11:58:35Z")

</div>

yeah i had seen it it has contents like this:  
0 0 0

---

<div class="post-metadata">

**Author:** ![jsvd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsvd/32/6203_2.png) [@jsvd](https://discuss.elastic.co/u/jsvd)\
**Post date:** [January 12, 2017, 12:00pm UTC](https://discuss.elastic.co/t/my-logstash-remains-in-started-state-without-any-output/71351/4 "2017-01-12T12:00:44Z")

</div>

please try with --log.level=debug and attach the log file in a gist or something like that (please make sure private things are masked)

---

<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 9, 2017, 12:00pm UTC](https://discuss.elastic.co/t/my-logstash-remains-in-started-state-without-any-output/71351/5 "2017-02-09T12:00:54Z")

</div>

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