Timelion plugin error on execution


#1

Trying to use Timelion plugin inside kibana 4.5.2. Getting the below error. Could anyone help? Values are always coming as 0.

{"title":"TypeError: Cannot read property 'match' of undefined","message":"TypeError: Cannot read property 'match' of undefined","stack":"TypeError: Cannot read property 'match' of undefined\n at module.exports (/opt/kibana/installedPlugins/timelion/server/lib/to_milliseconds.js:27:19)\n at validateTime (/opt/kibana/installedPlugins/timelion/server/handlers/lib/validate_time.js:6:18)\n at Object.processRequest (/opt/kibana/installedPlugins/timelion/server/handlers/chain_runner.js:171:5)\n at handler (/opt/kibana/installedPlugins/timelion/server/routes/run.js:24:29)\n at Object.internals.handler (/opt/kibana/node_modules/hapi/lib/handler.js:93:36)\n at /opt/kibana/node_modules/hapi/lib/handler.js:28:23\n at [object Object].internals.Protect.run (/opt/kibana/node_modules/hapi/lib/protect.js:56:5)\n at exports.execute (/opt/kibana/node_modules/hapi/lib/handler.js:22:22)\n at /opt/kibana/node_modules/hapi/lib/request.js:370:13\n at iterate (/opt/kibana/node_modules/hapi/node_modules/items/lib/index.js:35:13)\n at done (/opt/kibana/node_modules/hapi/node_modules/items/lib/index.js:27:25)\n at /opt/kibana/node_modules/hapi/node_modules/hoek/lib/index.js:841:22\n at nextTickCallbackWith0Args (node.js:420:9)\n at process._tickDomainCallback (node.js:390:13)"}


(Peter Pisljar) #2

did you try to restart kibana ?


#3

yes I did. Also resolved the issue. :grinning: Changed timelion.json default value @timestamp to timestamp.


(system) #4