Para a utilização do Agente https://fluentbit.io/ recebendo dados da integração [LogClient] .
O fluxo abaixo exemplifica bem o processo:

editar o arquivo:
/etc/td-agent-bit/td-agent-bit.conf
E acrescentar essas regras:
[SERVICE]
flush 5
daemon Off
log_level info
parsers_file parsers.conf
plugins_file plugins.conf
http_server On
http_listen 0.0.0.0
http_port 2020
storage.metrics on
storage.path /tmp/storage
storage.sync normal
storage.checksum on
storage.backlog.mem_limit 1G
[INPUT]
Name tcp
Listen 0.0.0.0
Port 5140
Tag udp.logs
Format none
Buffer_Size 256KB
[FILTER]
Name lua
Match udp.logs
script /etc/td-agent-bit/processa_log.lua
call parse_logmsg
[OUTPUT]
name http
match udp.logs
host <url>
port 443
uri /ProtheusProduction.logs
format json
tls On
tls.verify On
http_User <user>
http_Passwd <password>
Retry_Limit 5
net.connect_timeout 15s
net.keepalive true
net.keepalive_idle_timeout 60s
workers 4
compress gzip
|