Remove a field that starts with an integer

I got it to work by using ruby filter

   ruby {
    code => "
    event.to_hash.keys.each { |k|
    if k.start_with?('1.')
      event.remove(k)
    end
    }
   "
   }