younifyd
Menu

Get async EQL search results

Get async EQL search results

GET/_eql/search/{id}

Use it in a workflow

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

Request

Path parameters

idstringrequired

Identifier for the search.

Query parameters

keep_aliveoneOf

Period for which the search and its results are stored on the cluster. Defaults to the keep_alive value set by the search’s EQL search API request.

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 {{getAsyncEqlSearchResults.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 async EQL search results — Elasticsearch — Documentation