# Logstash started but not processing anything

**URL:** <https://discuss.elastic.co/t/logstash-started-but-not-processing-anything/75671>\
**Category:** Logstash\
**Created:** [February 20, 2017, 6:01am UTC](https://discuss.elastic.co/t/logstash-started-but-not-processing-anything/75671 "2017-02-20T06:01:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishnu\_Vijayan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vishnu_vijayan/32/15684_2.png) [@Vishnu\_Vijayan](https://discuss.elastic.co/u/Vishnu_Vijayan)\
**Post date:** [February 20, 2017, 6:01am UTC](https://discuss.elastic.co/t/logstash-started-but-not-processing-anything/75671/1 "2017-02-20T06:01:24Z")

</div>

I started Logstash(version 5.2) as service in ubuntu 14.04.When I check Logstash status, it is showing as running.But no messages are appended in Logstash log file(/var/log/logstash/logstash-plain.log saying that it is started, nor it processes events.When I uninstalled Logstash package and reinstalled the same, it worked initially then it shows the same behaviour .Could any one please help me on this.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 20, 2017, 6:02am UTC](https://discuss.elastic.co/t/logstash-started-but-not-processing-anything/75671/2 "2017-02-20T06:02:41Z")

</div>

Providing your config would be helpful 🙂

---

<div class="post-metadata">

**Author:** ![Vishnu\_Vijayan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vishnu_vijayan/32/15684_2.png) [@Vishnu\_Vijayan](https://discuss.elastic.co/u/Vishnu_Vijayan)\
**Post date:** [February 20, 2017, 6:18am UTC](https://discuss.elastic.co/t/logstash-started-but-not-processing-anything/75671/3 "2017-02-20T06:18:10Z")

</div>

In my 'logstash.yml' I have '/etc/logstash/conf.d' as value for path.config parameter and I have single configuration file in conf.d directory.I appended a '_' to make it '/etc/logstash/conf.d/_'.Still it is not working.I don't understand why it worked first time after reinstallation.

My configuration is :

input {  
udp {  
port =\> "2048"  
codec =\> multiline {  
pattern =\> "^["  
negate =\> true  
what =\> previous  
}  
}  
}  
filter {  
mutate {  
gsub =\> ["message","\n"," "]  
}  
grok {  
match =\> {"message"=\>"[\*\*]%{IP:host} %{WORD:name} %{WORD:place} %{NUMBER:pincode}"}  
}

}  
output {  
stdout {codec =\> json}  
}

---

<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:** [February 20, 2017, 6:45am UTC](https://discuss.elastic.co/t/logstash-started-but-not-processing-anything/75671/4 "2017-02-20T06:45:45Z")

</div>

You _really_ don't want to use the multiline codec with the udp input. Move the multiline processing closer to the source.

With your configuration, message #1 won't be processed until Logstash sees the beginning of message #2. This might be why you're not seeing anything.

---

<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 20, 2017, 6:45am UTC](https://discuss.elastic.co/t/logstash-started-but-not-processing-anything/75671/5 "2017-03-20T06:45:50Z")

</div>

Closed on March 20, 2017, 6:45am UTC

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