Skip to content

Commit

Permalink
[Elastic Agent] Remove support for "logs" and only support logfile (e…
Browse files Browse the repository at this point in the history
…lastic#19761)

* [Elastic Agent] Remove support for "logs" and only support logfile

We want to move away from logs to `logfile`

Reference: elastic/package-registry#517

* Changelog
  • Loading branch information
ph committed Jul 13, 2020
1 parent 29b2d27 commit 2682ec8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions x-pack/elastic-agent/CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
- Fix install service script for windows {pull}18814[18814]
- Properly stops subprocess on shutdown {pull}19567[19567]
- Forward revision number of the configuration to the endpoint. {pull}19759[19759]
- Remove support for logs type and use logfile {pull}19761[19761]

==== New features

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ const fleetResponse = `
]
},
{
"type": "logs",
"type": "logfile",
"enabled": true,
"streams": [{
"id": "logs-system.auth",
Expand Down
2 changes: 1 addition & 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.

1 change: 0 additions & 1 deletion x-pack/elastic-agent/spec/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ rules:
- translate:
path: type
mapper:
logs: log
logfile: log
event/file: log
event/stdin: stdin
Expand Down

0 comments on commit 2682ec8

Please sign in to comment.