Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.07 KB

grafana_config_log.md

File metadata and controls

36 lines (26 loc) · 1.07 KB

grafana_config_log

back to resource list

Configures the core log section of the configuration http://docs.grafana.org/installation/configuration/#log

Introduced: v4.0.0

Actions

  • :create
  • :delete

Properties

Name Type Default Description Allowed Values
mode String Either console file syslog Use space to separate multiple modes console file syslog
level String Logging level
filters String optional settings to set different levels for specific loggers

Examples

grafana_config_log 'grafana'
grafana_config_log 'grafana' do
  mode 'console file'
  level 'debug'
  file_format 'json'
  file_daily_rotate true
  file_max_days 30
end