5. Monitoring, Logging and Statistics

elasticSearchExchangeStore

Used for storing exchanges in the Elasticsearch.

Explanation:

Elasticsearch 7 is required. Exchanges can be viewed in admin console and using standard Elasticsearch tools. Before writing, this class will check if index exists in current Elasticsearch instance. If index does not exist, it will create index and set up mapping for data types. If the existing index already have mapping this step will be skipped in order to not to overwrite existing mapping.

Can be used in:

bean


Attributes

NameRequiredDefaultDescriptionExample
documentPrefix false set to hostname as default
used for issuer field. Can be used to check which membrane instance is writing current exchange -
bodyExceedingMaxSizeStrategy false TRUNCATE
The strategy to use (TRUNCATE or ERROR) when a HTTP message body is larger than the <tt>maxBodySize</tt>. -
updateIntervalMs false - - -
client false - - -
index false membrane
index name to use for Elasticsearch -
maxBodySize false 100000
- -
location false http://localhost:9200
base URL of Elasticsearch -