﻿---
title: Simplified log ingestion
description: 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...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4326/reference/fleet/elastic-agent-simplified-input-configuration
products:
  - Elastic Agent
  - Fleet
---

# Simplified log ingestion
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:
```yaml
inputs:
  - type: filestream 
    id: unique-id-per-input 
    paths: 
      - /var/log/my-application/log-file.log
```

For other custom options to configure the input, refer to the [filestream input](https://docs-v3-preview.elastic.dev/elastic/beats/tree/main/reference/filebeat/filebeat-input-filestream) in the Filebeat documentation.