iLogtail
service_input_example 可作为编写ServiceInput类插件的参考示例样例,可以在指定端口接收模拟HTTP请求。源代码
service_input_example
ServiceInput
Stable
:19000
enable: trueinputs: - Type: service_input_exampleflushers: - Type: flusher_stdout OnlyStdout: true
curl --header "test:val123" http://127.0.0.1:19000/data
{ "test":"val123", "__time__":"1658495321"}