Elasticsearch
Elasticsearch output plugin supports TTL/SSL, for more details about the properties available and general configuration, please refer to the TLS/SSL section.
The es plugin, can read the parameters from the command line in two ways, through the -p argument (property) or setting them directly through the service URI. The URI format is the following:
Using the format specified, you could start Fluent Bit through:
-o stdout -m '*'
In your main configuration file append the following Input & Output sections:
[INPUT]
Name cpu
[OUTPUT]
Match *
Port 9200
Index my_index
Type my_type
Some input plugins may generate messages where the field names contains dots, since Elasticsearch 2.0 this is not longer allowed, so the current es plugin replaces them with an underscore, e.g:
{"cpu0_p_cpu"=>17.000000}