younifyd
Menu

Get EQL search results (GET)

Get EQL search results

GET/{index}/_eql/search

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Get EQL search results (GET) action (under eql).
  3. Fill in the fields below, then reference the result from later steps as {{getEqlSearchResultsGet.response.data}}.

Request

Path parameters

indexoneOfrequired

Comma-separated list of index names to scope the operation

Query parameters

allow_no_indicesboolean

A setting that does two separate checks on the index expression. If `false`, the request returns an error (1) if any wildcard expression (including `_all` and `*`) resolves to zero matching indices or (2) if the complete set of resolved indices, aliases or data streams is empty after all expressions are evaluated. If `true`, index expressions that resolve to no indices are allowed and the request returns an empty result.

allow_partial_search_resultsboolean

If true, returns partial results if there are shard failures. If false, returns an error with no partial results.

allow_partial_sequence_resultsboolean

If true, sequence queries will return partial results in case of shard failures. If false, they will return no results at all. This flag has effect only if allow_partial_search_results is true.

expand_wildcardsoneOf

Whether to expand wildcard expression to concrete indices that are open, closed or both.

ccs_minimize_roundtripsboolean

Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution

ignore_unavailableboolean

If `false`, the request returns an error if it targets a concrete (non-wildcarded) index, alias, or data stream that is missing, closed, or otherwise unavailable. If `true`, unavailable concrete targets are silently ignored.

keep_aliveoneOf

Period for which the search and its results are stored on the cluster.

keep_on_completionboolean

If true, the search and its results are stored on the cluster.

wait_for_completion_timeoutoneOf

Timeout duration to wait for the request to finish. Defaults to no timeout, meaning the request waits for complete search results.

Response

Returns 200 with an object. Read it in later steps with {{getEqlSearchResultsGet.response.data.<field>}}.

idany

Identifier for the search.

is_partialboolean

If true, the response does not contain complete search results.

is_runningboolean

If true, the search request is still executing.

tookany

Milliseconds it took Elasticsearch to execute the request.

timed_outboolean

If true, the request timed out before completion.

hitsany

Contains matching events and sequences. Also contains related metadata.

shard_failuresarray<object>

Contains information about shard failures (if any), in case allow_partial_search_results=true

json
{
  "hits": null,
  "id": null,
  "is_partial": false,
  "is_running": false,
  "took": null,
  "timed_out": false,
  "shard_failures": [
    {}
  ]
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Get EQL search results (GET) — Elasticsearch — Documentation