Portal Community

When to Use

Configuration

Connection

FieldRequiredDescription
HostRequiredElasticsearch cluster URL, e.g. https://localhost:9200.
UsernameOptionalElasticsearch username (required if security is enabled).
PasswordOptionalPassword for the specified username.
IgnoreSSLOptionalDefault false. Skip TLS validation. Development use only.

Operation

FieldRequiredDescription
IndexNameRequiredThe name of the index to retrieve. Must be an exact match — wildcards are not supported.

Validation Errors

Error CodeCause
VAL_MISSING_INDEX_NAMEIndexName is empty.

Output

Success Port

Returns the Elasticsearch index details object. The response mirrors the structure returned by the Elasticsearch Get Index API:

FieldTypeDescription
mappingsobjectAll field mappings for the index — field names, types, and analyzer configuration.
settingsobjectIndex settings including shard count, replica count, refresh interval, and custom analysis configuration.
aliasesobjectAll aliases pointing to this index. Empty object if no aliases are configured.
statsobjectIndex statistics including docs.count (total documents), docs.deleted, and store.size_in_bytes.

Error Port

Fires when the index does not exist (404), authentication fails, or a network error occurs. Use the error port as the "index does not exist" branch in existence-check patterns.

Access the document count downstream with {{ $output.checkIndex.stats.docs.count }}. Access a specific field type with {{ $output.checkIndex.mappings.properties.fieldName.type }}.

Examples

Existence Check — Provision if Missing

{
  "resource": "index",
  "operation": "get",
  "IndexName": "products"
}

Connect the success port to a "skip creation" branch. Connect the error port to an index/create node to create the index on first run. This pattern makes provisioning workflows idempotent.

Capacity Report

{
  "resource": "index",
  "operation": "get",
  "IndexName": "{{ $json.indexName }}"
}

After this node succeeds, use {{ $output.getIndex.stats.docs.count }} and {{ $output.getIndex.stats.store.size_in_bytes }} to build a capacity alert or dashboard payload.

Mapping Verification Before Bulk Insert

{
  "resource": "index",
  "operation": "get",
  "IndexName": "orders"
}

Downstream, use an if node to check: {{ $output.checkOrders.mappings.properties.customerId.type === 'keyword' }}. If the type is wrong, route to an error notification instead of proceeding with the bulk insert.