linux - 从 telegraf 到 influxdb 的输入没有测量结果

标签 linux devops influxdb telegraf

简而言之,这就是我的问题: 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/

相关文章:

go - 如何将 grafana 仪表板 json 复制到 ec2 实例?

linux - 使用 mysql2pgsql 从 mysql 传输到 postgres 时出现日期时间错误

python - debian python pip错误

python - 使用 awk/sed/bash 切割 python 输出

linux - 无法在 .bash_profile 中设置路径和来源

azure - 使用 for_each 引用资源实例

Influxdb下采样策略

database - InfluxDB 中的事务操作

linux - 如何使用运行此容器的同一用户为 docker 容器创建卷?

mysql - 维护实时远程 MySQL 数据库的本地只读副本的有效方法是什么?