Movatterモバイル変換


[0]ホーム

URL:


Loading
  1. Elastic Docs/
  2. Deploy and manage/
  3. Monitoring

Logging

You can configure several types of logs in Elastic Stack that can help you to gain insight into Elastic Stack operations, diagnose issues, and track certain types of events.

The following logging features are available:

The way that you access your logs differs depending on your deployment method.

Access your logs using one of the following options:

If you run Kibana as a service, the default location of the logs varies based on your platform and installation method:

OnDocker, log messages go to the console and are handled by the configured Docker logging driver. To access logs, rundocker logs.

ForDebian andRPM installations, Elasticsearch writes logs to/var/log/kibana.

FormacOS 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 adifferent location for your logs.

ForWindows.zip installations, Elasticsearch writes logs to%KIBANA_HOME%\logs.

Files in%KIBANA_HOME% risk deletion during an upgrade. In production, you should configure adifferent location for your logs.

If you run Kibana from the command line, Kibana prints logs to the standard output (stdout).

You can also consume logs usingstack monitoring.

If you run Elasticsearch as a service, the default location of the logs varies based on your platform and installation method:

OnDocker, log messages go to the console and are handled by the configured Docker logging driver. To access logs, rundocker logs.

ForDebian andRPM installations, Elasticsearch writes logs to/var/log/elasticsearch.

FormacOS and Linux.tar.gz installations, Elasticsearch writes logs to$ES_HOME/logs.

Files in$ES_HOME risk deletion during an upgrade. In production, we strongly recommend you setpath.logs to a location outside of$ES_HOME. SeePath settings.

ForWindows.zip installations, Elasticsearch writes logs to%ES_HOME%\logs.

Files in%ES_HOME% risk deletion during an upgrade. In production, we strongly recommend you setpath.logs to a location outside of%ES_HOME%. SeePath settings.

If you run Elasticsearch from the command line, Elasticsearch prints logs to the standard output (stdout).

You can also consume logs usingstack monitoring.

You can also collect and index the following types of logs from other components in your deployments:

APM

  • apm*.log*

Fleet and Elastic Agent

  • fleet-server-json.log-*
  • elastic-agent-json.log-*

The* indicates that we also index the archived files of each type of log.

In Elastic Cloud Hosted and Elastic Cloud Enterprise, these types of logs are automatically ingested whenstack monitoring is enabled.


[8]ページ先頭

©2009-2026 Movatter.jp