Implement experimental timeseries query API

This commit is contained in:
emanuele-f 2018-06-26 11:59:39 +02:00
parent 5f461dfbd3
commit 84c32d499b
11 changed files with 442 additions and 140 deletions

View file

@ -266,7 +266,7 @@ function callback_utils.uploadTSdata()
-- Delete the file after POST
local delete_file_after_post = true
ret = ntop.postHTTPTextFile("", "", url, fname, delete_file_after_post)
ret = ntop.postHTTPTextFile("", "", url .. "/write?db=ntopng", fname, delete_file_after_post)
--print(fname .. "\n")
if(ret ~= true) then