Json_time_format - Error

HI,
I’m having a problem sending the data_format via telegraph.

My file.json:

{
“list_database_tenants”: [
{
“date_creation”: “2020-03-09T20:28:26Z”
},

My inputs telegraf:

[agent]
debug = true
[[outputs.influxdb]]
urls = [“localhost”]
database = “DB_monitor”

[[inputs.file]]
files = ["/export/dba.json"]
data_format = “json”
json_query = “list_database_tenants”
json_time_key= “date_creation”
json_time_format = “2006-01-02T15:04:05Z07:00”

but I’m getting the error:

2020-06-17T14:42:00Z W! [outputs.influxdb] When writing to [localhost]: received error partial write: points beyond retention policy dropped=72

This means the timestamp was old enough that it was immediately removed due to your retention policy. It’s more of a warning than an error, but you can check out the duration of your retention policy in InfluxDB if your aren’t expecting values from March to be dropped.

1 Like