Elasticsearch
Elasticsearch output plugin supports TTL/SSL, for more details about the properties available and general configuration, please refer to the TLS/SSL section.
In order to insert records into a Elasticsearch service, you can run the plugin from the command line or through the configuration file:
Using the format specified, you could start Fluent Bit through:
$ fluent-bit -i cpu -t cpu -o es://192.168.2.3:9200/my_index/my_type \
-o stdout -m '*'
which is similar to do:
In your main configuration file append the following Input & Output sections:
[INPUT]
Name cpu
[OUTPUT]
Name es
Match *
Port 9200
Index my_index
becomes
{"cpu0_p_cpu"=>17.000000}
Since Elasticsearch 6.0, you cannot create multiple types in a single index. This means that you cannot set up your configuration as below anymore.
If you see an error message like below, you’ll need to fix your configuration to use a single type on each index.
For details, please read .