forked from elastic/ecs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
host.yml
166 lines (140 loc) · 4.92 KB
/
host.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
- name: host
title: Host
group: 2
short: Fields describing the relevant computing instance.
description: >
A host is defined as a general computing instance.
ECS host.* fields should be populated with details about the host on which
the event happened, or from which the measurement was taken.
Host types include hardware, virtual machines, Docker containers, and Kubernetes nodes.
type: group
fields:
- name: hostname
level: core
type: keyword
short: Hostname of the host.
description: >
Hostname of the host.
It normally contains what the `hostname` command returns on the host machine.
- name: name
level: core
type: keyword
short: Name of the host.
description: >
Name of the host.
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.
- name: id
level: core
type: keyword
short: Unique host id.
description: >
Unique host id.
As hostname is not always unique, use values that are meaningful
in your environment.
Example: The current usage of `beat.name`.
- name: ip
level: core
type: ip
description: >
Host ip addresses.
normalize:
- array
- name: mac
level: core
type: keyword
short: Host MAC addresses.
example: '["00-00-5E-00-53-23", "00-00-5E-00-53-24"]'
description: >
Host MAC addresses.
The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is
represented by two [uppercase] hexadecimal digits giving the value of
the octet as an unsigned integer. Successive octets are separated by a
hyphen.
normalize:
- array
- name: type
level: core
type: keyword
short: Type of host.
description: >
Type of host.
For Cloud providers this can be the machine type like `t2.medium`.
If vm, this could be the container, for example, or other information
meaningful in your environment.
- name: uptime
level: extended
type: long
example: 1325
description: >
Seconds the host has been up.
- name: architecture
level: core
type: keyword
example: "x86_64"
description: >
Operating system architecture.
- name: domain
level: extended
type: keyword
short: Name of the directory the group is a member of.
description: >
Name of the domain of which the host is a member.
For example, on Windows this could be the host's Active Directory domain or NetBIOS domain name.
For Linux this could be the domain of the host's LDAP provider.
example: CONTOSO
- name: cpu.usage
level: extended
type: scaled_float
scaling_factor: 1000
short: Percent CPU used, between 0 and 1.
description: >
Percent CPU used which is normalized by the number of CPU cores and it
ranges from 0 to 1.
Scaling factor: 1000.
For example: For a two core host, this value should be the average of
the two cores, between 0 and 1.
- name: disk.read.bytes
type: long
level: extended
short: The number of bytes read by all disks.
description: >
The total number of bytes (gauge) read successfully (aggregated from all
disks) since the last metric collection.
- name: disk.write.bytes
type: long
level: extended
short: The number of bytes written on all disks.
description: >
The total number of bytes (gauge) written successfully (aggregated from
all disks) since the last metric collection.
- name: network.ingress.bytes
type: long
level: extended
short: The number of bytes received on all network interfaces.
description: >
The number of bytes received (gauge) on all network interfaces by the
host since the last metric collection.
- name: network.ingress.packets
type: long
level: extended
short: The number of packets received on all network interfaces.
description: >
The number of packets (gauge) received on all network interfaces by the
host since the last metric collection.
- name: network.egress.bytes
type: long
level: extended
short: The number of bytes sent on all network interfaces.
description: >
The number of bytes (gauge) sent out on all network interfaces by the
host since the last metric collection.
- name: network.egress.packets
type: long
level: extended
short: The number of packets sent on all network interfaces.
description: >
The number of packets (gauge) sent out on all network interfaces by the
host since the last metric collection.