Jump to: navigation, search

Elasticsearch Connector

Starting with 8.1.400.58, ORS enhances its Elasticsearch real-time reporting capabilities. Enhancments include a new Orchestration SCXML extension, elasticconnector. The purpose of elasticconnector SCXML extension is to:

  • Remove management of connectivity to Elasticsearch cluster from the SCXML strategy.
  • Provide simplified access to Elasticsearch APIs.

elasticconnector Action Elements

ORS supports the following new Action elements that can be used with Composer's SCXML State block:

<createindextemplate>

  • Execution of this Action results in a request to Elasticsearch only if the current ORS did not execute such action with the same template name and the same or higher order.
  • If the pattern in the “index” attribute matches the “performance” daily index (like “perf*”, “performance-*”, and so on), the Action will fail with the appropriate error and error description.
  • If the pattern in the “index” attribute matches the “session” daily index and “order” is defined as 0, the Action will fail with the appropriate error and error description. As a general rule – the template always has order=0 and only one template is created per “session” and “performance” indexes; custom templates always have to have order>0.

[+] createindextemplate



<createdoc>

Execution of this Action results in an add document request from ORS to Elasticsearch (via the index API).

[+] createdoc



The settings attribute has been introduced in version 8.1.400.64. For more information, see ORS Options for Elasticsearch 5.3, Index Settings for Custom Indexes section.

<updatedoc>

Execution of this Action results in an update document request from ORS to Elasticsearch (via update API).

[+] updatedoc



The settings attribute has been introduced in version 8.1.400.64. For more information, see ORS Options for Elasticsearch 5.3, Index Settings for Custom Indexes section.

<deletedoc>

Execution of this Action results in a delete document request from ORS to Elasticsearch (via delete API).

[+] deletedoc


Events

The following Events are supported:

[+] Events


This page was last edited on September 8, 2017, at 11:09.
Comments or questions about this documentation? Contact us for support!