Skip to content

Commit 3b40cb6

Browse files
committed
add field mapping to filebeat ds
1 parent fc1a8bd commit 3b40cb6

1 file changed

Lines changed: 57 additions & 0 deletions

File tree

  • packages/elastic_agent/data_stream/filebeat_metrics/fields

packages/elastic_agent/data_stream/filebeat_metrics/fields/fields.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,63 @@
2323
ignore_above: 1024
2424
description: Elastic agent version.
2525
example: 7.11.0
26+
# Filebeat Input Metrics fields
27+
- name: filebeat_input
28+
title: Filebeat Input Metric fields
29+
description: Fields related to the Filebeat Input Metrics
30+
type: group
31+
fields:
32+
# Common static fields for all inputs
33+
- name: id
34+
type: keyword
35+
description: ID of the Filebeat Input
36+
- name: input
37+
type: keyword
38+
description: Filebeat Input type
39+
# Common dynamic fields for all inputs
40+
- name: '*.histogram.*'
41+
type: object
42+
object_type: double
43+
object_type_mapping_type: "*"
44+
description: Map all fields with `path_match:``*.histogram.*` to `double`
45+
- name: '*.histogram.count'
46+
type: object
47+
object_type: long
48+
object_type_mapping_type: "*"
49+
description: Map all fields with `path_match:``*.histogram.count` to `long`
50+
- name: '*_total'
51+
type: object
52+
object_type: long
53+
object_type_mapping_type: "*"
54+
description: Map all fields with `path_match:``*_total` to `long`
55+
- name: '*_gauge'
56+
type: object
57+
object_type: long
58+
object_type_mapping_type: "*"
59+
description: Map all fields with `path_match:``*_gauge` to `long`
60+
- name: '*_length'
61+
type: object
62+
object_type: long
63+
object_type_mapping_type: "*"
64+
description: Map all fields with `path_match:``*_length` to `long`
65+
# CEL specific fields
66+
- name: resource
67+
type: keyword
68+
description: URL-ish of CEL input resource
69+
- name: cel_executions
70+
type: long
71+
description: URL-ish of input resource
72+
# Lumberjack specific fields
73+
- name: bind_address
74+
type: keyword
75+
description: Bind address of Lumberjack input.
76+
# UDP specific fields
77+
- name: device
78+
type: keyword
79+
description: Name of the UDP device being monitored
80+
- name: system_packet_drops
81+
type: long
82+
description: Number of udp drops noted in /proc/net/udp
2683
- name: system.process
2784
type: group
2885
fields:

0 commit comments

Comments
 (0)