If Telegraf is configured to obtain and write the following "value" field to an InfluxDB instance (currently V1.8):
SELECT * FROM foo ORDER BY TIME