## case study
It is a guide to replicate single mysql table to elasticsearch.
## configuration
```
type mysql_replicator_elasticsearch
# Set Elasticsearch connection.
host localhost
port 9200
# Set Elasticsearch index, type, and unique id (primary_key) from tag.
tag_format (?[^\.]+)\.(?[^\.]+)\.(?[^\.]+)$
# Set frequency of sending bulk request to Elasticsearch node.
flush_interval 5s
# Set maximum retry interval (required fluentd >= 0.10.41)
max_retry_wait 1800
# Queued chunks are flushed at shutdown process.
flush_at_shutdown yes
```