@@ -36,7 +36,7 @@ The **es** output plugin, allows to ingest your records into an [Elasticsearch](
3636| Tag\_ Key | When Include\_ Tag\_ Key is enabled, this property defines the key name for the tag. | \_ flb-key |
3737| Generate\_ ID | When enabled, generate ` _id ` for outgoing records. This prevents duplicate records when retrying ES. | Off |
3838| Id\_ Key | If set, ` _id ` will be the value of the key from incoming record and ` Generate_ID ` option is ignored. | |
39- | Write\_ Operation | The write\_ operation can be any of: index (default), create , update, upsert. | index |
39+ | Write\_ Operation | The write\_ operation can be any of: create (default), index , update, upsert. | create |
4040| Replace\_ Dots | When enabled, replace field name dots with underscore, required by Elasticsearch 2.0-2.3. | Off |
4141| Trace\_ Output | When enabled print the elasticsearch API calls to stdout \( for diag only\) | Off |
4242| Trace\_ Error | When enabled print the elasticsearch API calls to stdout when elasticsearch returns an error \( for diag only\) | Off |
@@ -56,12 +56,12 @@ The write\_operation can be any of:
5656
5757| Operation | Description |
5858| ------------- | ----------- |
59- | index (default) | new data is added while existing data (based on its id) is replaced (reindexed) .|
60- | create | adds new data - if the data already exists (based on its id), the op is skipped .|
61- | update | updates existing data (based on its id). If no data is found, the op is skipped.|
62- | upsert | known as merge or insert if the data does not exist, updates if the data exists (based on its id).|
59+ | create (default) | adds new data - if the data already exists (based on its id), the op is skipped .|
60+ | index | new data is added while existing data (based on its id) is replaced (reindexed) .|
61+ | update | updates existing data (based on its id). If no data is found, the op is skipped.|
62+ | upsert | known as merge or insert if the data does not exist, updates if the data exists (based on its id).|
6363
64- ** Please note, id is required in create, update, and upsert scenario. Without id, the message will be dropped .**
64+ ** Please note, ` Id_Key ` or ` Generate_ID ` is required in update, and upsert scenario.**
6565
6666## Getting Started
6767
0 commit comments