Skip to content

Commit

Permalink
add time_zone, postal_code, and continent_code (elastic#1229)
Browse files Browse the repository at this point in the history
# Conflicts:
#	experimental/generated/csv/fields.csv
#	generated/csv/fields.csv
  • Loading branch information
ebeahan committed Feb 10, 2021
1 parent c8aea73 commit b53a07c
Show file tree
Hide file tree
Showing 27 changed files with 1,830 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Thanks, you're awesome :-) -->
* Added `http.request.id`. #1208
* Added `cloud.service.name`. #1204
* Added `hash.ssdeep`. #1169
* Added `geo.timezone`, `geo.postal_code`, and `geo.continent_code`. #1229

#### Improvements

Expand Down
11 changes: 11 additions & 0 deletions code/go/ecs/geo.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2788,6 +2788,22 @@ example: `Montreal`

// ===============================================================

|
[[field-geo-continent-code]]
<<field-geo-continent-code, geo.continent_code>>

| Two-letter code representing continent's name.

type: keyword



example: `NA`

| core

// ===============================================================

|
[[field-geo-continent-name]]
<<field-geo-continent-name, geo.continent_name>>
Expand Down Expand Up @@ -2872,6 +2888,24 @@ example: `boston-dc`

// ===============================================================

|
[[field-geo-postal-code]]
<<field-geo-postal-code, geo.postal_code>>

| 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.

type: keyword



example: `94040`

| core

// ===============================================================

|
[[field-geo-region-iso-code]]
<<field-geo-region-iso-code, geo.region_iso_code>>
Expand Down Expand Up @@ -2904,6 +2938,22 @@ example: `Quebec`

// ===============================================================

|
[[field-geo-timezone]]
<<field-geo-timezone, geo.timezone>>

| The time zone of the location, such as IANA time zone name.

type: keyword



example: `America/Argentina/Buenos_Aires`

| core

// ===============================================================

|=====

[discrete]
Expand Down
Loading

0 comments on commit b53a07c

Please sign in to comment.