Skip to content
Snippets Groups Projects
Unverified Commit 99f5ecd6 authored by Zexi Li's avatar Zexi Li Committed by GitHub
Browse files

Merge pull request #14421 from zexi/telegraf-1.19.2-conf

fix(host): Telegraf 1.19.2 conf
parents dbd94a12 d061c10c
No related branches found
No related tags found
No related merge requests found
......@@ -176,8 +176,11 @@ func (s *STelegraf) GetConfig(kwargs map[string]interface{}) string {
conf += "[[inputs.internal]]\n"
conf += " collect_memstats = false\n"
conf += "\n"
conf += "[[inputs.http_listener]]\n"
conf += "[[inputs.http_listener_v2]]\n"
conf += " service_address = \"127.0.0.1:8087\"\n"
conf += " path = \"/write\"\n"
conf += " data_source = \"body\"\n"
conf += " data_format = \"influx\"\n"
conf += "\n"
return conf
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment