mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-26 08:07:27 -04:00
21 lines
500 B
Text
21 lines
500 B
Text
[[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,esql]
|
|
----
|
|
include::{esql-specs}/dissect.csv-spec[tag=dissect]
|
|
----
|
|
|
|
Returns:
|
|
|
|
[%header,format=dsv,separator=|]
|
|
|===
|
|
include::{esql-specs}/dissect.csv-spec[tag=dissect-result]
|
|
|===
|