[ { "id": "f313a9a8.9fbb2", "type": "influxdb in", "z": "e55a49ba.fb6e6", "influxdb": "eb03f3e5.68c528", "name": "", "query": "", "rawOutput": false, "precision": "", "retentionPolicy": "", "org": "Clot", "x": 230, "y": 700, "wires": [ [ "52005726.bb67f" ] ] }, { "id": "52005726.bb67f", "type": "debug", "z": "e55a49ba.fb6e6", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "x": 230, "y": 800, "wires": [] }, { "id": "aaf8fbd2.52bc58", "type": "function", "z": "e55a49ba.fb6e6", "name": "set query", "func": "msg.query = 'from(bucket: \"api/v2/query\") |> range(start: -1d, stop: now())'\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 240, "y": 620, "wires": [ [ "f313a9a8.9fbb2" ] ] }, { "id": "b59900e9.fabc4", "type": "inject", "z": "e55a49ba.fb6e6", "name": "", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 100, "y": 620, "wires": [ [ "aaf8fbd2.52bc58" ] ] }, { "id": "eb03f3e5.68c528", "type": "influxdb", "z": "", "hostname": "127.0.0.1", "port": "8086", "protocol": "http", "database": "database", "name": "", "usetls": false, "tls": "", "influxdbVersion": "2.0", "url": "http://localhost:8086", "rejectUnauthorized": true } ]