Skip to content

Commit

Permalink
Remove adaptive queue sizes from agent's spec files (elastic#27653)
Browse files Browse the repository at this point in the history
  • Loading branch information
faec authored and wiwen committed Nov 1, 2021
1 parent 78aeaf3 commit eb9463a
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 87 deletions.
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.

Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 350
flush:
min_events: 50
timeout: 1s

filebeat:
inputs:
- type: log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 350
flush:
min_events: 50
timeout: 1s

filebeat:
inputs:
- type: log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 350
flush:
min_events: 50
timeout: 1s

filebeat:
inputs:
- type: log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 350
flush:
min_events: 50
timeout: 1s

inputs:
- type: synthetics/http
id: unique-http-id
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 350
flush:
min_events: 50
timeout: 1s

metricbeat:
modules:
- module: docker
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 350
flush:
min_events: 50
timeout: 1s

inputs:
- type: packet
processors:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 575
flush:
min_events: 23
timeout: 1s

filebeat:
inputs:
- type: log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 575
flush:
min_events: 23
timeout: 1s

inputs:
- type: synthetics/http
id: unique-http-id
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 575
flush:
min_events: 23
timeout: 1s

metricbeat:
modules:
- module: docker
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 575
flush:
min_events: 23
timeout: 1s

inputs:
- type: packet
processors:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
queue:
mem:
events: 350
flush:
min_events: 50
timeout: 1s

inputs:
- type: synthetics/http
id: unique-http-id
Expand Down
1 change: 0 additions & 1 deletion x-pack/elastic-agent/spec/apm-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@ rules:
- output
- fleet
- inject_headers: {}
- inject_queue: {}
when: length(${inputs}) > 0 and hasKey(${output}, 'elasticsearch', 'redis',
'kafka', 'logstash')
2 changes: 0 additions & 2 deletions x-pack/elastic-agent/spec/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,5 @@ rules:

- inject_headers: {}

- inject_queue: {}

when: length(${filebeat.inputs}) > 0 and hasKey(${output}, 'elasticsearch', 'redis',
'kafka', 'logstash')
1 change: 0 additions & 1 deletion x-pack/elastic-agent/spec/heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ rules:
- inputs
- output
- keystore
- inject_queue: {}
when: length(${inputs}) > 0 and hasKey(${output}, 'elasticsearch', 'redis',
'kafka', 'logstash')
1 change: 0 additions & 1 deletion x-pack/elastic-agent/spec/metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ rules:
- output
- keystore
- inject_headers: {}
- inject_queue: {}

when: length(${metricbeat.modules}) > 0 and hasKey(${output}, 'elasticsearch',
'redis', 'kafka', 'logstash')
2 changes: 0 additions & 2 deletions x-pack/elastic-agent/spec/osquerybeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,5 @@ rules:
- inputs
- output

- inject_queue: {}

when: length(${inputs}) > 0 and hasKey(${output}, 'elasticsearch')
constraints: ${runtime.arch} != '386'
2 changes: 0 additions & 2 deletions x-pack/elastic-agent/spec/packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ rules:
- inputs
- output

- inject_queue: {}

when: length(${inputs}) > 0 and hasKey(${output}, 'elasticsearch', 'redis',
'kafka', 'logstash')

0 comments on commit eb9463a

Please sign in to comment.