You are viewing docs on Elastic's new documentation system, currently in technical preview. For all other Elastic docs, visit elastic.co/guide.

Log monitoring

Use Elastic to deploy and manage logs at a petabyte scale, and get insights from your logs in minutes.

Elastic Observability allows you to deploy and manage logs at a petabyte scale, giving you insights into your logs in minutes. You can also search across your logs in one place, troubleshoot in real time, and detect patterns and outliers with categorization and anomaly detection. For more information, refer to the following links:

Send logs data to your project

You can send logs data to your project in different ways depending on your needs:

  • Elastic Agent
  • Filebeat

When choosing between Elastic Agent and Filebeat, consider the different features and functionalities between the two options. See Beats and Elastic Agent capabilities for more information on which option best fits your situation.

Elastic Agent

Elastic Agent uses integrations to ingest logs from Kubernetes, MySQL, and many more data sources. You have the following options when installing and managing an Elastic Agent:

Fleet-managed Elastic Agent

Install an Elastic Agent and use Fleet to define, configure, and manage your agents in a central location.

See install Fleet-managed Elastic Agent.

Standalone Elastic Agent

Install an Elastic Agent and manually configure it locally on the system where it’s installed. You are responsible for managing and upgrading the agents.

See install standalone Elastic Agent.

Elastic Agent in a containerized environment

Run an Elastic Agent inside of a container — either with Fleet Server or standalone.

See install Elastic Agent in containers.

Filebeat

Filebeat is a lightweight shipper for forwarding and centralizing log data. Installed as a service on your servers, Filebeat monitors the log files or locations that you specify, collects log events, and forwards them to your Observability project for indexing.

Configure logs

The following resources provide information on configuring your logs:

  • Data streams: Efficiently store append-only time series data in multiple backing indices partitioned by time and size.
  • Data views: Query log entries from the data streams of specific datasets or namespaces.
  • Index lifecycle management: Configure the built-in logs policy based on your application's performance, resilience, and retention requirements.
  • Ingest pipeline: Parse and transform log entries into a suitable format before indexing.
  • Mapping: Define how data is stored and indexed.

View and monitor logs

Use Logs Explorer to search, filter, and tail all your logs ingested into your project in one place.

The following resources provide information on viewing and monitoring your logs:

  • Discover and explore: Discover and explore all of the log events flowing in from your servers, virtual machines, and containers in a centralized view.
  • Detect log anomalies: Use machine learning to detect log anomalies automatically.

Application logs

Application logs provide valuable insight into events that have occurred within your services and applications. See Application logs.

On this page