2020-06-25 14:11:57 -04:00
|
|
|
[role="xpack"]
|
|
|
|
[testenv="basic"]
|
|
|
|
|
|
|
|
[[delete-async-eql-search-api]]
|
|
|
|
=== Delete async EQL search API
|
|
|
|
++++
|
|
|
|
<titleabbrev>Delete async EQL search</titleabbrev>
|
|
|
|
++++
|
|
|
|
|
2020-07-13 09:04:15 -04:00
|
|
|
experimental::[]
|
2020-06-25 14:11:57 -04:00
|
|
|
|
|
|
|
Deletes an <<eql-search-async,async EQL search>> or a
|
|
|
|
<<eql-search-store-sync-eql-search,stored synchronous EQL search>>. The API also
|
|
|
|
deletes results for the search.
|
|
|
|
|
|
|
|
[source,console]
|
|
|
|
----
|
|
|
|
DELETE /_eql/search/FkpMRkJGS1gzVDRlM3g4ZzMyRGlLbkEaTXlJZHdNT09TU2VTZVBoNDM3cFZMUToxMDM=
|
|
|
|
----
|
|
|
|
// TEST[skip: no access to search ID]
|
|
|
|
|
|
|
|
[[delete-async-eql-search-api-request]]
|
|
|
|
==== {api-request-title}
|
|
|
|
|
|
|
|
`DELETE /_eql/search/<search_id>`
|
|
|
|
|
|
|
|
[[delete-async-eql-search-api-prereqs]]
|
|
|
|
==== {api-prereq-title}
|
|
|
|
|
2020-08-05 11:25:18 -04:00
|
|
|
See <<eql-required-fields>>.
|
2020-06-25 14:11:57 -04:00
|
|
|
|
|
|
|
[[delete-async-eql-search-api-limitations]]
|
|
|
|
===== Limitations
|
|
|
|
|
2020-08-05 11:25:18 -04:00
|
|
|
See <<eql-syntax-limitations,EQL limitations>>.
|
2020-06-25 14:11:57 -04:00
|
|
|
|
|
|
|
[[delete-async-eql-search-api-path-params]]
|
|
|
|
==== {api-path-parms-title}
|
|
|
|
|
|
|
|
`<search_id>`::
|
|
|
|
(Required, string)
|
|
|
|
Identifier for the search to delete.
|
|
|
|
+
|
|
|
|
A search ID is provided in the <<eql-search-api,EQL search API>>'s response for
|
|
|
|
an <<eql-search-async,async search>>. A search ID is also provided if the
|
|
|
|
request's <<eql-search-api-keep-on-completion,`keep_on_completion`>> parameter
|
|
|
|
is `true`.
|