在编写脚本以将数据导入influxDB时出现错误。下面的代码创建了executeScript语法错误,似乎可以通过API发送代码。
test_measurement,inputType=json
aID="102185",cType="text",pub="2018-07-24
20:17:13Z",fetch="2018-07-24 16:17:23-04:00" 1532541609
在nifi ExecuteScript中插入了以下脚本,但它始终抛出以下错误:
Failed to process session due to javax.script.ScriptException: <eval> Missing space after numeric literal line = line + inputType="json" + " " + ",aID="2312321" + ",cType="text" + ",pub="2018-07-24 13:09:12" + ",fetch="2018-07-24 13:20:02" + " " + Date.now() * 1000000;
请任何帮助或想法。