# Pipeline starts but data does not ingest logs from json files

**URL:** <https://discuss.elastic.co/t/pipeline-starts-but-data-does-not-ingest-logs-from-json-files/102254>\
**Category:** Logstash\
**Created:** [September 29, 2017, 11:49am UTC](https://discuss.elastic.co/t/pipeline-starts-but-data-does-not-ingest-logs-from-json-files/102254 "2017-09-29T11:49:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samireddy\_Keerthi](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@Samireddy\_Keerthi](https://discuss.elastic.co/u/Samireddy_Keerthi)\
**Post date:** [September 29, 2017, 11:49am UTC](https://discuss.elastic.co/t/pipeline-starts-but-data-does-not-ingest-logs-from-json-files/102254/1 "2017-09-29T11:49:10Z")

</div>

Below is my logstash.conf

input {  
file {  
path =\> "C:/logs/msglogin/\*.json"  
start\_position =\> "beginning"  
sincedb\_path =\> "null"  
codec=\>"json"  
}  
}  
filter {  
json {  
source =\> "message"  
}  
}  
output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
codec =\> "json"  
}  
stdout {  
codec =\> rubydebug  
}  
}

JSON data :  
{"\_index": "customer", "\_type": "product", "\_id": 1}

---

<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:** [October 2, 2017, 5:26am UTC](https://discuss.elastic.co/t/pipeline-starts-but-data-does-not-ingest-logs-from-json-files/102254/2 "2017-10-02T05:26:33Z")

</div>

> sincedb\_path =\> "null"

"null" never makes sense here. On Windows use "nul". On non-Windows use "/dev/null".

---

<div class="post-metadata">

**Author:** ![Samireddy\_Keerthi](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@Samireddy\_Keerthi](https://discuss.elastic.co/u/Samireddy_Keerthi)\
**Post date:** [October 5, 2017, 7:24am UTC](https://discuss.elastic.co/t/pipeline-starts-but-data-does-not-ingest-logs-from-json-files/102254/3 "2017-10-05T07:24:34Z")

</div>

Tried with "nul" but still the same issue

---

<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:** [November 2, 2017, 7:25am UTC](https://discuss.elastic.co/t/pipeline-starts-but-data-does-not-ingest-logs-from-json-files/102254/4 "2017-11-02T07:25:29Z")

</div>

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