2023-10-17 23:36:14 +08:00
|
|
|
[discrete]
|
2023-06-06 00:38:55 +08:00
|
|
|
[[esql-dissect]]
|
|
|
|
=== `DISSECT`
|
|
|
|
|
|
|
|
`DISSECT` enables you to extract structured data out of a string. `DISSECT`
|
|
|
|
matches the string against a delimiter-based pattern, and extracts the specified
|
|
|
|
keys as columns.
|
|
|
|
|
|
|
|
Refer to the <<dissect-processor,dissect processor documentation>> for the
|
|
|
|
syntax of dissect patterns.
|
|
|
|
|
2023-06-12 22:37:45 +08:00
|
|
|
[source.merge.styled,esql]
|
2023-06-06 00:38:55 +08:00
|
|
|
----
|
|
|
|
include::{esql-specs}/dissect.csv-spec[tag=dissect]
|
|
|
|
----
|
2023-06-12 22:37:45 +08:00
|
|
|
[%header.monospaced.styled,format=dsv,separator=|]
|
2023-06-06 00:38:55 +08:00
|
|
|
|===
|
|
|
|
include::{esql-specs}/dissect.csv-spec[tag=dissect-result]
|
|
|
|
|===
|