Logstash bytes plugin behaving weirdly


I am trying to use the "Bytes" plugin (Bytes filter plugin | Logstash Reference [8.0] | Elastic) to transform fields in the form "1 GB" to their bytes value.

I use the following syntax :

      bytes {
        source => "my_bytes_string_field"
        target => "my_bytes_numeric_field"

The result (target) value is exact but I get a concatenated field in the form "1GB, 1073741824".
This is NOT what I expect as a target value.
What I expect is the raw value alone : "1073741824"

What am I doing wrong ?
Kind regards,

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