[[inputs.tail]] no log

hi,
telegraf does not send the log!

[[inputs.tail]]
files = ["/var/log//.log"]
data_format = “influx”

thanks

This can have many reasons:

  • the files pattern matched to no log files
  • the format of the log files is not in the influx line protocol format
  • the connection to InfluxDB does not work in general

Is Telegraf spitting out an error? Please start with the --debug option.
If yes, please post the error message here.

Telegraf send, or ?

2021-03-16T13:58:10Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:“proxausfallserver”, Flush Interval:10s
2021-03-16T13:58:10Z D! [agent] Initializing plugins
2021-03-16T13:58:10Z D! [agent] Connecting outputs
2021-03-16T13:58:10Z D! [agent] Attempting connection to [outputs.influxdb]
2021-03-16T13:58:10Z D! [agent] Successfully connected to outputs.influxdb
2021-03-16T13:58:10Z D! [agent] Starting service inputs
2021-03-16T13:58:10Z D! [inputs.tail] Tail added for “/var/log/apt/history.log”
2021-03-16T13:58:10Z D! [inputs.tail] Tail added for “/var/log/apt/term.log”
2021-03-16T13:58:10Z D! [inputs.tail] Tail added for “/var/log/lxc/lxc-monitord.log”
2021-03-16T13:58:10Z D! [inputs.tail] Tail added for “/var/log/pveproxy/access.log”
2021-03-16T13:58:20Z D! [outputs.influxdb] Wrote batch of 110 metrics in 16.682318ms
2021-03-16T13:58:20Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2021-03-16T13:58:30Z D! [outputs.influxdb] Wrote batch of 147 metrics in 19.095268ms
2021-03-16T13:58:30Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2021-03-16T13:58:40Z D! [outputs.influxdb] Wrote batch of 147 metrics in 18.371464ms
2021-03-16T13:58:40Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2021-03-16T13:58:50Z D! [outputs.influxdb] Wrote batch of 147 metrics in 17.592046ms
2021-03-16T13:58:50Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2021-03-16T13:59:00Z D! [outputs.influxdb] Wrote batch of 147 metrics in 17.63875ms
2021-03-16T13:59:00Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2021-03-16T13:59:10Z D! [outputs.influxdb] Wrote batch of 147 metrics in 17.434918ms
2021-03-16T13:59:10Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2021-03-16T13:59:20Z D! [outputs.influxdb] Wrote batch of 147 metrics in 17.164696ms
2021-03-16T13:59:20Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2021-03-16T13:59:30Z D! [outputs.influxdb] Wrote batch of 147 metrics in 19.065246ms
2021-03-16T13:59:30Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2021-03-16T13:59:40Z D! [outputs.influxdb] Wrote batch of 147 metrics in 17.095505ms
2021-03-16T13:59:40Z D! [outputs.influxdb] Buffer fullness: 0 / 10000 metrics
2021-03-16T13:59:50Z D! [outputs.influxdb] Wrote batch of 147 metrics in 19.162282ms

where can i find the data under FROM and SELECT ?

Bildschirmfoto zu 2021-03-16 15-05-44