Kibana logging | Elastic Docs (original) (raw)
ECE ECK Elastic Cloud Hosted Self Managed
You do not need to configure any additional settings to use the logging features in Kibana. Logging is enabled by default.
In all deployment types, you might want to change the log level for Kibana. In a self-managed, ECE, or ECK deployment, you might want to further customize your logging settings to define where log messages are displayed, stored, and formatted, or provide granular settings for different loggers.
You can also configure Kibana task manager health monitoring using logging settings.
Access Kibana logs
The way that you access your logs differs depending on your deployment method.
Orchestrated deployments
Access your logs using one of the following options:
- All orchestrated deployments: Stack monitoring
- Elastic Cloud Hosted: Preconfigured logs and metrics
- Elastic Cloud Enterprise: Platform monitoring
Self-managed deployments
If you run Kibana as a service, the default location of the logs varies based on your platform and installation method:
Docker
On Docker, log messages go to the console and are handled by the configured Docker logging driver. To access logs, run docker logs
.
Debian (APT) and RPM
For Debian and RPM installations, Elasticsearch writes logs to /var/log/kibana
.
macOS and Linux
For macOS and Linux .tar.gz installations, Elasticsearch writes logs to $KIBANA_HOME/logs
.
Files in $KIBANA_HOME
risk deletion during an upgrade. In production, you should configure a different location for your logs.
Windows .zip
For Windows .zip installations, Elasticsearch writes logs to %KIBANA_HOME%\logs
.
Files in %KIBANA_HOME%
risk deletion during an upgrade. In production, you should configure a different location for your logs.
If you run Kibana from the command line, Elasticsearch prints logs to the standard output (stdout
).
You can also consume logs using stack monitoring.