Created
August 14, 2021 06:17
-
-
Save baiyongzhen/e04f339d75c942bcc01051de4154b6a7 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
[SERVICE] | |
flush 1 | |
log_Level info | |
daemon off | |
parsers_File parsers.conf | |
http_server on | |
http_listen 0.0.0.0 | |
http_port 2020 | |
storage.metrics on | |
[INPUT] | |
Name forward | |
Listen 0.0.0.0 | |
Port 24224 | |
Buffer_Chunk_Size 1M | |
Buffer_Max_Size 6M | |
[FILTER] | |
Name parser | |
Match * | |
Key_Name log | |
Parser nginx | |
Reserve_Data true | |
[OUTPUT] | |
Name stdout | |
Match * | |
[OUTPUT] | |
name es | |
match * | |
host 192.168.56.180 | |
port 9200 | |
logstash_format on | |
replace_dots on | |
retry_limit false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment