Skip to content

Commit

Permalink
Rename network.name.raw to network.name.keyword
Browse files Browse the repository at this point in the history
The field that actually started this whole discussion had been forgotten from elastic#87 and elastic#103 :-)
  • Loading branch information
Mathieu Martin committed Sep 19, 2018
1 parent c8d9b0a commit 0a51b22
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ All notable changes to this project will be documented in this file based on the
* Rename `user_agent.raw` to `user_agent.original` and make it a keyword.
* Rename `file.path.raw` to `file.path.keyword`, `file.target_path.raw` to `file.target_path.keyword`,
`url.href.raw` to `url.href.keyword`, `url.path.raw` to `url.path.keyword`,
and `url.query.raw` to `url.query.keyword`
`url.query.raw` to `url.query.keyword`, and `network.name.raw` to `network.name.keyword`.

### Bugfixes

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ Fields related to network data.
| Field | Description | Type | Multi Field | Example |
|---|---|---|---|---|
| <a name="network.name"></a>network.name | Name given by operators to sections of their network. | text | | `Guest Wifi` |
| <a name="network.name.raw"></a>network.name.raw | Name given by operators to sections of their network. | keyword | 1 | |
| <a name="network.name.keyword"></a>network.name.keyword | Name given by operators to sections of their network. | keyword | 1 | |
| <a name="network.protocol"></a>network.protocol | Network protocol name. | keyword | | `http` |
| <a name="network.direction"></a>network.direction | Direction of the network traffic.<br/>Recommended values are:<br/> * inbound<br/> * outbound<br/> * unknown | keyword | | `inbound` |
| <a name="network.forwarded_ip"></a>network.forwarded_ip | Host IP address when the source IP address is the proxy. | ip | | `192.1.1.2` |
Expand Down
2 changes: 1 addition & 1 deletion fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@
Name given by operators to sections of their network.
example: Guest Wifi
multi_fields:
- name: raw
- name: keyword
type: keyword
description: >
Name given by operators to sections of their network.
Expand Down
2 changes: 1 addition & 1 deletion schemas/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Name given by operators to sections of their network.
example: Guest Wifi
multi_fields:
- name: raw
- name: keyword
type: keyword
description: >
Name given by operators to sections of their network.
Expand Down
2 changes: 1 addition & 1 deletion template.json
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@
},
"name": {
"fields": {
"raw": {
"keyword": {
"ignore_above": 1024,
"type": "keyword"
}
Expand Down

0 comments on commit 0a51b22

Please sign in to comment.