[discrete]
[[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.

[source.merge.styled,esql]
----
include::{esql-specs}/dissect.csv-spec[tag=dissect]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/dissect.csv-spec[tag=dissect-result]
|===
