title: Avoid scientific notation in JSON output when converting field to float
body: <p>Running the following configuration in Logstash 2.3.4</p>
  
  <pre><code>input {
      generator {
          codec =&gt; json
          lines =&gt; [
              '{"value": "0.0007674"}'
              ]
          count =&gt; 1
      }
  }
  
  filter {
    mutate {
      convert =&gt; ["value", "float"]
    }
  }
  
  output {
      stdout { codec =&gt; json_lines }
      stdout { codec =&gt; json }
  }
  </code></pre>
  
  <p>leads to the following output:</p>
  
  <pre><code>{"value":7.674E-4,"@version":"1","@timestamp":"2016-11-02T15:33:54.741Z","host":"myHost","sequence":0}
  {"value":7.674E-4,"@version":"1","@timestamp":"2016-11-02T15:33:54.741Z","host":"myHost","sequence":0}
  </code></pre>
  
  <p>How can I prevent the conversion to scientific notation in the json output?</p>
  
  <p>I have found <a href="https://github.com/elastic/logstash/issues/1670" rel="nofollow noreferrer">this Logstash bug</a> with the corresponding fix and thought, that all outputs and codecs automatically profit from it, since it was put in the event class. But either I was wrong or I am missing something, so any hint is appreciated.</p>