Skip to content

Commit

Permalink
revert log changes after debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
makelicious committed Jul 15, 2024
1 parent 421c849 commit e54443a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 7 deletions.
40 changes: 34 additions & 6 deletions infrastructure/monitoring/beats/metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,46 @@ metricbeat.autodiscover:
metricbeat.modules:
#------------------------------- System Module -------------------------------
- module: system
metricsets:
[
'cpu',
'load',
'memory',
'network',
'process',
'process_summary',
'core',
'diskio',
'socket'
]
processes: ['.*']
process.include_top_n:
by_cpu: 5
by_memory: 5
period: 10s
cpu.metrics: ['percentages']
core.metrics: ['percentages']

- module: system
period: 1m
metricsets:
- filesystem
- fsstat
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'

- module: system
period: 15m
metricsets:
- uptime

#------------------------------- Docker Module -------------------------------
# - module: docker
# metricsets:
# ['container', 'cpu', 'diskio', 'healthcheck', 'info', 'memory', 'network']
# hosts: ['unix:///var/run/docker.sock']
# period: 10s
- module: docker
metricsets:
['container', 'cpu', 'diskio', 'healthcheck', 'info', 'memory', 'network']
hosts: ['unix:///var/run/docker.sock']
period: 10s

#================================ Processors ===================================
processors:
Expand Down Expand Up @@ -70,5 +98,5 @@ setup.ilm.check_exists: true
setup.ilm.overwrite: true

#============================== Logging ===============================
logging.level: debug
logging.level: warning
logging.to_stderr: true
2 changes: 1 addition & 1 deletion infrastructure/monitoring/kibana/kibana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ xpack.actions.preconfiguredAlertHistoryEsIndex: true

# =================== System: Logging ===================
# Set the value of this setting to off to suppress all logging output, or to debug to log everything. Defaults to 'info'
logging.root.level: debug
logging.root.level: error
# Enables you to specify a file where Kibana stores log output.
#logging.appenders.default:
# type: file
Expand Down

0 comments on commit e54443a

Please sign in to comment.