How to change "message" value in index

Use dissect and then a json filter. There is an example here.