Skip to content

Commit

Permalink
[DOCS] DISSECT does not support reference keys (elastic#102002)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonpijpelink authored Nov 10, 2023
1 parent c5560bc commit ae2626f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
12 changes: 12 additions & 0 deletions docs/reference/esql/esql-limitations.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,18 @@ now() - 2023-10-26

include::esql-enrich-data.asciidoc[tag=limitations]

[discrete]
[[esql-limitations-dissect]]
=== Dissect limitations

include::esql-process-data-with-dissect-grok.asciidoc[tag=dissect-limitations]

[discrete]
[[esql-limitations-grok]]
=== Grok limitations

include::esql-process-data-with-dissect-grok.asciidoc[tag=grok-limitations]

[discrete]
[[esql-limitations-mv]]
=== Multivalue limitations
Expand Down
13 changes: 9 additions & 4 deletions docs/reference/esql/esql-process-data-with-dissect-grok.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ include::../ingest/processors/dissect.asciidoc[tag=dissect-key-modifiers]
| `+` | Append | left | `%{+keyname} %{+keyname}` | Appends two or more fields together | <<esql-append-modifier,link>>
| `+` with `/n` | Append with order | left and right | `%{+keyname/2} %{+keyname/1}` | Appends two or more fields together in the order specified | <<esql-append-order-modifier,link>>
| `?` | Named skip key | left | `%{?ignoreme}` | Skips the matched value in the output. Same behavior as `%{}`| <<esql-named-skip-key,link>>
| `*` and `&` | Reference keys | left | `%{*r1} %{&r1}` | Sets the output key as value of `*` and output value of `&` | <<esql-reference-keys,link>>
|======

[[esql-dissect-modifier-skip-right-padding]]
Expand All @@ -139,9 +138,13 @@ include::../ingest/processors/dissect.asciidoc[tag=append-order-modifier]
====== Named skip key (`?`)
include::../ingest/processors/dissect.asciidoc[tag=named-skip-key]

[[esql-reference-keys]]
====== Reference keys (`*` and `&`)
include::../ingest/processors/dissect.asciidoc[tag=reference-keys]
[[esql-dissect-limitations]]
===== Limitations

// tag::dissect-limitations[]
The `DISSECT` command does not support
<<dissect-modifier-reference-keys,reference keys>>.
// end::dissect-limitations[]

[[esql-process-data-with-grok]]
==== Process data with `GROK`
Expand Down Expand Up @@ -253,6 +256,8 @@ as the `GROK` command.
[[esql-grok-limitations]]
===== Limitations

// tag::grok-limitations[]
The `GROK` command does not support configuring <<custom-patterns,custom
patterns>>, or <<trace-match,multiple patterns>>. The `GROK` command is not
subject to <<grok-watchdog,Grok watchdog settings>>.
// end::grok-limitations[]

0 comments on commit ae2626f

Please sign in to comment.