-
Notifications
You must be signed in to change notification settings - Fork 525
/
fields.common.yml
780 lines (680 loc) · 19.8 KB
/
fields.common.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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
- key: apm
title: General APM
description: >
Fields common to various APM events.
fields:
- name: processor.name
type: keyword
description: Processor name.
- name: processor.event
type: keyword
description: Processor event.
- name: timestamp
type: group
fields:
- name: us
type: long
count: 1
description: >
Timestamp of the event in microseconds since Unix epoch.
- name: url
type: group
description: >
A complete Url, with scheme, host and path.
dynamic: false
fields:
- name: scheme
type: keyword
description: >
The protocol of the request, e.g. "https:".
overwrite: true
- name: full
type: keyword
description: >
The full, possibly agent-assembled URL of the request, e.g https://example.com:443/search?q=elasticsearch#top.
overwrite: true
- name: domain
type: keyword
description: >
The hostname of the request, e.g. "example.com".
overwrite: true
- name: port
type: long
description: >
The port of the request, e.g. 443.
overwrite: true
- name: path
type: keyword
description: >
The path of the request, e.g. "/search".
overwrite: true
- name: query
type: keyword
description: >
The query string of the request, e.g. "q=elasticsearch".
overwrite: true
- name: fragment
type: keyword
description: >
A fragment specifying a location in a web page , e.g. "top".
overwrite: true
- name: http
type: group
dynamic: false
fields:
- name: version
type: keyword
description: >
The http version of the request leading to this event.
overwrite: true
- name: request
type: group
fields:
- name: method
type: keyword
description: >
The http method of the request leading to this event.
overwrite: true
- name: headers
type: object
enabled: false
description: >
The canonical headers of the monitored HTTP request.
- name: referrer
type: keyword
ignore_above: 1024
overwrite: true
description: Referrer for this HTTP request.
- name: response
type: group
fields:
- name: status_code
type: long
description: >
The status code of the HTTP response.
overwrite: true
- name: finished
type: boolean
description: >
Used by the Node agent to indicate when in the response life cycle an error has occurred.
overwrite: true
- name: headers
type: object
enabled: false
description: >
The canonical headers of the monitored HTTP response.
- name: labels
type: object
object_type_params:
- object_type: keyword
- object_type: boolean
- object_type: scaled_float
scaling_factor: 1000000
dynamic: true
overwrite: true
description: >
A flat mapping of user-defined labels with string, boolean or number values.
- name: service
type: group
dynamic: false
description: >
Service fields.
fields:
- name: name
type: keyword
description: >
Immutable name of the service emitting this event.
overwrite: true
- name: version
type: keyword
description: >
Version of the service emitting this event.
overwrite: true
- name: environment
type: keyword
description: >
Service environment.
- name: node
type: group
fields:
- name: name
type: keyword
description: >
Unique meaningful name of the service node.
overwrite: true
- name: language
type: group
fields:
- name: name
type: keyword
description: >
Name of the programming language used.
- name: version
type: keyword
description: >
Version of the programming language used.
- name: runtime
type: group
fields:
- name: name
type: keyword
description: >
Name of the runtime used.
- name: version
type: keyword
description: >
Version of the runtime used.
- name: framework
type: group
fields:
- name: name
type: keyword
description: >
Name of the framework used.
- name: version
type: keyword
description: >
Version of the framework used.
- name: transaction
type: group
dynamic: false
fields:
- name: id
type: keyword
description: >
The transaction ID.
- name: sampled
type: boolean
description: >
Transactions that are 'sampled' will include all available information. Transactions that are not sampled will not have spans or context.
- name: type
type: keyword
description: >
Keyword of specific relevance in the service's domain (eg. 'request', 'backgroundjob', etc)
- name: name
type: keyword
multi_fields:
- name: text
type: text
description: >
Generic designation of a transaction in the scope of a single service (eg. 'GET /users/:id').
- name: duration
type: group
description:
fields:
- name: count
type: long
- name: sum
type: group
fields:
- name: us
type: long
- name: self_time
type: group
description: >
Portion of the transaction's duration where no direct child was running
fields:
- name: count
type: long
- name: sum
type: group
fields:
- name: us
type: long
- name: breakdown
type: group
description: >
Counter for collected breakdowns for the transaction
fields:
- name: count
type: long
- name: span
type: group
dynamic: false
fields:
- name: type
type: keyword
count: 1
description: >
Keyword of specific relevance in the service's domain (eg: 'db.postgresql.query', 'template.erb', 'cache', etc).
- name: subtype
type: keyword
count: 1
description: >
A further sub-division of the type (e.g. postgresql, elasticsearch)
- name: self_time
type: group
description: >
Portion of the span's duration where no direct child was running
fields:
- name: count
type: long
- name: sum
type: group
fields:
- name: us
type: long
- name: trace
type: group
dynamic: false
fields:
- name: id
type: keyword
description: >
The ID of the trace to which the event belongs to.
- name: parent
type: group
dynamic: false
fields:
- name: id
type: keyword
description: >
The ID of the parent event.
- name: agent
type: group
dynamic: false
fields:
- name: name
type: keyword
description: >
Name of the agent used.
overwrite: true
- name: version
type: keyword
description: >
Version of the agent used.
overwrite: true
- name: ephemeral_id
type: keyword
description: >
The Ephemeral ID identifies a running process.
overwrite: true
- name: container
type: group
dynamic: false
title: Container
description: >
Container fields are used for meta information about the specific container
that is the source of information. These fields help correlate data based
containers from any runtime.
fields:
- name: id
type: keyword
description: >
Unique container id.
overwrite: true
- name: kubernetes
type: group
dynamic: false
title: Kubernetes
description: >
Kubernetes metadata reported by agents
fields:
- name: namespace
type: keyword
description: >
Kubernetes namespace
overwrite: true
- name: node
type: group
fields:
- name: name
type: keyword
description: >
Kubernetes node name
overwrite: true
- name: pod
type: group
fields:
- name: name
type: keyword
description: >
Kubernetes pod name
overwrite: true
- name: uid
type: keyword
description: >
Kubernetes Pod UID
overwrite: true
- name: host
type: group
dynamic: false
description: >
Optional host fields.
fields:
- name: architecture
type: keyword
description: >
The architecture of the host the event was recorded on.
overwrite: true
- name: hostname
type: keyword
description: >
The hostname of the host the event was recorded on.
overwrite: true
- name: name
type: keyword
description: >
Name of the host the event was recorded on.
It can contain same information as host.hostname or a name specified by the user.
overwrite: true
- name: ip
type: ip
description: >
IP of the host that records the event.
overwrite: true
- name: os
title: Operating System
group: 2
description: >
The OS fields contain information about the operating system.
type: group
fields:
- name: platform
type: keyword
description: >
The platform of the host the event was recorded on.
overwrite: true
- name: process
type: group
dynamic: false
description: >
Information pertaining to the running process where the data was collected
fields:
- name: args
level: extended
type: keyword
description: >
Process arguments.
May be filtered to protect sensitive information.
overwrite: true
- name: pid
type: long
description: >
Numeric process ID of the service process.
overwrite: true
- name: ppid
type: long
description: >
Numeric ID of the service's parent process.
overwrite: true
- name: title
type: keyword
description: >
Service process title.
overwrite: true
- name: observer
type: group
dynamic: false
fields:
- name: listening
type: keyword
description: >
Address the server is listening on.
- name: hostname
type: keyword
overwrite: true
description: >
Hostname of the APM Server.
- name: version
type: keyword
overwrite: true
description: >
APM Server version.
- name: version_major
type: byte
description: >
Major version number of the observer
- name: type
type: keyword
overwrite: true
description: >
The type will be set to `apm-server`.
- name: user
type: group
dynamic: false
fields:
- name: name
type: keyword
description: >
The username of the logged in user.
overwrite: true
- name: id
type: keyword
description: >
Identifier of the logged in user.
overwrite: true
- name: email
type: keyword
description: >
Email of the logged in user.
overwrite: true
- name: client
dynamic: false
type: group
fields:
- name: ip
type: ip
description: >
IP address of the client of a recorded event.
This is typically obtained from a request's X-Forwarded-For or the X-Real-IP header or falls back to a given configuration for remote address.
overwrite: true
- name: source
dynamic: false
type: group
fields:
- name: ip
type: ip
description: >
IP address of the source of a recorded event.
This is typically obtained from a request's X-Forwarded-For or the X-Real-IP header or falls back to a given configuration for remote address.
overwrite: true
- name: destination
title: Destination
group: 2
description: 'Destination fields describe details about the destination of a packet/event.
Destination fields are usually populated in conjunction with source fields.'
type: group
fields:
- name: address
level: extended
type: keyword
ignore_above: 1024
description: 'Some event destination addresses are defined ambiguously. The
event will sometimes list an IP, a domain or a unix socket. You should always
store the raw address in the `.address` field.
Then it should be duplicated to `.ip` or `.domain`, depending on which one
it is.'
overwrite: true
- name: ip
level: core
type: ip
description: 'IP addess of the destination.
Can be one of multiple IPv4 or IPv6 addresses.'
overwrite: true
- name: port
level: core
type: long
format: string
description: Port of the destination.
overwrite: true
- name: user_agent
dynamic: false
title: User agent
description: >
The user_agent fields normally come from a browser request. They often
show up in web service logs coming from the parsed user agent string.
type: group
overwrite: true
fields:
- name: original
type: keyword
description: >
Unparsed version of the user_agent.
example: "Mozilla/5.0 (iPhone; CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1"
overwrite: true
multi_fields:
- name: text
type: text
description: >
Software agent acting in behalf of a user, eg. a web browser / OS combination.
overwrite: true
- name: name
type: keyword
overwrite: true
example: Safari
description: >
Name of the user agent.
- name: version
type: keyword
overwrite: true
description: >
Version of the user agent.
example: 12.0
- name: device
type: group
overwrite: true
title: Device
description: >
Information concerning the device.
fields:
- name: name
type: keyword
overwrite: true
example: iPhone
description: >
Name of the device.
- name: os
type: group
overwrite: true
title: Operating System
description: >
The OS fields contain information about the operating system.
fields:
- name: platform
type: keyword
overwrite: true
description: >
Operating system platform (such centos, ubuntu, windows).
example: darwin
- name: name
type: keyword
overwrite: true
example: "Mac OS X"
description: >
Operating system name, without the version.
- name: full
type: keyword
overwrite: true
example: "Mac OS Mojave"
description: >
Operating system name, including the version or code name.
- name: family
type: keyword
overwrite: true
example: "debian"
description: >
OS family (such as redhat, debian, freebsd, windows).
- name: version
type: keyword
overwrite: true
example: "10.14.1"
description: >
Operating system version as a raw string.
- name: kernel
type: keyword
overwrite: true
example: "4.4.0-112-generic"
description: >
Operating system kernel version as a raw string.
- name: experimental
type: object
dynamic: true
description: Additional experimental data sent by the agents.
- name: cloud
title: Cloud
group: 2
type: group
description: >
Cloud metadata reported by agents
fields:
- name: account
type: group
dynamic: false
fields:
- name: id
level: extended
type: keyword
ignore_above: 1024
description: Cloud account ID
overwrite: true
- name: name
level: extended
type: keyword
ignore_above: 1024
description: Cloud account name
overwrite: true
- name: availability_zone
level: extended
type: keyword
ignore_above: 1024
description: Cloud availability zone name
example: us-east1-a
overwrite: true
- name: instance
type: group
dynamic: false
fields:
- name: id
level: extended
type: keyword
ignore_above: 1024
description: Cloud instance/machine ID
overwrite: true
- name: name
level: extended
type: keyword
ignore_above: 1024
description: Cloud instance/machine name
overwrite: true
- name: machine
type: group
dynamic: false
fields:
- name: type
level: extended
type: keyword
ignore_above: 1024
description: Cloud instance/machine type
example: t2.medium
overwrite: true
- name: project
type: group
dynamic: false
fields:
- name: id
level: extended
type: keyword
ignore_above: 1024
description: Cloud project ID
overwrite: true
- name: name
level: extended
type: keyword
ignore_above: 1024
description: Cloud project name
overwrite: true
- name: provider
level: extended
type: keyword
ignore_above: 1024
description: Cloud provider name
example: gcp
overwrite: true
- name: region
level: extended
type: keyword
ignore_above: 1024
description: Cloud region name
example: us-east1
overwrite: true