Skip to content

Commit

Permalink
switch it to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin committed Jun 1, 2018
1 parent 30afb79 commit 92720cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ The URL object can be reused in other prefixes like `host.url.*` for example. It
| <a name="url.href.analyzed"></a>`url.href.analyzed` | | text | 1 | |
| <a name="url.scheme"></a>`url.scheme` | The scheme of the request, e.g. "https".<br/>Note: The `:` is not part of the scheme. | keyword | | `https` |
| <a name="url.hostname"></a>`url.hostname` | The hostname of the request, e.g. "example.com".<br/>For correlation the this field can be copied into the `host.name` field. | keyword | | `elastic.co` |
| <a name="url.port"></a>`url.port` | The port of the request, e.g. 443. | long | | `443` |
| <a name="url.port"></a>`url.port` | The port of the request, e.g. 443. | integer | | `443` |
| <a name="url.path"></a>`url.path` | The path of the request, e.g. "/search". | text | | |
| <a name="url.path.raw"></a>`url.path.raw` | The url path. This is a non-analyzed field that is useful for aggregations. | keyword | 1 | |
| <a name="url.query"></a>`url.query` | The query field describes the query string of the request, e.g. "q=elasticsearch".<br/>The `?` is excluded from the query string. In case an URL contains no `?` it is expected that the query field is left out. In case there is a `?` but no query, the query field is expected to exist with an empty string. Like this the `exists` query can be used to differentiate between the two cases. | text | | |
Expand Down
2 changes: 1 addition & 1 deletion schema.csv
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ url.hostname,keyword,0,elastic.co
url.href,keyword,0,https://elastic.co:443/search?q=elasticsearch#top
url.password,keyword,0,
url.path,text,0,
url.port,long,0,443
url.port,integer,0,443
url.query,text,0,
url.scheme,keyword,0,https
url.username,keyword,0,
Expand Down
2 changes: 1 addition & 1 deletion schemas/url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
field.
example: elastic.co
- name: port
type: long
type: integer
description: >
The port of the request, e.g. 443.
example: 443
Expand Down

0 comments on commit 92720cf

Please sign in to comment.