Influx Retention Policy - Resolved

Hi,

I’m successfully exporting data to influx from iotawatt. When attempting to use a retention policy, iotawatt appears to stop sending data to the influxdb server. There are no errors in the message log.

I’m using simply the retention policy name - do i need to fully qualify it somehow with the database name?

Cheers
Alex

Can you post a shot of your status display with the influxDB tab expanded while this is happening?

Here is the influx status. The last update looks correct (and increments ~= 15 seconds) - but no data makes it into my influx db. If i remove the retention policy - data flows through correctly.

Understand the scope of support is understandably likely limited to the iotawatt side of my system, but attached the retention policy description from influx also

Cheers
Alex

Apologies - i’ve tracked down the problem.

The method i was using to determine the latest entry in the database from iotawatt was a simple select statement on the measurement. Upon further review of the influx documentation - you need to qualify the query with the retention policy to retrieve the data associated with it - once i modified my select statement i could see the latest data.

Cheers
Alex

1 Like