Created
October 6, 2020 16:49
-
-
Save DavidSanwald/432b6aabd6b8b83f9285ff78eb6c2801 to your computer and use it in GitHub Desktop.
This file contains 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
<source> | |
@type forward | |
@id http_input | |
port 24224 | |
</source> | |
## match tag=myapp.** and forward and write to file in local | |
<match jina.**> | |
@type elasticsearch | |
host 127.0.0.1 | |
port 9200 | |
logstash_format true | |
index_name fluentd.${tag}.%Y%m%d | |
</match> | |
<match jina.**> | |
@type file | |
path /tmp/jina-log | |
append true | |
<buffer> | |
@type file | |
flush_mode interval | |
flush_interval 1s | |
</buffer> | |
</match> | |
<match jina-profile.**> | |
@type file | |
path /tmp/jina-profile | |
append true | |
<buffer> | |
@type file | |
flush_mode interval | |
flush_interval 1s | |
</buffer> | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment