Skip to content

Commit

Permalink
Stop overriding logging.{ecs,json} defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
axw committed Nov 15, 2021
1 parent 602d322 commit f5e65f7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 29 deletions.
7 changes: 0 additions & 7 deletions _meta/beat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1023,13 +1023,6 @@ output.elasticsearch:
# Unix epoch. Defaults to disabled.
#interval: 0

# Set to true to log messages in json format.
#logging.json: true

# Set to true, to log messages with minimal required Elastic Common Schema (ECS)
# information. Recommended to use in combination with `logging.json=true`.
#logging.ecs: true

#=============================== HTTP Endpoint ===============================

# apm-server can expose internal metrics through a HTTP endpoint. For security
Expand Down
7 changes: 0 additions & 7 deletions apm-server.docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1023,13 +1023,6 @@ output.elasticsearch:
# Unix epoch. Defaults to disabled.
#interval: 0

# Set to true to log messages in json format.
#logging.json: true

# Set to true, to log messages with minimal required Elastic Common Schema (ECS)
# information. Recommended to use in combination with `logging.json=true`.
#logging.ecs: true

#=============================== HTTP Endpoint ===============================

# apm-server can expose internal metrics through a HTTP endpoint. For security
Expand Down
7 changes: 0 additions & 7 deletions apm-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1023,13 +1023,6 @@ output.elasticsearch:
# Unix epoch. Defaults to disabled.
#interval: 0

# Set to true to log messages in json format.
#logging.json: true

# Set to true, to log messages with minimal required Elastic Common Schema (ECS)
# information. Recommended to use in combination with `logging.json=true`.
#logging.ecs: true

#=============================== HTTP Endpoint ===============================

# apm-server can expose internal metrics through a HTTP endpoint. For security
Expand Down
2 changes: 0 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ var libbeatConfigOverrides = func() []cfgfile.ConditionalOverride {
"metrics": map[string]interface{}{
"enabled": false,
},
"ecs": true,
"json": true,
},
}),
},
Expand Down
2 changes: 0 additions & 2 deletions systemtest/apmservertest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ func (s *Server) start(tls bool) error {
extra := map[string]interface{}{
// These are config attributes that we always specify,
// as the testing framework relies on them being set.
"logging.ecs": true,
"logging.json": true,
"logging.level": "debug",
"logging.to_stderr": true,
"apm-server.expvar.enabled": true,
Expand Down
4 changes: 0 additions & 4 deletions systemtest/export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ func TestExportConfigDefaults(t *testing.T) {

expectedConfig := strings.ReplaceAll(`
logging:
ecs: true
json: true
metrics:
enabled: false
path:
Expand All @@ -71,8 +69,6 @@ func TestExportConfigOverrideDefaults(t *testing.T) {

expectedConfig := strings.ReplaceAll(`
logging:
ecs: true
json: true
metrics:
enabled: true
path:
Expand Down

0 comments on commit f5e65f7

Please sign in to comment.