Skip to content

Commit

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

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

We want to move away from logs to `logfile`

Reference: elastic/package-registry#517

(cherry picked from commit 2682ec8)
  • Loading branch information
ph authored Jul 13, 2020
1 parent 4836172 commit 9b0969c
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 @@ -47,6 +47,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 9b0969c

Please sign in to comment.