merge_to_bulk

merge_to_bulk #

CategoryScope
Elasticsearchpipeline

Configuration #

FieldTypeDefaultDescription
message_fieldparam.ParaKey“messages”Context key holding the message batch.
bulk_size_in_kbintMaximum bulk request size in kilobytes.
bulk_size_in_mbint10Maximum bulk request size in megabytes.
elasticsearchstringID of the registered Elasticsearch/Easysearch cluster.
index_namestringDestination index name; supports templating.
type_namestringElasticsearch mapping type of the documents.
namestringIdentifier of the resource this processor binds to.
labelmapStatic labels attached to the documents handled by this processor.

Example #

processor:
  - merge_to_bulk:
      message_field: "message_field"
      bulk_size_in_kb: 10
      bulk_size_in_mb: 10
      elasticsearch: "default"
      index_name: "index_name"
Edit Edit this page