Filebeat
Filebeat is a lightweight shipper for forwarding and centralizing log data. Installed as an agent on your servers, Filebeat monitors the log files or locations that you specify, collects log events, and forwards them either to Elasticsearch or Logstash for indexing.
Apica Ascent supports data ingestion from Filebeat. The following section describes the steps for configuring log forwarding from Filebeat to Apica Ascent by modifying the Filebeat configuration file.
Configuring Filebeat to forward logs to Apica Ascent
To configure Filebeat, you need to configure the Filebeat configuration file. The location of your Filebeat configuration file can vary depending on your platform. Locate and access the configuration file and modify it as described below.
Ingest Ports
Apica Ascent hosts the lumberjack protocol at port 25224 (non-TLS)
The ports are configurable and can be changed if needed.
Understanding Filebeats configuration
Filebeats configuration consists of 2 key sections input and output.
The input section describes what files to process. The output section describes how/where to send the collected data. In addition, the input section contains processors that allow data modification before it is sent to the output. We will look at each of these below.
INPUT
The input section will typically contain the list of file paths that Filebeat should monitor.
OUTPUT
The output section describes how to send data to Apica Ascent. The Apica Ascent layer supports the lumberjack protocols v1 and v2 for ingesting data and is compatible with logstash. Use output type logstash
PROCESSORS
Under the input
section, including the processors
the section in addition to your existing Filebeat configuration along with namespace
, application
, and cluster_id
. Doing so ensures that the logs you forward to Apica Ascent can be identified and partitioned easily
We strongly recommend partitioning your data for better organization as well as query performance. Each Cluster, Namespace, and Application tuple becomes a partition in Apica Ascent and can be used to organize data that is logically related
PERSISTENCE
We strongly recommend running fiilebeats with disk persistence enabled. Not doing so can result in data loss when there are mismatches in throughput, sudden data bursts etc.
Please note the diskqueue folder must exist and have write permissions for filebeats
Example
The following is a complete Filebeat configuration for forwarding logs to Apica Ascent without SSL.
Last updated