Not to add 'host', 'path' field

The right configuration is :

mutate {
  remove_field => ["path", "host"]
}

And for information, if field path and/or host doesn't exist, there's no problem. The plugin will remove field if field exists, and just do nothing if field does not exist.