Zuehlke / cookbook-elk-stack

0 stars 1 forks source link

Kibana should log to file, not stdout #17

Open tknerr opened 8 years ago

tknerr commented 8 years ago

might be resolved via #15, but currently with kibana 4.1.2 there is no logfile written by kibana.

It needs to be added to /opt/kibana/config/kibana.yml:

...
log_file: "/var/log/kibana/kibana.log"

Also, /var/log/kibana needs to exist and owned by kibana:kibana in that case

See also: https://www.elastic.co/guide/en/kibana/current/kibana-server-properties.html

And: log rotation does not happen automatically, i.e. needs to be set up via logrotate: https://discuss.elastic.co/t/does-kibana-4-configuration-supports-logrotation/26618 https://github.com/elastic/kibana/issues/4407

tknerr commented 8 years ago

For reference: the other log files are currently located in: