# Logstash SIGTERM received

**URL:** <https://discuss.elastic.co/t/logstash-sigterm-received/35377>\
**Category:** Logstash\
**Created:** [November 24, 2015, 4:12am UTC](https://discuss.elastic.co/t/logstash-sigterm-received/35377 "2015-11-24T04:12:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marco](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Marco](https://discuss.elastic.co/u/Marco)\
**Post date:** [November 24, 2015, 4:12am UTC](https://discuss.elastic.co/t/logstash-sigterm-received/35377/1 "2015-11-24T04:12:54Z")

</div>

when I restart the logstash the logstash.log shows as below:  
{:timestamp=\>"2015-11-24T09:30:18.155000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T09:33:07.125000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T09:41:35.488000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T09:50:26.245000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T10:01:32.011000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T10:07:33.039000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T10:10:27.160000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T10:25:35.081000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T11:05:12.113000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T11:08:55.082000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T11:26:38.940000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T11:28:57.167000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T11:52:25.516000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T11:56:09.519000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2015-11-24T12:09:03.295000+0800", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}

anyone can help me? what should I do to fix it?

---

<div class="post-metadata">

**Author:** ![Marco](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Marco](https://discuss.elastic.co/u/Marco)\
**Post date:** [November 24, 2015, 4:15am UTC](https://discuss.elastic.co/t/logstash-sigterm-received/35377/2 "2015-11-24T04:15:06Z")

</div>

My logstash version is 2.0.0 thanks

---

<div class="post-metadata">

**Author:** ![Jeremy\_Colton](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@Jeremy\_Colton](https://discuss.elastic.co/u/Jeremy_Colton)\
**Post date:** [April 7, 2016, 3:33pm UTC](https://discuss.elastic.co/t/logstash-sigterm-received/35377/3 "2016-04-07T15:33:46Z")

</div>

Hi,

I see this too. Did you solve it?

---

<div class="post-metadata">

**Author:** ![smitjainsj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smitjainsj/32/7655_2.png) [@smitjainsj](https://discuss.elastic.co/u/smitjainsj)\
**Post date:** [May 30, 2016, 7:23pm UTC](https://discuss.elastic.co/t/logstash-sigterm-received/35377/4 "2016-05-30T19:23:48Z")

</div>

It did not worked for me when I removed the " codec " from input.

So, I added the codec =\> json in input and it started working and I got logs in the logstash.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:** [July 6, 2017, 4:55am UTC](https://discuss.elastic.co/t/logstash-sigterm-received/35377/5 "2017-07-06T04:55:28Z")

</div>


