Skip to content

Commit

Permalink
Change url.host.name to url.hostname (#8732)
Browse files Browse the repository at this point in the history
This update the Filebeat Suricata module to use url.hostname instead of url.host.name.
  • Loading branch information
andrewkroh authored Oct 24, 2018
1 parent 1da9636 commit ff8f674
Show file tree
Hide file tree
Showing 16 changed files with 52 additions and 52 deletions.
6 changes: 3 additions & 3 deletions auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4305,15 +4305,15 @@ Note: The `:` is not part of the scheme.
--
*`url.host.name`*::
*`url.hostname`*::
+
--
type: keyword
example: elastic.co
Hostname of the request, such as "example.com".
For correlation the this field can be copied into the `host.name` field.
Hostname of the request, such as "elastic.co".
In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `hostname` field.
--
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/include/fields.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2335,15 +2335,15 @@ Note: The `:` is not part of the scheme.
--
*`url.host.name`*::
*`url.hostname`*::
+
--
type: keyword
example: elastic.co
Hostname of the request, such as "example.com".
For correlation the this field can be copied into the `host.name` field.
Hostname of the request, such as "elastic.co".
In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `hostname` field.
--
Expand Down
2 changes: 1 addition & 1 deletion filebeat/include/fields.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1870,15 +1870,15 @@ Note: The `:` is not part of the scheme.
--
*`url.host.name`*::
*`url.hostname`*::
+
--
type: keyword
example: elastic.co
Hostname of the request, such as "example.com".
For correlation the this field can be copied into the `host.name` field.
Hostname of the request, such as "elastic.co".
In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `hostname` field.
--
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/include/fields.go

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions libbeat/_meta/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -974,13 +974,13 @@
Note: The `:` is not part of the scheme.
example: https
- name: host.name
- name: hostname
type: keyword
description: >
Hostname of the request, such as "example.com".
For correlation the this field can be copied into the `host.name`
field.
Hostname of the request, such as "elastic.co".
In some cases a URL may refer to an IP and/or port directly, without a
domain name. In this case, the IP address would go to the `hostname` field.
example: elastic.co
- name: port
type: integer
Expand Down
6 changes: 3 additions & 3 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4923,15 +4923,15 @@ Note: The `:` is not part of the scheme.
--
*`url.host.name`*::
*`url.hostname`*::
+
--
type: keyword
example: elastic.co
Hostname of the request, such as "example.com".
For correlation the this field can be copied into the `host.name` field.
Hostname of the request, such as "elastic.co".
In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `hostname` field.
--
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/include/fields/fields.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packetbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3806,15 +3806,15 @@ Note: The `:` is not part of the scheme.
--
*`url.host.name`*::
*`url.hostname`*::
+
--
type: keyword
example: elastic.co
Hostname of the request, such as "example.com".
For correlation the this field can be copied into the `host.name` field.
Hostname of the request, such as "elastic.co".
In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `hostname` field.
--
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/include/fields.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions winlogbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1783,15 +1783,15 @@ Note: The `:` is not part of the scheme.
--
*`url.host.name`*::
*`url.hostname`*::
+
--
type: keyword
example: elastic.co
Hostname of the request, such as "example.com".
For correlation the this field can be copied into the `host.name` field.
Hostname of the request, such as "elastic.co".
In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `hostname` field.
--
Expand Down
2 changes: 1 addition & 1 deletion winlogbeat/include/fields.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion x-pack/filebeat/module/suricata/eve/ingest/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
, {"convert":
{"field": "suricata.eve.http.hostname"
,"target_field": "url.host.name"
,"target_field": "url.hostname"
,"type": "string"
,"ignore_missing": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"tags": [
"suricata"
],
"url.host.name": "example.net",
"url.hostname": "example.net",
"user_agent.device": "Other",
"user_agent.major": "7",
"user_agent.minor": "58",
Expand Down Expand Up @@ -118,7 +118,7 @@
"tags": [
"suricata"
],
"url.host.name": "example.net",
"url.hostname": "example.net",
"user_agent.device": "Other",
"user_agent.major": "7",
"user_agent.minor": "58",
Expand Down Expand Up @@ -182,7 +182,7 @@
"tags": [
"suricata"
],
"url.host.name": "example.net",
"url.hostname": "example.net",
"user_agent.device": "Other",
"user_agent.major": "7",
"user_agent.minor": "58",
Expand Down Expand Up @@ -246,7 +246,7 @@
"tags": [
"suricata"
],
"url.host.name": "example.org",
"url.hostname": "example.org",
"user_agent.device": "Other",
"user_agent.major": "7",
"user_agent.minor": "58",
Expand Down Expand Up @@ -310,7 +310,7 @@
"tags": [
"suricata"
],
"url.host.name": "example.org",
"url.hostname": "example.org",
"user_agent.device": "Other",
"user_agent.major": "7",
"user_agent.minor": "58",
Expand Down Expand Up @@ -374,7 +374,7 @@
"tags": [
"suricata"
],
"url.host.name": "example.org",
"url.hostname": "example.org",
"user_agent.device": "Other",
"user_agent.major": "7",
"user_agent.minor": "58",
Expand Down Expand Up @@ -437,7 +437,7 @@
"tags": [
"suricata"
],
"url.host.name": "security.ubuntu.com",
"url.hostname": "security.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -499,7 +499,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -561,7 +561,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -623,7 +623,7 @@
"tags": [
"suricata"
],
"url.host.name": "security.ubuntu.com",
"url.hostname": "security.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -685,7 +685,7 @@
"tags": [
"suricata"
],
"url.host.name": "security.ubuntu.com",
"url.hostname": "security.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -747,7 +747,7 @@
"tags": [
"suricata"
],
"url.host.name": "security.ubuntu.com",
"url.hostname": "security.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -809,7 +809,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -871,7 +871,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -933,7 +933,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -995,7 +995,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -1057,7 +1057,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -1119,7 +1119,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -1179,7 +1179,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down Expand Up @@ -1239,7 +1239,7 @@
"tags": [
"suricata"
],
"url.host.name": "archive.ubuntu.com",
"url.hostname": "archive.ubuntu.com",
"user_agent.device": "Other",
"user_agent.major": "1",
"user_agent.minor": "3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"tags": [
"suricata"
],
"url.host.name": "192.168.86.28",
"url.hostname": "192.168.86.28",
"user_agent.device": "Other",
"user_agent.major": "67",
"user_agent.minor": "0",
Expand Down Expand Up @@ -162,7 +162,7 @@
"tags": [
"suricata"
],
"url.host.name": "192.168.86.28",
"url.hostname": "192.168.86.28",
"user_agent.device": "Other",
"user_agent.major": "67",
"user_agent.minor": "0",
Expand Down

0 comments on commit ff8f674

Please sign in to comment.