Skip to content

Instantly share code, notes, and snippets.

@asigatchov
Created December 28, 2016 19:29
Show Gist options
  • Save asigatchov/a11e9b26f21e61a6813ea394c8a65153 to your computer and use it in GitHub Desktop.
Save asigatchov/a11e9b26f21e61a6813ea394c8a65153 to your computer and use it in GitHub Desktop.
fluentd пример блока сохранения данных в elasticsearch
<match *.**>
@type elasticsearch_dynamic
buffer_type memory
buffer_chunk_limit 100m
buffer_queue_limit 128
logstash_format true
logstash_prefix ${tag_parts[1]}
include_tag_key true
tag_key @log_name
host 127.0.0.1
port 9200
time_key_format %Y-%m-%dT%H:%M:%S.%N%z
flush_interval 10s
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment