Skip to content

Instantly share code, notes, and snippets.

@baiyongzhen
Created August 14, 2021 23:18
Show Gist options
  • Save baiyongzhen/33073fd5a7ccf3dd832fe5c14d28d7f0 to your computer and use it in GitHub Desktop.
Save baiyongzhen/33073fd5a7ccf3dd832fe5c14d28d7f0 to your computer and use it in GitHub Desktop.
[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
[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