Skip to content

Commit

Permalink
Cherry-pick to 7.x: Initial spec file for apm-server (#21225) (#22811)
Browse files Browse the repository at this point in the history
  • Loading branch information
jalvz authored Dec 15, 2020
1 parent c1154eb commit 28e2ab2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/elastic-agent/pkg/agent/program/supported.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions x-pack/elastic-agent/spec/apm-server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: APM-Server
cmd: apm-server
artifact: apm-server
args: ["-E", "management.enabled=true", "-E", "management.mode=x-pack-fleet", "-E", "apm-server.data_streams.enabled=true"]
rules:
- fix_stream: {}
- filter_values:
selector: inputs
key: type
values:
- apm
- filter:
selectors:
- inputs
- output
when: length(${inputs}) > 0 and hasKey(${output}, 'elasticsearch')

0 comments on commit 28e2ab2

Please sign in to comment.