At 3c2072d support for inputs.d external input directory was added. However elastic-agent inspect command seems to not take into account the inputs.d directory during its execution.
I was checking the code of the command at
and it might misses to include the additional configs like it happens at
|
discover := discoverer(pathConfigFile, cfg.Settings.Path, externalConfigsGlob()) |
Since inspect command is really useful for evaluating policies etc it would be nice to provide full access to any additional inputs available.
cc: @kvch
At 3c2072d support for
inputs.dexternal input directory was added. Howeverelastic-agent inspectcommand seems to not take into account theinputs.ddirectory during its execution.I was checking the code of the command at
elastic-agent/internal/pkg/agent/cmd/inspect.go
Line 286 in a950518
elastic-agent/internal/pkg/agent/application/local_mode.go
Line 121 in 07a476d
Since
inspectcommand is really useful for evaluating policies etc it would be nice to provide full access to any additional inputs available.cc: @kvch