Skip to content

Commit

Permalink
Remove *.timezone.offset.sec fields (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin authored and andrewkroh committed Oct 5, 2018
1 parent 47a2711 commit 3a10b4a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 71 deletions.
13 changes: 7 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ All notable changes to this project will be documented in this file based on the
### Breaking changes
* Change structure of URL. #7
* Rename `url.href` `multi_field`. #18
* Rename `geoip.*` to `geo`.
* Rename `geoip.*` to `geo`. #58
* Rename log.message to log.original. #106
* Rename `event.raw` to `event.original`.
* Rename `user_agent.raw` to `user_agent.original` and make it a keyword.
* Rename `event.raw` to `event.original`. #107
* Rename `user_agent.raw` to `user_agent.original` and make it a keyword. #107
* 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`,
`url.query.raw` to `url.query.keyword`, and `network.name.raw` to `network.name.keyword`.
* Remove `log.offset` and `log.line` as too specific for ECS.
* Remove top level objects `kubernetes` and `tls`.
`url.query.raw` to `url.query.keyword`, and `network.name.raw` to `network.name.keyword`. #103
* Remove `log.offset` and `log.line` as too specific for ECS. #131
* Remove top level objects `kubernetes` and `tls`. #132
* Remove `*.timezone.offset.sec` fields as too specific for ECS at the moment. #134

### Bugfixes

Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ Device fields are used to provide additional information about the device that i
| <a name="device.vendor"></a>device.vendor | Device vendor information. | text | | |
| <a name="device.version"></a>device.version | Device version. | keyword | | |
| <a name="device.serial_number"></a>device.serial_number | Device serial number. | keyword | | |
| <a name="device.timezone.offset.sec"></a>device.timezone.offset.sec | Timezone offset of the host in seconds.<br/>Number of seconds relative to UTC. If the offset is -01:30 the value will be -5400. | long | | `-5400` |
| <a name="device.type"></a>device.type | The type of the device the data is coming from.<br/>There is no predefined list of device types. Some examples are `endpoint`, `firewall`, `ids`, `ips`, `proxy`. | keyword | | `firewall` |


Expand Down Expand Up @@ -236,7 +235,6 @@ Normally the host information is related to the machine on which the event was g

| Field | Description | Type | Multi Field | Example |
|---|---|---|---|---|
| <a name="host.timezone.offset.sec"></a>host.timezone.offset.sec | Timezone offset of the host in seconds.<br/>Number of seconds relative to UTC. If the offset is -01:30 the value will be -5400. | long | | `-5400` |
| <a name="host.name"></a>host.name | host.name is the hostname of the host.<br/>It can contain what `hostname` returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use. | keyword | | |
| <a name="host.id"></a>host.id | Unique host id.<br/>As hostname is not always unique, use values that are meaningful in your environment.<br/>Example: The current usage of `beat.name`. | keyword | | |
| <a name="host.ip"></a>host.ip | Host ip address. | ip | | |
Expand Down
19 changes: 0 additions & 19 deletions fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,15 +303,6 @@
type: keyword
description: >
Device serial number.
- name: timezone.offset.sec
level: extended
type: long
description: >
Timezone offset of the host in seconds.
Number of seconds relative to UTC. If the offset is -01:30 the
value will be -5400.
example: -5400
- name: type
level: core
type: keyword
Expand Down Expand Up @@ -653,16 +644,6 @@
type: group
fields:

- name: timezone.offset.sec
level: extended
type: long
description: >
Timezone offset of the host in seconds.
Number of seconds relative to UTC. If the offset is -01:30 the
value will be -5400.
example: -5400

- name: name
level: core
type: keyword
Expand Down
2 changes: 0 additions & 2 deletions schema.csv
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ device.hostname,keyword,0,
device.ip,ip,0,
device.mac,keyword,0,
device.serial_number,keyword,0,
device.timezone.offset.sec,long,0,-5400
device.type,keyword,0,firewall
device.vendor,text,0,
device.version,keyword,0,
Expand Down Expand Up @@ -79,7 +78,6 @@ host.os.family,keyword,0,debian
host.os.name,keyword,0,Mac OS X
host.os.platform,keyword,0,darwin
host.os.version,keyword,0,10.12.6
host.timezone.offset.sec,long,0,-5400
host.type,keyword,0,
http.request.method,keyword,0,"GET, POST, PUT"
http.response.body,text,0,Hello world
Expand Down
9 changes: 0 additions & 9 deletions schemas/device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@
type: keyword
description: >
Device serial number.
- name: timezone.offset.sec
level: extended
type: long
description: >
Timezone offset of the host in seconds.
Number of seconds relative to UTC. If the offset is -01:30 the
value will be -5400.
example: -5400
- name: type
level: core
type: keyword
Expand Down
10 changes: 0 additions & 10 deletions schemas/host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@
type: group
fields:

- name: timezone.offset.sec
level: extended
type: long
description: >
Timezone offset of the host in seconds.
Number of seconds relative to UTC. If the offset is -01:30 the
value will be -5400.
example: -5400

- name: name
level: core
type: keyword
Expand Down
22 changes: 0 additions & 22 deletions template.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,17 +161,6 @@
"ignore_above": 1024,
"type": "keyword"
},
"timezone": {
"properties": {
"offset": {
"properties": {
"sec": {
"type": "long"
}
}
}
}
},
"type": {
"ignore_above": 1024,
"type": "keyword"
Expand Down Expand Up @@ -392,17 +381,6 @@
}
}
},
"timezone": {
"properties": {
"offset": {
"properties": {
"sec": {
"type": "long"
}
}
}
}
},
"type": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
2 changes: 1 addition & 1 deletion use-cases/metricbeat.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ECS fields used Metricbeat.
| [error.message](https://github.com/elastic/ecs#error.message) | Error message returned by the service during fetching metrics. | text | | |
| [error.code](https://github.com/elastic/ecs#error.code) | Error code returned by the service during fetching metrics. | keyword | | |
| [host.name](https://github.com/elastic/ecs#host.name) | Hostname of the system metricbeat is running on or user defined name. | keyword | | |
| [host.timezone.offset.sec](https://github.com/elastic/ecs#host.timezone.offset.sec) | Timezone offset of the host in seconds. | long | | `-5400` |
| <a name="host.timezone.offset.sec"></a>*host.timezone.offset.sec* | *Timezone offset of the host in seconds.* | long | | |
| [host.id](https://github.com/elastic/ecs#host.id) | Unique host id. | keyword | | |
| [event.module](https://github.com/elastic/ecs#event.module) | Name of the module this data is coming from. | keyword | | `mysql` |
| [event.dataset](https://github.com/elastic/ecs#event.dataset) | Name of the dataset.<br/>This contains the information which is currently stored in metricset.name and metricset.module. | keyword | | `stats` |
Expand Down

0 comments on commit 3a10b4a

Please sign in to comment.