---
title: Fluentd 設定檔
tags: Fluentd
description: View the slide with "Slide Mode".
---
# Fluentd 設定檔
<!-- Put the link to this slide here so people can follow -->
##
# Elasticsearch
## hosts
> hosts host1:port1,host2:port2,host3:port3
> You can specify multiple Elasticsearch hosts with separator ",".
If you specify multiple hosts, this plugin will <font color=red>load balance</font> updates to Elasticsearch. This is an elasticsearch-ruby feature, the default strategy is <font color=red>round-robin</font>.
[參考資料](https://github.com/uken/fluent-plugin-elasticsearch#hosts)