Elasticsearch
The Elasticsearch input plugin handles both Elasticsearch and OpenSearch Bulk API requests.
Configuration parameters
The plugin supports the following configuration parameters:
buffer_max_size
Set the maximum size of buffer.
4M
buffer_chunk_size
Set the buffer chunk size.
512K
tag_key
Specify a key name for extracting as a tag.
NULL
meta_key
Specify a key name for meta information.
"@meta"
hostname
Specify hostname or fully qualified domain name. This parameter can be used for "sniffing" (auto-discovery of) cluster node information.
"localhost"
version
Specify Elasticsearch server version. This parameter is effective for checking a version of Elasticsearch/OpenSearch server version.
"8.0.0"
threaded
false
The Elasticsearch cluster uses "sniffing" to optimize the connections between its cluster and clients.
Elasticsearch can build its cluster and dynamically generate a connection list which is called "sniffing".
The hostname
will be used for sniffing information and this is handled by the sniffing endpoint.
Get started
In order to start performing the checks, you can run the plugin from the command line or through the configuration file:
Command line
From the command line you can configure Fluent Bit to handle Bulk API requests with the following options:
Configuration file
In your configuration file append the following Input
and Output
sections:
As described previously, the plugin will handle ingested Bulk API requests.
For large bulk ingestion, you might have to increase buffer size using the buffer_max_size
and buffer_chunk_size
parameters:
Ingesting from beats series
The Fluent Bit node information is returning as Elasticsearch 8.0.0.
Users must specify the following configurations on their beats configurations:
For large log ingestion on these beat plugins, users might have to configure rate limiting on those beats plugins when Fluent Bit indicates that the application is exceeding the size limit for HTTP requests:
Last updated
Was this helpful?