You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to rework Beats argument parsing and init calls to make libbeat both safe to import in other code bases but also provide guidance for APM to use the modified code correctly.
flag.CommandLine
infunc init()
" #41152had to be reverted because of APM issues:
Also when trying to add beats to elastic-agent we discovered:
We need to rework Beats argument parsing and init calls to make libbeat both safe to import in other code bases but also provide guidance for APM to use the modified code correctly.
Locations that need updating:
libbeat
beats/libbeat/plugin/cli.go
Line 55 in 6d4fbfc
beats/libbeat/cfgfile/cfgfile.go
Lines 54 to 64 in 2ff38df
beats/libbeat/common/fleetmode/fleet_mode.go
Lines 29 to 49 in 2ff38df
beats/libbeat/statestore/internal/storecompliance/storecompliance.go
Lines 48 to 51 in 2ff38df
beats/libbeat/cmd/root.go
Lines 36 to 43 in 2ff38df
beats/libbeat/publisher/pipeline/module.go
Lines 53 to 55 in 2ff38df
beats/libbeat/cmd/root.go
Lines 98 to 115 in 2ff38df
beats/libbeat/cmd/instance/beat.go
Lines 979 to 982 in 2ff38df
beats/libbeat/cmd/run.go
Lines 44 to 47 in 2ff38df
beats/libbeat/common/config.go
Line 35 in 2ff38df
filebeat
beats/filebeat/fileset/flags.go
Lines 28 to 32 in 6339a42
beats/filebeat/cmd/root.go
Lines 50 to 52 in 6339a42
beats/filebeat/cmd/root.go
Lines 66 to 74 in 6339a42
beats/filebeat/beater/filebeat.go
Line 67 in 6339a42
metricbeat
beats/metricbeat/internal/sysinit/init.go
Line 31 in 6339a42
beats/metricbeat/cmd/root.go
Lines 62 to 63 in 6339a42
beats/metricbeat/helper/windows/run.go
Lines 35 to 42 in 6339a42
beats/metricbeat/helper/windows/pdh/mkpdh_defs.go
Lines 33 to 35 in 6339a42
packetbeat
beats/packetbeat/cmd/root.go
Lines 51 to 57 in 6339a42
beats/packetbeat/beater/packetbeat.go
Lines 61 to 67 in 6339a42
x-pack
beats/x-pack/filebeat/module/cisco/shared/gen-ftd-ecs-mapping.go
Lines 22 to 23 in 6339a42
beats/x-pack/metricbeat/module/panw/client.go
Lines 36 to 40 in 6339a42
beats/x-pack/filebeat/module/cisco/shared/gen-ftd-ecs-mapping.go
Lines 22 to 23 in 6339a42
beats/x-pack/filebeat/input/netflow/fields_gen.go
Lines 26 to 29 in 6339a42
beats/x-pack/filebeat/input/netflow/decoder/fields/gen.go
Lines 20 to 27 in 6339a42
The text was updated successfully, but these errors were encountered: