I see here the correct way to upload a new scripted field to an index pattern in Kibana.
If I want to update a scripted field, can I append to the index pattern
attributes.field? Will this overwrite the current scripted field with the same name or do I need to parse through the JSON array, pull out the field I care about, update the
script section of the field, reserialize and post to the update API?