Type to search.

File Log OpenTelemetry Input Package

Serverless Observability Preview

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Preview

    This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply.

Serverless Security Preview

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Preview

    This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply.

Stack Preview 9.2+

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Preview since 9.2

    This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Version 0.2.0 Availability Preview This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply. (View all)
Subscription level
What's this?
Basic
Developed by
What's this?
Elastic
Minimum Kibana version(s) 9.2.0
The File Log OpenTelemetry input integration v0.2.0 is in technical preview

To use pre-release integrations, go to the Integrations page in Kibana, scroll down, and toggle on the Display beta integrations option.

The File Log OpenTelemetry Input Package for Elastic enables collection of logs from files through OpenTelemetry protocols using the filelogreceiver.

This package tails and parses logs from files by configuring file glob patterns in the Input Package, which then gets applied to the filelogreceiver present in the EDOT collector, which then forwards the data to Elastic Agent. The Elastic Agent processes and enriches the data before sending it to Elasticsearch for indexing and analysis.

Key fields are stored following Semantic Conventions for logs, among them:

Field Name Description
message Collected log line.
log.file.name File name.
log.file.path File path.

This integration can be used to collect custom log files.

Elastic Agent must be installed. For more details, check the Elastic Agent installation instructions. You can install only one Elastic Agent per host.

Elastic Agent is required to have permissions to read the monitored files.

This integration needs to be configured with the glob patterns of the files to collect. The include parameter is required and specifies the file glob patterns to read.

Once configured, you can find documents with the content of the collected log files.

For the full list of settings exposed for the receiver and examples, refer to the configuration section.

For help with Elastic ingest tools, check Common problems.

For more information on architectures that can be used for scaling this integration, check the Ingest Architectures documentation.

This package uses the File Log Receiver of the OTel Collector.

Changelog
Version Details Minimum Kibana version
0.2.0 Enhancement (View pull request)
Add missing filelogreceiver configuration parameters including multiline, encoding, file attributes, and performance settings.
9.2.0
0.1.0 Enhancement (View pull request)
Initial version of the package
9.2.0