Created
May 30, 2018 13:06
-
-
Save mattjtodd/99824c21c63821def5daa73ac58fc7a3 to your computer and use it in GitHub Desktop.
FluentBit configuration for elastic JSON message output
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
[SERVICE] | |
Flush 1 | |
Daemon Off | |
Log_Level info | |
Parsers_File /fluent-bit/etc/parsers.conf | |
[INPUT] | |
Name forward | |
Listen 0.0.0.0 | |
Port 24224 | |
Chunk_Size 32 | |
Buffer_Size 64 | |
Parser docker | |
Tag docker | |
[FILTER] | |
Name parser | |
Match * | |
Key_Name log | |
Parser json | |
[OUTPUT] | |
Name es | |
Match * | |
Host elasticsearch | |
Include_Tag_Key On | |
Tag_Key tag | |
Port 9200 | |
Generate_ID On |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment