Log Forward Server
Introduction¶
Logfwdserver will turn on the websocket function, which is used together with logfwd, and is responsible for receiving and processing the data sent by logfwd.
See here for the use of logfwd.
Configuration¶
Collector Configuration¶
Go to the conf.d/log
directory under the DataKit installation directory, copy logfwdserver.conf.sample
and name it logfwdserver.conf
. Examples are as follows:
[inputs.logfwdserver]
address = "0.0.0.0:9533"
[inputs.logfwdserver.tags]
# some_tag = "some_value"
# more_tag = "some_other_value"
Once configured, restart DataKit.
The collector can now be turned on by ConfigMap Injection Collector Configuration.