forked from elastic/ecs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
geo.yml
132 lines (117 loc) · 3.47 KB
/
geo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# Licensed to Elasticsearch B.V. under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
---
- name: geo
title: Geo
group: 2
short: Fields describing a location.
description: >
Geo fields can carry data about a specific location related to an event.
This geolocation information can be derived from techniques such as Geo IP,
or be user-supplied.
reusable:
top_level: false
expected:
- client
- destination
- observer
- host
- server
- source
- at: threat.indicator
as: geo
- at: threat.enrichments.indicator
as: geo
beta: Reusing the `geo` fields in this location is currently considered beta.
type: group
fields:
- name: location
level: core
type: geo_point
description: >
Longitude and latitude.
example: '{ "lon": -73.614830, "lat": 45.505918 }'
- name: continent_code
level: core
type: keyword
short: Continent code.
description: >
Two-letter code representing continent's name.
example: NA
- name: continent_name
level: core
type: keyword
description: >
Name of the continent.
example: North America
- name: country_name
level: core
type: keyword
description: >
Country name.
example: Canada
- name: region_name
level: core
type: keyword
description: >
Region name.
example: Quebec
- name: city_name
level: core
type: keyword
description: >
City name.
example: Montreal
- name: country_iso_code
level: core
type: keyword
description: >
Country ISO code.
example: CA
- name: postal_code
level: core
type: keyword
short: Postal code.
description: >
Postal code associated with the location.
Values appropriate for this field may also be known
as a postcode or ZIP code and will vary widely from
country to country.
example: 94040
- name: region_iso_code
level: core
type: keyword
description: >
Region ISO code.
example: CA-QC
- name: timezone
level: core
type: keyword
short: Time zone.
description: >
The time zone of the location, such as IANA time zone name.
example: "America/Argentina/Buenos_Aires"
- name: name
level: extended
type: keyword
short: User-defined description of a location.
description: >
User-defined description of a location, at the level of granularity they care about.
Could be the name of their data centers, the floor number, if this describes
a local physical entity, city names.
Not typically used in automated geolocation.
example: boston-dc