This is a cache of https://www.elastic.co/guide/en/fleet/8.19/elastic-agent-simplified-input-configuration.html. It is a snapshot of the page as it appeared on 2025-12-08T02:19:44.147+0000.
Simplified log ingestion | Fleet and Elastic Agent <strong>guide</strong> [8.19] | Elastic
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Simplified log ingestion

edit

There is a simplified option for ingesting log files with Elastic Agent. The simplest input configuration to ingest the file /var/log/my-application/log-file.log is:

inputs:
  - type: filestream 
    id: unique-id-per-input 
    paths: 
      - /var/log/my-application/log-file.log

The input type must be filestream.

A unique ID for the input.

An array containing all log file paths.

For other custom options to configure the input, refer to the filestream input in the Filebeat documentation.