Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Elasticsearch provider reads resources from several indices from an Elasticsearch instance.

Configuration

Code Block
languagejs
titleSample Configuration
 {
     "name": "saga-provider",
     "type": "Elastic",
     "scheme": "http",
     "hostname": "localhost",
     "port": 9200,
     "timestamp": "updatedAt",
     "exclude": [
       "updatedAt",
       "createdAt"
     ]
 }

Parameters

  • name (required, string) - The name of the provider, used in the pipeline configuration when required by stages.
  • type (required, string) - The provider type. See Resources for more information
  • scheme (required, string) - Scheme used by Elastisearch server.
  • hostname (required, string) - name of the Elasticsearch host
  • port (required, integer) - Elasticsearch port
  • timestamp (optional, string) - indices field used as timestamp
  • exclude (optional, string array) - indices fields to exclude when fetching data

...