Skip to content

Commit

Permalink
updated config map for standalone from elastic#2113
Browse files Browse the repository at this point in the history
  • Loading branch information
gsantoro committed Jan 17, 2023
1 parent 1fffd1d commit 895dc68
Showing 1 changed file with 45 additions and 26 deletions.
71 changes: 45 additions & 26 deletions dev-tools/kubernetes/base/elastic-agent-standalone/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ data:
meta:
package:
name: kubernetes
version: 1.9.0
version: 1.29.2
data_stream:
namespace: default
streams:
Expand Down Expand Up @@ -273,7 +273,7 @@ data:
meta:
package:
name: system
version: 0.10.7
version: 1.20.4
data_stream:
namespace: default
streams:
Expand All @@ -289,10 +289,8 @@ data:
pattern: ^\s
match: after
processors:
- add_fields:
target: ''
fields:
ecs.version: 1.12.0
- add_locale: null
ignore_older: 72h
- data_stream:
dataset: system.syslog
type: logs
Expand All @@ -305,17 +303,40 @@ data:
pattern: ^\s
match: after
processors:
- add_fields:
target: ''
fields:
ecs.version: 1.12.0
- add_locale: null
ignore_older: 72h
- id: windows-event-log
type: winlog
use_output: default
meta:
package:
name: system
version: 1.20.4
data_stream:
namespace: default
streams:
- data_stream:
type: logs
dataset: system.application
condition: '${host.platform} == ''windows'''
ignore_older: 72h
- data_stream:
type: logs
dataset: system.security
condition: '${host.platform} == ''windows'''
ignore_older: 72h
- data_stream:
type: logs
dataset: system.system
condition: '${host.platform} == ''windows'''
ignore_older: 72h
- id: container-log-${kubernetes.pod.name}-${kubernetes.container.id}
type: filestream
use_output: default
meta:
package:
name: kubernetes
version: 1.9.0
version: 1.29.2
data_stream:
namespace: default
streams:
Expand All @@ -340,7 +361,7 @@ data:
meta:
package:
name: kubernetes
version: 1.9.0
version: 1.29.2
data_stream:
namespace: default
streams:
Expand Down Expand Up @@ -385,17 +406,10 @@ data:
meta:
package:
name: system
version: 0.10.9
version: 1.20.4
data_stream:
namespace: default
streams:
- data_stream:
dataset: system.core
type: metrics
metricsets:
- core
core.metrics:
- percentages
- data_stream:
dataset: system.cpu
type: metrics
Expand Down Expand Up @@ -433,6 +447,7 @@ data:
- data_stream:
dataset: system.load
type: metrics
condition: '${host.platform} != ''windows'''
period: 10s
metricsets:
- load
Expand All @@ -452,38 +467,42 @@ data:
- data_stream:
dataset: system.process
type: metrics
process.include_top_n.by_memory: 5
period: 10s
processes:
- .*
process.include_top_n.by_cpu: 5
process.cgroups.enabled: false
process.include_top_n.by_memory: 5
process.cmdline.cache.enabled: true
process.cgroups.enabled: false
process.include_cpu_ticks: false
metricsets:
- process
process.include_cpu_ticks: false
system.hostfs: /hostfs
- data_stream:
dataset: system.process_summary
type: metrics
period: 10s
metricsets:
- process_summary
system.hostfs: /hostfs
- data_stream:
dataset: system.socket_summary
type: metrics
period: 10s
metricsets:
- socket_summary
system.hostfs: /hostfs
- data_stream:
type: metrics
dataset: system.uptime
metricsets:
- uptime
period: 10s
- id: kubernetes-node-metrics
type: kubernetes/metrics
use_output: default
meta:
package:
name: kubernetes
version: 1.9.0
version: 1.29.2
data_stream:
namespace: default
streams:
Expand Down

0 comments on commit 895dc68

Please sign in to comment.