Skip to content

Commit e3f12fd

Browse files
authored
Add documentation around inputs.d to config file (#2574)
The inputs.d feature was added in elastic/beats#30087 for elastic agent but unfortunately without any documentation. inputs.d directory is especially useful in the elastic-agent standalone mode. The close the first gap around documentation, I added it to the elastic-agent.yml file. For awareness, this is an open issue around inputs.d directory: #622
1 parent 1131f11 commit e3f12fd

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

_meta/config/common.p2.yml.tmpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ outputs:
99
# username: "elastic"
1010
# password: "changeme"
1111

12+
13+
14+
# Here you can configure your list of inputs. You can either configure all the inputs as a list of arrays
15+
# or create an "inputs.d" directory containing your input configurations.
16+
# See https://www.elastic.co/guide/en/fleet/current/elastic-agent-configuration.html for how to structure the "inputs.d" directory.
1217
inputs:
1318
- type: system/metrics
1419
# Each input must have a unique ID.

elastic-agent.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ outputs:
1515
# username: "elastic"
1616
# password: "changeme"
1717

18+
19+
20+
# Here you can configure your list of inputs. You can either configure all the inputs as a list of arrays
21+
# or create an "inputs.d" directory containing your input configurations.
22+
# See https://www.elastic.co/guide/en/fleet/current/elastic-agent-configuration.html for how to structure the "inputs.d" directory.
1823
inputs:
1924
- type: system/metrics
2025
# Each input must have a unique ID.

0 commit comments

Comments
 (0)