File tree Expand file tree Collapse file tree 3 files changed +250
-4
lines changed
core/template-resources/src/main/resources
monitoring/src/main/java/org/elasticsearch/xpack/monitoring Expand file tree Collapse file tree 3 files changed +250
-4
lines changed Original file line number Diff line number Diff line change
1
+ pr : 127053
2
+ summary : Add missing fields to the Logstash Stack Monitoring Template
3
+ area : Monitoring
4
+ type : enhancement
5
+ issues :
6
+ - 125499
Original file line number Diff line number Diff line change 28
28
},
29
29
"heap_used_in_bytes" : {
30
30
"type" : " long"
31
+ },
32
+ "heap_used_percent" : {
33
+ "type" : " half_float"
31
34
}
32
35
}
33
36
},
34
37
"uptime_in_millis" : {
35
38
"type" : " long"
39
+ },
40
+ "gc" : {
41
+ "properties" : {
42
+ "collectors" : {
43
+ "properties" : {
44
+ "young" : {
45
+ "properties" : {
46
+ "collection_count" : {
47
+ "type" : " long"
48
+ },
49
+ "collection_time_in_millis" : {
50
+ "type" : " long"
51
+ }
52
+ }
53
+ },
54
+ "old" : {
55
+ "properties" : {
56
+ "collection_count" : {
57
+ "type" : " long"
58
+ },
59
+ "collection_time_in_millis" : {
60
+ "type" : " long"
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
36
67
}
37
68
}
38
69
},
39
70
"logstash" : {
40
71
"properties" : {
72
+ "ephemeral_id" : {
73
+ "type" : " keyword" ,
74
+ "ignore_above" : 1024
75
+ },
76
+ "host" : {
77
+ "type" : " keyword" ,
78
+ "ignore_above" : 1024
79
+ },
80
+ "http_address" : {
81
+ "type" : " keyword" ,
82
+ "ignore_above" : 1024
83
+ },
84
+ "name" : {
85
+ "type" : " keyword" ,
86
+ "ignore_above" : 1024
87
+ },
88
+ "pipeline" : {
89
+ "properties" : {
90
+ "workers" : {
91
+ "type" : " short"
92
+ },
93
+ "batch_size" : {
94
+ "type" : " long"
95
+ }
96
+ }
97
+ },
98
+ "snapshot" : {
99
+ "type" : " boolean"
100
+ },
101
+ "status" : {
102
+ "type" : " keyword" ,
103
+ "ignore_above" : 1024
104
+ },
41
105
"uuid" : {
42
106
"ignore_above" : 1024 ,
43
107
"type" : " keyword"
56
120
"type" : " double"
57
121
}
58
122
}
123
+ },
124
+ "max_file_descriptors" : {
125
+ "type" : " long"
126
+ },
127
+ "open_file_descriptors" : {
128
+ "type" : " long"
59
129
}
60
130
}
61
131
},
189
259
"type" : " half_float"
190
260
}
191
261
}
262
+ },
263
+ "percent" : {
264
+ "type" : " half_float"
192
265
}
193
266
}
194
267
},
211
284
},
212
285
"cfs_quota_micros" : {
213
286
"type" : " long"
287
+ },
288
+ "control_group" : {
289
+ "type" : " keyword" ,
290
+ "ignore_above" : 1024
214
291
}
215
292
}
216
293
},
217
294
"cpuacct" : {
218
295
"properties" : {
296
+ "control_group" : {
297
+ "type" : " keyword" ,
298
+ "ignore_above" : 1024
299
+ },
219
300
"usage_nanos" : {
220
301
"type" : " long"
221
302
}
248
329
}
249
330
}
250
331
},
332
+ "reloads" : {
333
+ "properties" : {
334
+ "failures" : {
335
+ "type" : " long"
336
+ },
337
+ "successes" : {
338
+ "type" : " long"
339
+ }
340
+ }
341
+ },
251
342
"timestamp" : {
252
343
"type" : " date"
253
344
}
292
383
"graph" : {
293
384
"properties" : {
294
385
"vertices" : {
295
- "type" : " object"
386
+ "type" : " nested" ,
387
+ "properties" : {
388
+ "config_name" : {
389
+ "type" : " keyword" ,
390
+ "ignore_above" : 1024
391
+ },
392
+ "explicit_id" : {
393
+ "type" : " boolean"
394
+ },
395
+ "id" : {
396
+ "type" : " keyword" ,
397
+ "ignore_above" : 1024
398
+ },
399
+ "meta" : {
400
+ "properties" : {
401
+ "source" : {
402
+ "properties" : {
403
+ "column" : {
404
+ "type" : " long"
405
+ },
406
+ "id" : {
407
+ "type" : " keyword" ,
408
+ "ignore_above" : 1024
409
+ },
410
+ "line" : {
411
+ "type" : " long"
412
+ },
413
+ "protocol" : {
414
+ "type" : " keyword" ,
415
+ "ignore_above" : 1024
416
+ }
417
+ }
418
+ }
419
+ }
420
+ },
421
+ "plugin_type" : {
422
+ "type" : " keyword" ,
423
+ "ignore_above" : 1024
424
+ },
425
+ "type" : {
426
+ "type" : " keyword" ,
427
+ "ignore_above" : 1024
428
+ }
429
+ }
296
430
},
297
431
"edges" : {
298
- "type" : " object"
432
+ "type" : " nested" ,
433
+ "properties" : {
434
+ "from" : {
435
+ "type" : " keyword" ,
436
+ "ignore_above" : 1024
437
+ },
438
+ "id" : {
439
+ "type" : " keyword" ,
440
+ "ignore_above" : 1024
441
+ },
442
+ "to" : {
443
+ "type" : " keyword" ,
444
+ "ignore_above" : 1024
445
+ },
446
+ "type" : {
447
+ "type" : " keyword" ,
448
+ "ignore_above" : 1024
449
+ }
450
+ }
299
451
}
300
452
}
301
453
}
330
482
}
331
483
}
332
484
}
485
+ },
486
+ "cluster" : {
487
+ "properties" : {
488
+ "id" : {
489
+ "type" : " keyword" ,
490
+ "ignore_above" : 1024
491
+ }
492
+ }
333
493
}
334
494
}
335
495
},
531
691
"version" : {
532
692
"ignore_above" : 1024 ,
533
693
"type" : " keyword"
694
+ },
695
+ "node" : {
696
+ "properties" : {
697
+ "name" : {
698
+ "type" : " keyword" ,
699
+ "ignore_above" : 1024
700
+ }
701
+ }
534
702
}
535
703
}
536
704
},
537
705
"host" : {
538
706
"properties" : {
539
- "name" : {
707
+ "architecture" : {
708
+ "type" : " keyword" ,
709
+ "ignore_above" : 1024
710
+ },
711
+ "hostname" : {
712
+ "type" : " keyword" ,
713
+ "ignore_above" : 1024
714
+ },
715
+ "id" : {
540
716
"type" : " keyword" ,
541
717
"ignore_above" : 1024
542
718
},
543
719
"ip" : {
544
720
"type" : " ip"
721
+ },
722
+ "mac" : {
723
+ "type" : " keyword" ,
724
+ "ignore_above" : 1024
725
+ },
726
+ "name" : {
727
+ "type" : " keyword" ,
728
+ "ignore_above" : 1024
729
+ },
730
+ "os" : {
731
+ "properties" : {
732
+ "build" : {
733
+ "type" : " keyword" ,
734
+ "ignore_above" : 1024
735
+ },
736
+ "family" : {
737
+ "type" : " keyword" ,
738
+ "ignore_above" : 1024
739
+ },
740
+ "kernel" : {
741
+ "type" : " keyword" ,
742
+ "ignore_above" : 1024
743
+ },
744
+ "name" : {
745
+ "type" : " keyword" ,
746
+ "ignore_above" : 1024
747
+ },
748
+ "platform" : {
749
+ "type" : " keyword" ,
750
+ "ignore_above" : 1024
751
+ },
752
+ "type" : {
753
+ "type" : " keyword" ,
754
+ "ignore_above" : 1024
755
+ },
756
+ "version" : {
757
+ "type" : " keyword" ,
758
+ "ignore_above" : 1024
759
+ }
760
+ }
545
761
}
546
762
}
547
763
},
578
794
"cluster_uuid" : {
579
795
"type" : " alias" ,
580
796
"path" : " logstash.elasticsearch.cluster.id"
797
+ },
798
+ "agent" : {
799
+ "properties" : {
800
+ "ephemeral_id" : {
801
+ "type" : " keyword" ,
802
+ "ignore_above" : 1024
803
+ },
804
+ "id" : {
805
+ "type" : " keyword" ,
806
+ "ignore_above" : 1024
807
+ },
808
+ "name" : {
809
+ "type" : " keyword" ,
810
+ "ignore_above" : 1024
811
+ },
812
+ "type" : {
813
+ "type" : " keyword" ,
814
+ "ignore_above" : 1024
815
+ },
816
+ "version" : {
817
+ "type" : " keyword" ,
818
+ "ignore_above" : 1024
819
+ }
820
+ }
581
821
}
582
822
}
583
823
},
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public class MonitoringTemplateRegistry extends IndexTemplateRegistry {
77
77
* writes monitoring data in ECS format as of 8.0. These templates define the ECS schema as well as alias fields for the old monitoring
78
78
* mappings that point to the corresponding ECS fields.
79
79
*/
80
- public static final int STACK_MONITORING_REGISTRY_VERSION = 8_00_00_99 + 21 ;
80
+ public static final int STACK_MONITORING_REGISTRY_VERSION = 8_00_00_99 + 22 ;
81
81
private static final String STACK_MONITORING_REGISTRY_VERSION_VARIABLE = "xpack.stack.monitoring.template.release.version" ;
82
82
private static final String STACK_TEMPLATE_VERSION = "8" ;
83
83
private static final String STACK_TEMPLATE_VERSION_VARIABLE = "xpack.stack.monitoring.template.version" ;
You can’t perform that action at this time.
0 commit comments