# Logstash.agent successfully started logstash enpoint port 9600

**URL:** <https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542>\
**Category:** Logstash\
**Created:** [January 2, 2020, 9:26am UTC](https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542 "2020-01-02T09:26:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yasso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yasso/32/60173_2.png) [@Yasso](https://discuss.elastic.co/u/Yasso)\
**Post date:** [January 2, 2020, 9:26am UTC](https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542/1 "2020-01-02T09:26:26Z")

</div>

hello guys  
i'm facing a problem .. logstrash can not load data to elasticsearch  
i'm using my own config file ..and it seems ok for me ..when i run it ..it shows no error but the end point is port 9600 instead of 9200  
here is my config file :  
input {  
file {  
path =\> "C:/filec/new2.log"  
start\_position =\> beginning  
ignore\_older =\> 0  
sincedb\_path =\> "NIL" #easier to remove from the current directory, the file will be NIL.sincedb  
type =\> "logs"

```
}

```

}  
filter {  
grok{  
match=\>{"message"=\>"%{IP:client}%{SPACE}%{GREEDYDATA:rest}"}  
}  
}  
output {  
elasticsearch{  
hosts=\>["localhost:9200"]  
index=\>"apachindex2-%{+YYYY.MM.dd}"  
}  
stdout { codec =\> rubydebug }  
}

and here the result after i run it :

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/b/b/bb90765ff19c6131b10bfe9d3e44846de4dfc535.png)

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 2, 2020, 1:59pm UTC](https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542/2 "2020-01-02T13:59:15Z")

</div>

> [@Yasso](#):
>
> ignore\_older =\> 0

This says to ignore any files that were created zero or more seconds ago, which is all files. Remove it.

---

<div class="post-metadata">

**Author:** ![Yasso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yasso/32/60173_2.png) [@Yasso](https://discuss.elastic.co/u/Yasso)\
**Post date:** [January 2, 2020, 2:42pm UTC](https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542/3 "2020-01-02T14:42:42Z")

</div>

thank you for replying..  
i did removed it but it still show the same thing

---

<div class="post-metadata">

**Author:** ![irobot678](https://avatars.discourse-cdn.com/v4/letter/i/54ee81/32.png) [@irobot678](https://discuss.elastic.co/u/irobot678)\
**Post date:** [January 2, 2020, 2:55pm UTC](https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542/4 "2020-01-02T14:55:50Z")

</div>

@Yasso

Whats is the version of Elastic stack you are using ?  
Because the type is deprecated in new versions of stack

just go with the following code in the input section of logstash and give it a try

.......  
file {  
path =\> "C:/filec/new2.log"  
start\_position =\> beginning  
}  
........

---

<div class="post-metadata">

**Author:** ![mancharagopan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mancharagopan/32/60266_2.png) [@mancharagopan](https://discuss.elastic.co/u/mancharagopan)\
**Post date:** [January 2, 2020, 2:59pm UTC](https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542/5 "2020-01-02T14:59:36Z")

</div>

i don't understand the problem. logstash usually start on port 9600.

---

<div class="post-metadata">

**Author:** ![irobot678](https://avatars.discourse-cdn.com/v4/letter/i/54ee81/32.png) [@irobot678](https://discuss.elastic.co/u/irobot678)\
**Post date:** [January 2, 2020, 3:07pm UTC](https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542/6 "2020-01-02T15:07:56Z")

</div>

@mancharagopan  
that's fine which means the logstash is working (up and running).

1)Some times it gets struck their  
then open the file and add/delete some lines and save the file

These can help because the logstash is up and it is waiting for active file.

if the above didn't work try the below one.

2)Check file has read and write permissions if not make sure it has

if you are linux user  
chmod 777

Hope this solves your issue.

---

<div class="post-metadata">

**Author:** ![Yasso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yasso/32/60173_2.png) [@Yasso](https://discuss.elastic.co/u/Yasso)\
**Post date:** [January 2, 2020, 3:33pm UTC](https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542/7 "2020-01-02T15:33:30Z")

</div>

thank you so much Vamsi\_Vutukuri  
an add/delete was the solution 🙂

---

<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:** [January 30, 2020, 3:33pm UTC](https://discuss.elastic.co/t/logstash-agent-successfully-started-logstash-enpoint-port-9600/213542/8 "2020-01-30T15:33:39Z")

</div>

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