Skip to content

Added Network Total Metrics - From Split of #43 #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file based on the
### Bugfixes

### Added
* Add `network.total.packets` and `network.total.bytes` field. PR#2
* Add `event.action` field. #21
* Adds cloud.account.id for top level organizational level. #11
* Add `http.response.status_code` and `http.response.body` fields. #4
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ Fields related to network data.
| <a name="network.inbound.packets"></a>`network.inbound.packets` | Network inbound packets. | long | | `12` |
| <a name="network.outbound.bytes"></a>`network.outbound.bytes` | Network outbound bytes. | long | | `184` |
| <a name="network.outbound.packets"></a>`network.outbound.packets` | Network outbound packets. | long | | `12` |
| <a name="network.total.bytes"></a>`network.total.bytes` | Network total bytes. The sum of inbound.bytes + outbound.bytes. | long | | `368` |
| <a name="network.total.packets"></a>`network.total.packets` | Network outbound packets. The sum of inbound.packets + outbound.packets | long | | `24` |


## <a name="organization"></a> Organization fields
Expand Down
2 changes: 2 additions & 0 deletions schema.csv
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ network.inbound.packets,long,0,12
network.outbound.bytes,long,0,184
network.outbound.packets,long,0,12
network.protocol,keyword,0,http
network.total.bytes,long,0,368
network.total.packets,long,0,24
organization.id,keyword,0,
organization.name,text,0,
os.family,keyword,0,debian
Expand Down
10 changes: 10 additions & 0 deletions schemas/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,13 @@
description: >
Network outbound packets.
example: 12
- name: total.bytes
type: long
description: >
Network total bytes. The sum of inbound.bytes + outbound.bytes.
example: 368
- name: total.packets
type: long
description: >
Network outbound packets. The sum of inbound.packets + outbound.packets
example: 24
10 changes: 10 additions & 0 deletions template.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,16 @@
"protocol": {
"ignore_above": 1024,
"type": "keyword"
},
"total": {
"properties": {
"bytes": {
"type": "long"
},
"packets": {
"type": "long"
}
}
}
}
},
Expand Down