# Annoying - filter ruby code multiplication doesnt work

**URL:** https://discuss.elastic.co/t/annoying-filter-ruby-code-multiplication-doesnt-work/52187
**Category:** Logstash
**Created:** [June 8, 2016, 9:45am UTC](https://discuss.elastic.co/t/annoying-filter-ruby-code-multiplication-doesnt-work/52187 "2016-06-08T09:45:29Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Mick\_Mahoney](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@Mick\_Mahoney](https://discuss.elastic.co/u/Mick_Mahoney)
#### Post date: [June 9, 2016, 9:37am UTC](https://discuss.elastic.co/t/annoying-filter-ruby-code-multiplication-doesnt-work/52187/5 "2016-06-09T09:37:34Z")

</div>

Have re-raised this as per below link as I understand the issue more now

> [@Issue changing value of JSON field in logstash](https://discuss.elastic.co/t/issue-changing-value-of-json-field-in-logstash/52309):
>
> Hi, I'm trying to change a value in logstash of JSON which has been generated by Topbeat Below are the input file name, the logstash filter, and the error that I am getting Can anyone spot why I'm getting the error please ? Very Much appreciated, Mick JSON input file { "\_index": "logstashsystem-2016.06.08", "\_type": "system", "\_id": "AVUxwZ29nE6fvOfjobS-", "\_score": null, "\_source": { "@timestamp": "2016-06-08T20:43:39.209Z", "beat": { "hostname": "serverName", "name": "serverName…

---

_[View the full topic](https://discuss.elastic.co/t/annoying-filter-ruby-code-multiplication-doesnt-work/52187)._
