srv
The srv
service discovery plugin updates the targets by SRV Record.
Example Configuration
Here is an example of out_forward
updating the targets to get the SRV record from _fluentd._tcp.example.com
:
Parameters
@type
@type
The value must be srv
.
service
(required)
service
(required)Service without the underscore in RFC2782.
proto
proto
Proto without the underscore in RFC2782.
It is a required parameter.
hostname
hostname
The name in RFC2782.
dns_server_host
dns_server_host
The hostname of the DNS server to request the SRV record.
interval
interval
The interval of sending requests to DNS server.
dns_lookup
dns_lookup
Resolves the hostname to IP address of the SRV's Target.
shared_key
shared_key
The shared key per server.
username
username
The username for authentication.
password
password
The password for authentication.
If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is an open-source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.
Last updated