How to add default attribute with value in ES

Hi Team,

 I want to add default attribute with default value while adding any document to the index. For example: Suppose we have index abc and we are adding 10 attribute then there is one default attribute we want to add by ES.

Default attribute: hold_column
Default value: False

 Is this possible. Thank you for your time.

Regards!
Deepak Bhatt

You can use an ingest pipeline to add a field to your document,
See https://www.elastic.co/guide/en/elasticsearch/reference/7.4/set-processor.html