Skip to content

Commit d76d6d8

Browse files
Clarify url.query usage to specify full query string format
This update removes ambiguity around the url.query field by explicitly stating that it should contain the full query string, including compound parameters. An example with multiple query parameters is added to reinforce this guidance. This helps prevent misinterpretation—such as splitting the query into an array of keywords—and promotes consistent, ECS-compliant implementations across ingestion pipelines and tools.
1 parent 783a85d commit d76d6d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

schemas/url.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@
166166
type: keyword
167167
short: Query string of the request.
168168
description: >
169+
The field contains the entire query string excluding the leading `?`.
170+
169171
The query field describes the query string of the request,
170172
such as "q=elasticsearch".
171173
@@ -174,6 +176,7 @@
174176
the query field exists with an empty string. The `exists`
175177
query can be used to differentiate between the two cases.
176178
ignore_above: 2083
179+
example: q=elasticsearch&sort=desc
177180
otel:
178181
- relation: match
179182

0 commit comments

Comments
 (0)