Revision as of 17:47, May 31, 2017 by Bonniem (talk | contribs) (Interaction Interface Action Elements)
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.

Interaction Interface Action Elements

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

<createindextemplate> Action

  • 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-*”, etc.), 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, 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> Action

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

[+] createdoc


<updatedoc> Action

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

[+] updatedoc


<deletedoc> Action

[+] deletedoc


Events

The following Events are supported:

[+] Events


Comments or questions about this documentation? Contact us for support!