This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Simplified log ingestion
editSimplified log ingestion
editThere 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:
The input type must be |
|
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.