Filebeat unble set filed name with error

Hi experts,

I trying to change fields value. But it not working. Any idea?
OLD VALUE

fields:
  pattern: my_error
``

NEW VALUE

fields:
pattern: error
``