简而言之,这就是我的问题:
https://github.com/influxdata/telegraf/issues/4399
我看到没有答案,但我也有答案。
这些是访问日志中的日志。请帮我
192.168.0.122 - - [18/Oct/2018:13:13:40 +0300] "GET /server-status HTTP/1.1" 200 4598 "-" "Go-http-client/1.1"
192.168.0.122 - - [18/Oct/2018:13:13:50 +0300] "GET /server-status HTTP/1.1" 200 4598 "-" "Go-http-client/1.1"
192.168.0.122 - - [18/Oct/2018:13:14:00 +0300] "GET /server-status HTTP/1.1" 200 4598 "-" "Go-http-client/1.1"
192.168.0.122 - - [18/Oct/2018:13:14:10 +0300] "GET /server-status HTTP/1.1" 200 4598 "-" "Go-http-client/1.1"
192.168.0.122 - - [18/Oct/2018:13:14:20 +0300] "GET /server-status HTTP/1.1" 200 4596 "-" "Go-http-client/1.1"
192.168.0.122 - - [18/Oct/2018:13:14:30 +0300] "GET /server-status HTTP/1.1" 200 4598 "-" "Go-http-client/1.1"
192.168.0.122 - - [18/Oct/2018:13:14:40 +0300] "GET /server-status HTTP/1.1" 200 4598 "-" "Go-http-client/1.1"
192.168.0.122 - - [18/Oct/2018:13:14:50 +0300] "GET /server-status HTTP/1.1" 200 4598 "-" "Go-http-client/1.1"
192.168.0.122 - - [18/Oct/2018:13:15:00 +0300] "GET /server-status HTTP/1.1" 200 4598 "-" "Go-http-client/1.1"
192.168.0.122 - - [18/Oct/2018:13:15:10 +0300] "GET /server-status HTTP/1.1" 200 4598 "-" "Go-http-client/1.1
最佳答案
该问题已通过更改Telegraf服务的系统权限得到解决。
另外,telegraf不会通知它无法读取访问日志。
关于linux - 从telegraf到influxdb的输入均无测量,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/52871823/