# Logstash installed successfully and also service started but read and write functionality is not working

**URL:** <https://discuss.elastic.co/t/logstash-installed-successfully-and-also-service-started-but-read-and-write-functionality-is-not-working/120462>\
**Category:** Logstash\
**Created:** [February 19, 2018, 1:25pm UTC](https://discuss.elastic.co/t/logstash-installed-successfully-and-also-service-started-but-read-and-write-functionality-is-not-working/120462 "2018-02-19T13:25:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajkumar\_idsil](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@Rajkumar\_idsil](https://discuss.elastic.co/u/Rajkumar_idsil)\
**Post date:** [February 19, 2018, 1:25pm UTC](https://discuss.elastic.co/t/logstash-installed-successfully-and-also-service-started-but-read-and-write-functionality-is-not-working/120462/1 "2018-02-19T13:25:13Z")

</div>

Hi,  
I am using window 7,  
step 1. i have installed elasticsearch-6.2.1 in my system and tested using default port localhost:9200 and it is working perfectly  
step 2 . after that i have installed logstash-6.2.1 using nssm and it install sucessfully.

```
created logstash.conf under /bin folder and setup path under it for read and write file like below:

```

logstash.conf  
input{  
file{  
path =\> "G:\Rajkumar\ELK\Logstash-input.log"  
start\_position =\> "beginning"  
}  
}  
output{  
file{  
path =\> "G:\Rajkumar\ELK\Logstash-output.log"  
}

}  
but logstash not overwriting Logstash-output.log  
so kindly help me if logstash service is started sucessfully then why it's not writing any data into Logstash-output.log from Logstash-input.log

---

<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:** [March 19, 2018, 1:25pm UTC](https://discuss.elastic.co/t/logstash-installed-successfully-and-also-service-started-but-read-and-write-functionality-is-not-working/120462/2 "2018-03-19T13:25:37Z")

</div>

Closed on March 19, 2018, 1:25pm UTC

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