# Logstash stop running

**URL:** https://discuss.elastic.co/t/logstash-stop-running/109302
**Category:** Logstash
**Created:** [November 28, 2017, 2:56am UTC](https://discuss.elastic.co/t/logstash-stop-running/109302 "2017-11-28T02:56:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)
#### Post date: [November 28, 2017, 2:56am UTC](https://discuss.elastic.co/t/logstash-stop-running/109302/1 "2017-11-28T02:56:12Z")

</div>

this is my logstash config:

```
input{
tcp{
	port => 5510
	codec => json
	type =>"ntopng-*"
}
}
filter{
	if[type]=="ntopng-*"
	{
		if "" not in [IPV4_SRC_ADDR] and "" not in [IPV6_SRC_ADDR]
		{
			drop{}
		}
	}
}
output{
elasticsearch {
			
            codec => "json" 
            hosts => ["localhost:9200"]
			user =>elastic
			password =>SNOOPY255262

    }
if[type]=="ntopng-*"
{
	stdout{codec=> rubydebug}
}
}

```

Sometimes it would stop running, and after I key "enter" it would work regularly.  
How to solve it?

thank you in advance!

---

<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: [December 26, 2017, 2:56am UTC](https://discuss.elastic.co/t/logstash-stop-running/109302/2 "2017-12-26T02:56:21Z")

</div>

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