Created
December 28, 2016 19:29
-
-
Save asigatchov/a11e9b26f21e61a6813ea394c8a65153 to your computer and use it in GitHub Desktop.
fluentd пример блока сохранения данных в elasticsearch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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