5. Monitoring, Logging and Statistics

elasticSearchExchangeStore

Version

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.

Attributes

NameRequiredDefaultDescriptionExamples
bodyExceedingMaxSizeStrategyfalseTRUNCATEThe strategy to use (TRUNCATE or ERROR) when a HTTP message body is larger than the maxBodySize.-
clientfalse---
documentPrefixfalseset to hostname as defaultused for issuer field. Can be used to check which membrane instance is writing current exchange-
indexfalsemembraneindex name to use for Elasticsearch-
locationfalsehttp://localhost:9200base URL of Elasticsearch-
maxBodySizefalse100000--
updateIntervalMsfalse---

Can be used in