I am trying to write to influx through telegraf by send common line protocol entries via UDP, but I see no data points added to my measurement.
I have verified that the database exists in influx:
I can see telegraf send the messages:
2017-06-09T12:50:37Z D! Output [influxdb] wrote batch of 11 metrics in 579.782s
And I can see the POST received in influx:
[httpd] 127.0.0.1 - - [09/Jun/2017:08:50:37 -0400] “POST /write?consistency=any&db=dvaAPI&rp=rp_1 HTTP/1.1” 204 0 “-” “-” 3c35f741-4d12-11e7-8eab-000000000000 128
But the measurement, videoMetrics, is empty. If I try to add one of the data points manually, I do see the data:
insert videoMetrics,flowid=54,programNum=1,pid=4131 black=0,still=39,MOS=0.00,fesErrs=0,gopLen=12,pts=3407982291 1497012224
select * from videoMetrics
time MOS black fesErrs flowid gopLen pid programNum pts still
1497012224 0 0 0 54 12 4131 1 3.407982291e+09 39
I have turned on trace logging in the influx config file:
Trace logging provides more verbose output around the tsm engine. Turning
this on can provide more useful output for debugging tsm engine issues.
trace-logging-enabled = true
But I don’t see any detail that explains why the POST/write from telegraf is failing. Any suggestions on how I might debug the failure?