# Filter ruby exception occurred with no message

**URL:** <https://discuss.elastic.co/t/filter-ruby-exception-occurred-with-no-message/238051>\
**Category:** Logstash\
**Created:** [June 22, 2020, 9:24am UTC](https://discuss.elastic.co/t/filter-ruby-exception-occurred-with-no-message/238051 "2020-06-22T09:24:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam\_rui](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam_rui/32/70795_2.png) [@sam\_rui](https://discuss.elastic.co/u/sam_rui)\
**Post date:** [June 22, 2020, 9:24am UTC](https://discuss.elastic.co/t/filter-ruby-exception-occurred-with-no-message/238051/1 "2020-06-22T09:24:35Z")

</div>

I encountered same issue with [Ruby exception with no message](https://discuss.elastic.co/t/ruby-exception-with-no-message/198887).

following is logstash log info.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/2/e266d050ce36a76e99350a924eea51d7f6e63c03.png)

following is configuration info.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/c/1cedf0c03c2bd3eecc86f1b23b676799b8e7750c.png)

When I get output, the "index\_postfix" can not be parsed as a variable.  
following is output event es\_index field:  
"es\_index":"tmcas\_statistics\_%{index\_postfix}"

This problem is happened after I restart logstash, but sometimes it works, sometimes it returns ruby exception.

logstash version is 6.2.3.  
Anyone can help ? Many thanks!

---

<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 20, 2020, 9:24am UTC](https://discuss.elastic.co/t/filter-ruby-exception-occurred-with-no-message/238051/2 "2020-07-20T09:24:35Z")

</div>

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