syntax.asciidoc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  1. [role="xpack"]
  2. [testenv="basic"]
  3. [[eql-syntax]]
  4. == EQL syntax reference
  5. ++++
  6. <titleabbrev>Syntax reference</titleabbrev>
  7. ++++
  8. beta::[]
  9. [discrete]
  10. [[eql-basic-syntax]]
  11. === Basic syntax
  12. EQL queries require an event category and a matching condition. The `where`
  13. keyword connects them.
  14. [source,eql]
  15. ----
  16. event_category where condition
  17. ----
  18. For example, the following EQL query matches `process` events with a
  19. `process.name` field value of `svchost.exe`:
  20. [source,eql]
  21. ----
  22. process where process.name == "svchost.exe"
  23. ----
  24. [discrete]
  25. [[eql-syntax-event-categories]]
  26. === Event categories
  27. An event category is a valid, indexed value of the
  28. <<eql-required-fields,event category field>>. You can set the event category
  29. field using the `event_category_field` parameter of the EQL search API.
  30. [discrete]
  31. [[eql-syntax-match-any-event-category]]
  32. ==== Match any event category
  33. To match events of any category, use the `any` keyword. You can also use the
  34. `any` keyword to search for documents without a event category field.
  35. For example, the following EQL query matches any documents with a
  36. `network.protocol` field value of `http`:
  37. [source,eql]
  38. ----
  39. any where network.protocol == "http"
  40. ----
  41. [discrete]
  42. [[eql-syntax-escape-an-event-category]]
  43. ==== Escape an event category
  44. Use enclosing double quotes (`"`) or three enclosing double quotes (`"""`) to
  45. escape event categories that:
  46. * Contain a special character, such as a hyphen (`-`) or dot (`.`)
  47. * Contain a space
  48. * Start with a numeral
  49. [source,eql]
  50. ----
  51. ".my.event.category"
  52. "my-event-category"
  53. "my event category"
  54. "6eventcategory"
  55. """.my.event.category"""
  56. """my-event-category"""
  57. """my event category"""
  58. """6eventcategory"""
  59. ----
  60. [discrete]
  61. [[eql-syntax-escape-a-field-name]]
  62. ==== Escape a field name
  63. Use enclosing enclosing backticks (+++`+++) to escape field names that:
  64. * Contain a hyphen (`-`)
  65. * Contain a space
  66. * Start with a numeral
  67. [source,eql]
  68. ----
  69. `my-field`
  70. `my field`
  71. `6myfield`
  72. ----
  73. Use double backticks (+++``+++) to escape any backticks (+++`+++) in the field
  74. name.
  75. [source,eql]
  76. ----
  77. my`field -> `my``field`
  78. ----
  79. [discrete]
  80. [[eql-syntax-conditions]]
  81. === Conditions
  82. A condition consists of one or more criteria an event must match.
  83. You can specify and combine these criteria using the following operators. Most
  84. EQL operators are case-sensitive by default.
  85. [discrete]
  86. [[eql-syntax-comparison-operators]]
  87. ==== Comparison operators
  88. [source,eql]
  89. ----
  90. < <= == : != >= >
  91. ----
  92. `<` (less than)::
  93. Returns `true` if the value to the left of the operator is less than the value
  94. to the right. Otherwise returns `false`.
  95. `<=` (less than or equal) ::
  96. Returns `true` if the value to the left of the operator is less than or equal to
  97. the value to the right. Otherwise returns `false`.
  98. `==` (equal, case-sensitive)::
  99. Returns `true` if the values to the left and right of the operator are equal.
  100. Otherwise returns `false`. For strings, matching is case-sensitive. Wildcards
  101. are not supported.
  102. `:` (equal, case-insensitive)::
  103. Returns `true` if strings to the left and right of the operator are equal.
  104. Otherwise returns `false`. Matching is case-insensitive and can only be used to
  105. compare strings. Supports <<eql-syntax-wildcards,wildcards>> and
  106. <<eql-syntax-lookup-operators,list lookups>>.
  107. [IMPORTANT]
  108. ====
  109. Avoid using the `==` or `:` operators to perform exact matching on
  110. <<text,`text`>> field values.
  111. By default, {es} changes the values of `text` fields as part of <<analysis,
  112. analysis>>. This can make finding exact matches for `text` field values
  113. difficult.
  114. To search `text` fields, consider using a <<eql-search-filter-query-dsl,query
  115. DSL filter>> that contains a <<query-dsl-match-query,`match`>> query.
  116. ====
  117. `!=` (not equal, case-sensitive)::
  118. Returns `true` if the values to the left and right of the operator are not
  119. equal. Otherwise returns `false`. For strings, matching is case-sensitive.
  120. Wildcards are not supported.
  121. `>=` (greater than or equal) ::
  122. Returns `true` if the value to the left of the operator is greater than or equal
  123. to the value to the right. Otherwise returns `false`. When comparing strings,
  124. the operator uses a case-sensitive lexicographic order.
  125. `>` (greater than)::
  126. Returns `true` if the value to the left of the operator is greater than the
  127. value to the right. Otherwise returns `false`. When comparing strings,
  128. the operator uses a case-sensitive lexicographic order.
  129. NOTE: `=` is not supported as an equal operator. Use `==` or `:` instead.
  130. You cannot chain comparison operators. Instead, use a
  131. <<eql-syntax-logical-operators,logical operator>> between comparisons. For
  132. example, `foo < bar <= baz` is not supported. However, you can rewrite the
  133. expression as `foo < bar and bar <= baz`, which is supported.
  134. You also cannot use comparison operators to compare a field to another field.
  135. This applies even if the fields are changed using a <<eql-functions,function>>.
  136. *Example* +
  137. The following EQL query compares the `process.parent_name` field
  138. value to a static value, `foo`. This comparison is supported.
  139. However, the query also compares the `process.parent.name` field value to the
  140. `process.name` field. This comparison is not supported and will return an
  141. error for the entire query.
  142. [source,eql]
  143. ----
  144. process where process.parent.name == "foo" and process.parent.name == process.name
  145. ----
  146. Instead, you can rewrite the query to compare both the `process.parent.name`
  147. and `process.name` fields to static values.
  148. [source,eql]
  149. ----
  150. process where process.parent.name == "foo" and process.name == "foo"
  151. ----
  152. [discrete]
  153. [[eql-syntax-logical-operators]]
  154. ==== Logical operators
  155. [source,eql]
  156. ----
  157. and or not
  158. ----
  159. `and`::
  160. Returns `true` only if the condition to the left and right _both_ return `true`.
  161. Otherwise returns `false.
  162. `or`::
  163. Returns `true` if one of the conditions to the left or right `true`.
  164. Otherwise returns `false.
  165. `not`::
  166. Returns `true` if the condition to the right is `false`.
  167. [discrete]
  168. [[eql-syntax-lookup-operators]]
  169. ==== Lookup operators
  170. [source,eql]
  171. ----
  172. user.name in ("Administrator", "SYSTEM", "NETWORK SERVICE")
  173. user.name not in ("Administrator", "SYSTEM", "NETWORK SERVICE")
  174. user.name : ("administrator", "system", "network service")
  175. ----
  176. `in` (case-sensitive)::
  177. Returns `true` if the value is contained in the provided list. For strings,
  178. matching is case-sensitive.
  179. `not in` (case-sensitive)::
  180. Returns `true` if the value is not contained in the provided list. For strings,
  181. matching is case-sensitive.
  182. `:` (case-insensitive)::
  183. Returns `true` if the value is contained in the provided list. Can only be used
  184. to compare strings.
  185. [discrete]
  186. [[eql-syntax-math-operators]]
  187. ==== Math operators
  188. [source,eql]
  189. ----
  190. + - * / %
  191. ----
  192. `+` (add)::
  193. Adds the values to the left and right of the operator.
  194. `-` (subtract)::
  195. Subtracts the value to the right of the operator from the value to the left.
  196. `*` (multiply)::
  197. Multiplies the values to the left and right of the operator.
  198. `/` (divide)::
  199. Divides the value to the left of the operator by the value to the right.
  200. +
  201. [[eql-divide-operator-float-rounding]]
  202. [WARNING]
  203. ====
  204. If both the dividend and divisor are integers, the divide (`\`) operation
  205. _rounds down_ any returned floating point numbers to the nearest integer. To
  206. avoid rounding, convert either the dividend or divisor to a float.
  207. *Example* +
  208. The `process.args_count` field is a <<number,`long`>> integer field containing a
  209. count of process arguments.
  210. A user might expect the following EQL query to only match events with a
  211. `process.args_count` value of `4`.
  212. [source,eql]
  213. ----
  214. process where ( 4 / process.args_count ) == 1
  215. ----
  216. However, the EQL query matches events with a `process.args_count` value of `3`
  217. or `4`.
  218. For events with a `process.args_count` value of `3`, the divide operation
  219. returns a float of `1.333...`, which is rounded down to `1`.
  220. To match only events with a `process.args_count` value of `4`, convert
  221. either the dividend or divisor to a float.
  222. The following EQL query changes the integer `4` to the equivalent float `4.0`.
  223. [source,eql]
  224. ----
  225. process where ( 4.0 / process.args_count ) == 1
  226. ----
  227. ====
  228. `%` (modulo)::
  229. Divides the value to the left of the operator by the value to the right. Returns only the remainder.
  230. [discrete]
  231. [[eql-syntax-match-any-condition]]
  232. === Match any condition
  233. To match events solely on event category, use the `where true` condition.
  234. For example, the following EQL query matches any `file` events:
  235. [source,eql]
  236. ----
  237. file where true
  238. ----
  239. To match any event, you can combine the `any` keyword with the `where true`
  240. condition:
  241. [source,eql]
  242. ----
  243. any where true
  244. ----
  245. [discrete]
  246. [[eql-syntax-strings]]
  247. === Strings
  248. Strings are enclosed in double quotes (`"`).
  249. [source,eql]
  250. ----
  251. "hello world"
  252. ----
  253. Strings enclosed in single quotes (`'`) are not supported.
  254. [discrete]
  255. [[eql-syntax-escape-characters]]
  256. ==== Escape characters in a string
  257. When used within a string, special characters, such as a carriage return or
  258. double quote (`"`), must be escaped with a preceding backslash (`\`).
  259. [source,eql]
  260. ----
  261. "example \r of \" escaped \n characters"
  262. ----
  263. [options="header"]
  264. |====
  265. | Escape sequence | Literal character
  266. |`\n` | A newline (linefeed) character
  267. |`\r` | A carriage return character
  268. |`\t` | A tab character
  269. |`\\` | A backslash (`\`) character
  270. |`\"` | A double quote (`"`) character
  271. |====
  272. IMPORTANT: The single quote (`'`) character is reserved for future use. You
  273. cannot use an escaped single quote (`\'`) for literal strings. Use an escaped
  274. double quote (`\"`) instead.
  275. [discrete]
  276. [[eql-syntax-raw-strings]]
  277. ==== Raw strings
  278. Raw strings treat special characters, such as backslashes (`\`), as literal
  279. characters. Raw strings are enclosed in three double quotes (`"""`).
  280. [source,eql]
  281. ----
  282. """Raw string with a literal double quote " and blackslash \ included"""
  283. ----
  284. A raw string cannot contain three consecutive double quotes (`"""`). Instead,
  285. use a regular string with the `\"` escape sequence.
  286. [source,eql]
  287. ----
  288. "String containing \"\"\" three double quotes"
  289. ----
  290. [discrete]
  291. [[eql-syntax-wildcards]]
  292. ==== Wildcards
  293. For string comparisons using the `:` operator, you can use wildcards (`*`) to
  294. match specific patterns:
  295. [source,eql]
  296. ----
  297. field : "f*o"
  298. field : "*foo"
  299. field : "foo*"
  300. ----
  301. The `:` operator also supports wildcards in <<eql-syntax-lookup-operators,list
  302. lookups>>:
  303. [source,eql]
  304. ----
  305. field : ("f*o", "*bar", "baz*", "qux")
  306. ----
  307. [discrete]
  308. [[eql-sequences]]
  309. === Sequences
  310. You can use EQL sequences to describe and match an ordered series of events.
  311. Each item in a sequence is an event category and event condition,
  312. surrounded by square brackets (`[ ]`). Events are listed in ascending
  313. chronological order, with the most recent event listed last.
  314. [source,eql]
  315. ----
  316. sequence
  317. [ event_category_1 where condition_1 ]
  318. [ event_category_2 where condition_2 ]
  319. ...
  320. ----
  321. *Example* +
  322. The following EQL sequence query matches this series of ordered events:
  323. . Start with an event with:
  324. +
  325. --
  326. * An event category of `file`
  327. * A `file.extension` of `exe`
  328. --
  329. . Followed by an event with an event category of `process`
  330. [source,eql]
  331. ----
  332. sequence
  333. [ file where file.extension == "exe" ]
  334. [ process where true ]
  335. ----
  336. [discrete]
  337. [[eql-with-maxspan-keywords]]
  338. === `with maxspan` keywords
  339. You can use the `with maxspan` keywords to constrain a sequence to a specified
  340. timespan. All events in a matching sequence must occur within this duration,
  341. starting at the first event's timestamp.
  342. The `maxspan` keyword accepts <<time-units,time value>> arguments.
  343. [source,eql]
  344. ----
  345. sequence with maxspan=30s
  346. [ event_category_1 where condition_1 ] by field_baz
  347. [ event_category_2 where condition_2 ] by field_bar
  348. ...
  349. ----
  350. *Example* +
  351. The following sequence query uses a `maxspan` value of `15m` (15 minutes).
  352. Events in a matching sequence must occur within 15 minutes of the first event's
  353. timestamp.
  354. [source,eql]
  355. ----
  356. sequence with maxspan=15m
  357. [ file where file.extension == "exe" ]
  358. [ process where true ]
  359. ----
  360. [discrete]
  361. [[eql-by-keyword]]
  362. === `by` keyword
  363. You can use the `by` keyword with sequences to only match events that share the
  364. same field values. If a field value should be shared across all events, you
  365. can use `sequence by`.
  366. [source,eql]
  367. ----
  368. sequence by field_foo
  369. [ event_category_1 where condition_1 ] by field_baz
  370. [ event_category_2 where condition_2 ] by field_bar
  371. ...
  372. ----
  373. *Example* +
  374. The following sequence query uses the `by` keyword to constrain matching events
  375. to:
  376. * Events with the same `user.name` value
  377. * `file` events with a `file.path` value equal to the following `process`
  378. event's `process.path` value.
  379. [source,eql]
  380. ----
  381. sequence
  382. [ file where file.extension == "exe" ] by user.name, file.path
  383. [ process where true ] by user.name, process.path
  384. ----
  385. Because the `user.name` field is shared across all events in the sequence, it
  386. can be included using `sequence by`. The following sequence is equivalent to the
  387. prior one.
  388. [source,eql]
  389. ----
  390. sequence by user.name
  391. [ file where file.extension == "exe" ] by file.path
  392. [ process where true ] by process.path
  393. ----
  394. You can combine the `sequence by` and `with maxspan` keywords to constrain a
  395. sequence by both field values and a timespan.
  396. [source,eql]
  397. ----
  398. sequence by field_foo with maxspan=30s
  399. [ event_category_1 where condition_1 ] by field_baz
  400. [ event_category_2 where condition_2 ] by field_bar
  401. ...
  402. ----
  403. *Example* +
  404. The following sequence query uses the `sequence by` keyword and `with maxspan`
  405. keywords to match only a sequence of events that:
  406. * Share the same `user.name` field values
  407. * Occur within `15m` (15 minutes) of the first matching event
  408. [source,eql]
  409. ----
  410. sequence by user.name with maxspan=15m
  411. [ file where file.extension == "exe" ] by file.path
  412. [ process where true ] by process.path
  413. ----
  414. [discrete]
  415. [[eql-until-keyword]]
  416. === `until` keyword
  417. You can use the `until` keyword to specify an expiration event for a sequence.
  418. If this expiration event occurs _between_ matching events in a sequence, the
  419. sequence expires and is not considered a match. If the expiration event occurs
  420. _after_ matching events in a sequence, the sequence is still considered a
  421. match. The expiration event is not included in the results.
  422. [source,eql]
  423. ----
  424. sequence
  425. [ event_category_1 where condition_1 ]
  426. [ event_category_2 where condition_2 ]
  427. ...
  428. until [ event_category_3 where condition_3 ]
  429. ----
  430. *Example* +
  431. A dataset contains the following event sequences, grouped by shared IDs:
  432. [source,txt]
  433. ----
  434. A, B
  435. A, B, C
  436. A, C, B
  437. ----
  438. The following EQL query searches the dataset for sequences containing
  439. event `A` followed by event `B`. Event `C` is used as an expiration event.
  440. [source,eql]
  441. ----
  442. sequence by ID
  443. A
  444. B
  445. until C
  446. ----
  447. The query matches sequences `A, B` and `A, B, C` but not `A, C, B`.
  448. [TIP]
  449. ====
  450. The `until` keyword can be useful when searching for process sequences in
  451. Windows event logs.
  452. In Windows, a process ID (PID) is unique only while a process is running. After
  453. a process terminates, its PID can be reused.
  454. You can search for a sequence of events with the same PID value using the `by`
  455. and `sequence by` keywords.
  456. *Example* +
  457. The following EQL query uses the `sequence by` keyword to match a
  458. sequence of events that share the same `process.pid` value.
  459. [source,eql]
  460. ----
  461. sequence by process.pid
  462. [ process where event.type == "start" and process.name == "cmd.exe" ]
  463. [ process where file.extension == "exe" ]
  464. ----
  465. However, due to PID reuse, this can result in a matching sequence that
  466. contains events across unrelated processes. To prevent false positives, you can
  467. use the `until` keyword to end matching sequences before a process termination
  468. event.
  469. The following EQL query uses the `until` keyword to end sequences before
  470. `process` events with an `event.type` of `stop`. These events indicate a process
  471. has been terminated.
  472. [source,eql]
  473. ----
  474. sequence by process.pid
  475. [ process where event.type == "start" and process.name == "cmd.exe" ]
  476. [ process where file.extension == "exe" ]
  477. until [ process where event.type == "stop" ]
  478. ----
  479. ====
  480. [discrete]
  481. [[eql-functions]]
  482. === Functions
  483. You can use EQL functions to convert data types, perform math, manipulate
  484. strings, and more. Most functions are case-sensitive by default.
  485. For a list of supported functions, see <<eql-function-ref>>.
  486. [TIP]
  487. ====
  488. Using functions in EQL queries can result in slower search speeds. If you
  489. often use functions to transform indexed data, you can speed up search by making
  490. these changes during indexing instead. However, that often means slower index
  491. speeds.
  492. *Example* +
  493. An index contains the `file.path` field. `file.path` contains the full path to a
  494. file, including the file extension.
  495. When running EQL searches, users often use the `endsWith` function with the
  496. `file.path` field to match file extensions:
  497. [source,eql]
  498. ----
  499. file where endsWith(file.path,".exe") or endsWith(file.path,".dll")
  500. ----
  501. While this works, it can be repetitive to write and can slow search speeds. To
  502. speed up search, you can do the following instead:
  503. . <<indices-put-mapping,Add a new field>>, `file.extension`, to the index. The
  504. `file.extension` field will contain only the file extension from the
  505. `file.path` field.
  506. . Use an <<ingest,ingest pipeline>> containing the <<grok-processor,`grok`>>
  507. processor or another preprocessor tool to extract the file extension from the
  508. `file.path` field before indexing.
  509. . Index the extracted file extension to the `file.extension` field.
  510. These changes may slow indexing but allow for faster searches. Users
  511. can use the `file.extension` field instead of multiple `endsWith` function
  512. calls:
  513. [source,eql]
  514. ----
  515. file where file.extension in ("exe", "dll")
  516. ----
  517. We recommend testing and benchmarking any indexing changes before deploying them
  518. in production. See <<tune-for-indexing-speed>> and <<tune-for-search-speed>>.
  519. ====
  520. [discrete]
  521. [[eql-pipes]]
  522. === Pipes
  523. EQL pipes filter, aggregate, and post-process events returned by
  524. an EQL query. You can use pipes to narrow down EQL query results or make them
  525. more specific.
  526. Pipes are delimited using the pipe (`|`) character.
  527. [source,eql]
  528. ----
  529. event_category where condition | pipe
  530. ----
  531. *Example* +
  532. The following EQL query uses the `tail` pipe to return only the 10 most recent
  533. events matching the query.
  534. [source,eql]
  535. ----
  536. authentication where agent.id == 4624
  537. | tail 10
  538. ----
  539. You can pass the output of a pipe to another pipe. This lets you use multiple
  540. pipes with a single query.
  541. For a list of supported pipes, see <<eql-pipe-ref>>.
  542. [discrete]
  543. [[eql-syntax-limitations]]
  544. === Limitations
  545. EQL does not support the following features and syntax.
  546. [discrete]
  547. [[eql-compare-fields]]
  548. ==== Comparing fields
  549. You cannot use EQL comparison operators to compare a field to
  550. another field. This applies even if the fields are changed using a
  551. <<eql-functions,function>>.
  552. [discrete]
  553. [[eql-array-fields]]
  554. ==== Array field values are not supported
  555. EQL does not support <<array,array>> field values, also known as
  556. multi-value fields. EQL searches on array field values may return inconsistent
  557. results.
  558. [discrete]
  559. [[eql-nested-fields]]
  560. ==== EQL search on nested fields
  561. You cannot use EQL to search the values of a <<nested,`nested`>> field or the
  562. sub-fields of a `nested` field. However, data streams and indices containing
  563. `nested` field mappings are otherwise supported.
  564. [discrete]
  565. [[eql-unsupported-syntax]]
  566. ==== Differences from Endgame EQL syntax
  567. {es} EQL differs from the {eql-ref}/index.html[Elastic Endgame EQL syntax] as
  568. follows:
  569. * Most operators and functions in {es} EQL are case-sensitive. For
  570. case-insensitive equality comparisons, use the `:` operator.
  571. * Comparisons using the `==` and `!=` operators do not expand wildcard
  572. characters. For example, `process_name == "cmd*.exe"` interprets `*` as a
  573. literal asterisk, not a wildcard. For case-sensitive wildcard matching, use the
  574. <<eql-fn-wildcard,`wildcard`>> function.
  575. * `=` cannot be substituted for the `==` operator.
  576. * Strings enclosed in single quotes (`'`) are not supported. Enclose strings in
  577. double quotes (`"`) instead.
  578. * `?"` and `?'` do not indicate raw strings. Enclose raw strings in
  579. three double quotes (`"""`) instead.
  580. * {es} EQL does not support:
  581. ** Array functions:
  582. *** {eql-ref}/functions.html#arrayContains[`arrayContains`]
  583. *** {eql-ref}/functions.html#arrayCount[`arrayCount`]
  584. *** {eql-ref}/functions.html#arraySearch[`arraySearch`]
  585. ** The {eql-ref}//functions.html#match[`match`] function
  586. ** {eql-ref}/joins.html[Joins]
  587. ** {eql-ref}/basic-syntax.html#event-relationships[Lineage-related keywords]:
  588. *** `child of`
  589. *** `descendant of`
  590. *** `event of`
  591. ** The following {eql-ref}/pipes.html[pipes]:
  592. *** {eql-ref}/pipes.html#count[`count`]
  593. *** {eql-ref}/pipes.html#filter[`filter`]
  594. *** {eql-ref}/pipes.html#sort[`sort`]
  595. *** {eql-ref}/pipes.html#unique[`unique`]
  596. *** {eql-ref}/pipes.html#unique-count[`unique_count`]