Skip to content

Commit 9b2f214

Browse files
committed
add related.hosts (#913)
1 parent a0f4e43 commit 9b2f214

File tree

10 files changed

+71
-0
lines changed

10 files changed

+71
-0
lines changed

CHANGELOG.next.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Thanks, you're awesome :-) -->
2727
* Added missing field reuse of `pe` at `process.parent.pe` #868
2828
* Added `span.id` to the tracing fieldset, for additional log correlation (#882)
2929
* Added `event.reason` for the reason why an event's outcome or action was taken. #907
30+
* Added `related.hosts` to capture all hostnames and host identifiers on an event. #913
3031

3132
#### Improvements
3233

code/go/ecs/related.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/field-details.asciidoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4610,6 +4610,22 @@ Note: this field should contain an array of values.
46104610

46114611

46124612

4613+
| extended
4614+
4615+
// ===============================================================
4616+
4617+
| related.hosts
4618+
| All hostnames or other host identifiers seen on your event. Example identifiers include FQDNs, domain names, workstation names, or aliases.
4619+
4620+
type: keyword
4621+
4622+
4623+
Note: this field should contain an array of values.
4624+
4625+
4626+
4627+
4628+
46134629
| extended
46144630

46154631
// ===============================================================

generated/beats/fields.ecs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3819,6 +3819,13 @@
38193819
using it to search for hashes can help in situations where you're unsure what
38203820
the hash algorithm is (and therefore which key name to search).
38213821
default_field: false
3822+
- name: hosts
3823+
level: extended
3824+
type: keyword
3825+
ignore_above: 1024
3826+
description: All hostnames or other host identifiers seen on your event. Example
3827+
identifiers include FQDNs, domain names, workstation names, or aliases.
3828+
default_field: false
38223829
- name: ip
38233830
level: extended
38243831
type: ip

generated/csv/fields.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
442442
1.6.0-dev,true,registry,registry.path,keyword,core,,HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\winword.exe\Debugger,"Full path, including hive, key and value"
443443
1.6.0-dev,true,registry,registry.value,keyword,core,,Debugger,Name of the value written.
444444
1.6.0-dev,true,related,related.hash,keyword,extended,array,,All the hashes seen on your event.
445+
1.6.0-dev,true,related,related.hosts,keyword,extended,array,,All the host identifiers seen on your event.
445446
1.6.0-dev,true,related,related.ip,ip,extended,array,,All of the IPs seen on your event.
446447
1.6.0-dev,true,related,related.user,keyword,extended,array,,All the user names seen on your event.
447448
1.6.0-dev,true,rule,rule.author,keyword,extended,array,['Star-Lord'],Rule author

generated/ecs/ecs_flat.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5717,6 +5717,18 @@ related.hash:
57175717
- array
57185718
short: All the hashes seen on your event.
57195719
type: keyword
5720+
related.hosts:
5721+
dashed_name: related-hosts
5722+
description: All hostnames or other host identifiers seen on your event. Example
5723+
identifiers include FQDNs, domain names, workstation names, or aliases.
5724+
flat_name: related.hosts
5725+
ignore_above: 1024
5726+
level: extended
5727+
name: hosts
5728+
normalize:
5729+
- array
5730+
short: All the host identifiers seen on your event.
5731+
type: keyword
57205732
related.ip:
57215733
dashed_name: related-ip
57225734
description: All of the IPs seen on your event.

generated/ecs/ecs_nested.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6807,6 +6807,18 @@ related:
68076807
- array
68086808
short: All the hashes seen on your event.
68096809
type: keyword
6810+
related.hosts:
6811+
dashed_name: related-hosts
6812+
description: All hostnames or other host identifiers seen on your event. Example
6813+
identifiers include FQDNs, domain names, workstation names, or aliases.
6814+
flat_name: related.hosts
6815+
ignore_above: 1024
6816+
level: extended
6817+
name: hosts
6818+
normalize:
6819+
- array
6820+
short: All the host identifiers seen on your event.
6821+
type: keyword
68106822
related.ip:
68116823
dashed_name: related-ip
68126824
description: All of the IPs seen on your event.

generated/elasticsearch/6/template.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2093,6 +2093,10 @@
20932093
"ignore_above": 1024,
20942094
"type": "keyword"
20952095
},
2096+
"hosts": {
2097+
"ignore_above": 1024,
2098+
"type": "keyword"
2099+
},
20962100
"ip": {
20972101
"type": "ip"
20982102
},

generated/elasticsearch/7/template.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,6 +2092,10 @@
20922092
"ignore_above": 1024,
20932093
"type": "keyword"
20942094
},
2095+
"hosts": {
2096+
"ignore_above": 1024,
2097+
"type": "keyword"
2098+
},
20952099
"ip": {
20962100
"type": "ip"
20972101
},

schemas/related.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,13 @@
4343
the hash algorithm is (and therefore which key name to search).
4444
normalize:
4545
- array
46+
47+
- name: hosts
48+
level: extended
49+
type: keyword
50+
short: All the host identifiers seen on your event.
51+
description: >
52+
All hostnames or other host identifiers seen on your event. Example
53+
identifiers include FQDNs, domain names, workstation names, or aliases.
54+
normalize:
55+
- array

0 commit comments

Comments
 (0)