# This is the error getting when i tried to test my logstash config in server

**URL:** <https://discuss.elastic.co/t/this-is-the-error-getting-when-i-tried-to-test-my-logstash-config-in-server/79981>\
**Category:** Logstash\
**Created:** [March 25, 2017, 7:25am UTC](https://discuss.elastic.co/t/this-is-the-error-getting-when-i-tried-to-test-my-logstash-config-in-server/79981 "2017-03-25T07:25:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonesthomas](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@Jonesthomas](https://discuss.elastic.co/u/Jonesthomas)\
**Post date:** [March 25, 2017, 7:25am UTC](https://discuss.elastic.co/t/this-is-the-error-getting-when-i-tried-to-test-my-logstash-config-in-server/79981/1 "2017-03-25T07:25:15Z")

</div>

root@logserver:~# tail -f /var/log/logstash/logstash.log  
{:timestamp=\>"2017-03-24T06:57:54.132000-0400", :message=\>"SIGTERM received. Shutting down the pipeline.", :level=\>:warn}  
{:timestamp=\>"2017-03-24T06:58:33.872000-0400", :message=\>"Error: Expected one of #, if, ", ', } at line 49, column 2 (byte 1331) after filter\n{\n ", :level=\>:error}  
{:timestamp=\>"2017-03-25T01:41:24.836000-0400", :message=\>"Error: Expected one of #, if, ", ', } at line 49, column 2 (byte 1331) after filter\n{\n ", :level=\>:error}  
{:timestamp=\>"2017-03-25T02:10:05.535000-0400", :message=\>"Error: Expected one of #, if, ", ', } at line 49, column 2 (byte 1331) after filter\n{\n ", :level=\>:error}  
{:timestamp=\>"2017-03-25T02:10:31.130000-0400", :message=\>"Error: Expected one of #, if, ", ', } at line 49, column 2 (byte 1331) after filter\n{\n ", :level=\>:error}  
{:timestamp=\>"2017-03-25T02:26:32.499000-0400", :message=\>"Error: Expected one of #, if, ", ', } at line 49, column 2 (byte 1331) after filter\n{\n ", :level=\>:error}  
{:timestamp=\>"2017-03-25T03:06:19.081000-0400", :message=\>"Error: Expected one of #, if, ", ', } at line 49, column 2 (byte 1331) after filter\n{\n ", :level=\>:error}  
{:timestamp=\>"2017-03-25T03:07:11.035000-0400", :message=\>"Error: Expected one of #, if, ", ', } at line 49, column 2 (byte 1331) after filter\n{\n ", :level=\>:error}

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 25, 2017, 8:39am UTC](https://discuss.elastic.co/t/this-is-the-error-getting-when-i-tried-to-test-my-logstash-config-in-server/79981/2 "2017-03-25T08:39:47Z")

</div>

You probably need to show your configuration for anyone to be able to help with this.

---

<div class="post-metadata">

**Author:** ![prodrg](https://avatars.discourse-cdn.com/v4/letter/p/3bc359/32.png) [@prodrg](https://discuss.elastic.co/u/prodrg)\
**Post date:** [March 27, 2017, 2:57pm UTC](https://discuss.elastic.co/t/this-is-the-error-getting-when-i-tried-to-test-my-logstash-config-in-server/79981/3 "2017-03-27T14:57:51Z")

</div>

Can you please post your config file? The error is in line 49.

---

<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:** [April 24, 2017, 2:58pm UTC](https://discuss.elastic.co/t/this-is-the-error-getting-when-i-tried-to-test-my-logstash-config-in-server/79981/4 "2017-04-24T14:58:20Z")

</div>

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