childe / gohangout

使用 golang 模仿的 Logstash。用于消费 Kafka 数据,处理后写入 ES、Clickhouse 等。
MIT License
1.01k stars 234 forks source link

UDP/TCP 添加 client IP 地址 #127

Closed childe closed 1 year ago

Yullin commented 3 years ago

Nice! 期待这个

Yullin commented 3 years ago

可以用add field方式来加吗?

childe commented 3 years ago

UDP 的已经添加了。 配置如下:

inputs:
    - UDP:
        address: 127.0.0.1:10000
        add_remote_addr: remote

outputs:
    - Stdout: {}