Cannot get commands in timelion to work


(Darya Semenova) #1

Hello,
I started to learn how to use Timelion (recently Kibana was updated), and for some reason no commands in it seem to work.

I tried those examples:
.es(q=, index="logstash-*", split="syslog_pid.keyword:2")
.derivative()

And I got the following messages:

For the first command:

Timelion: SyntaxError: {"type":"incompleteFunction","function":"es","location":{"min":1,"max":4},"text":".es"}

SyntaxError: {"type":"incompleteFunction","function":"es","location":{"min":1,"max":4},"text":".es"}

at peg$buildException (eval at compile (/usr/share/kibana/node_modules/pegjs/lib/compiler.js:1:0), <anonymous>:363:14)
at error (eval at compile (/usr/share/kibana/node_modules/pegjs/lib/compiler.js:1:0), <anonymous>:221:13)
at peg$c28 (eval at compile (/usr/share/kibana/node_modules/pegjs/lib/compiler.js:1:0), <anonymous>:120:11)
at peg$parsefunction (eval at compile (/usr/share/kibana/node_modules/pegjs/lib/compiler.js:1:0), <anonymous>:836:18)
at peg$parsechain (eval at compile (/usr/share/kibana/node_modules/pegjs/lib/compiler.js:1:0), <anonymous>:931:12)
at peg$parseseries_type (eval at compile (/usr/share/kibana/node_modules/pegjs/lib/compiler.js:1:0), <anonymous>:630:18)
at peg$parseseries (eval at compile (/usr/share/kibana/node_modules/pegjs/lib/compiler.js:1:0), <anonymous>:645:12)
at peg$parsestart (eval at compile (/usr/share/kibana/node_modules/pegjs/lib/compiler.js:1:0), <anonymous>:376:12)
at Object.peg$parse [as parse] (eval at compile (/usr/share/kibana/node_modules/pegjs/lib/compiler.js:1:0), <anonymous>:1390:18)
at /usr/share/kibana/src/core_plugins/timelion/server/handlers/lib/parse_sheet.js:28:21
at arrayMap (/usr/share/kibana/node_modules/lodash/index.js:1406:25)
at Function.map (/usr/share/kibana/node_modules/lodash/index.js:6710:14)
at parseSheet (/usr/share/kibana/src/core_plugins/timelion/server/handlers/lib/parse_sheet.js:26:27)
at Object.processRequest (/usr/share/kibana/src/core_plugins/timelion/server/handlers/chain_runner.js:204:39)
at /usr/share/kibana/src/core_plugins/timelion/server/routes/run.js:41:66
at next (native)
at step (/usr/share/kibana/src/core_plugins/timelion/server/routes/run.js:17:202)
at /usr/share/kibana/src/core_plugins/timelion/server/routes/run.js:17:383
at bound (domain.js:280:14)
at runBound (domain.js:293:12)
at tryCatcher (/usr/share/kibana/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/usr/share/kibana/node_modules/bluebird/js/main/promise.js:503:31)
at Promise._settlePromiseAt (/usr/share/kibana/node_modules/bluebird/js/main/promise.js:577:18)

And for the second one:

Timelion: Error: in cell #1: Cannot read property 'type' of undefined

Error: in cell #1: Cannot read property 'type' of undefined

at throwWithCell (/usr/share/kibana/src/core_plugins/timelion/server/handlers/chain_runner.js:45:11)
at /usr/share/kibana/src/core_plugins/timelion/server/handlers/chain_runner.js:211:11
at bound (domain.js:280:14)
at runBound (domain.js:293:12)
at tryCatcher (/usr/share/kibana/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/usr/share/kibana/node_modules/bluebird/js/main/promise.js:503:31)
at Promise._settlePromiseAt (/usr/share/kibana/node_modules/bluebird/js/main/promise.js:577:18)
at Promise._settlePromises (/usr/share/kibana/node_modules/bluebird/js/main/promise.js:693:14)
at Async._drainQueue (/usr/share/kibana/node_modules/bluebird/js/main/async.js:123:16)
at Async._drainQueues (/usr/share/kibana/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues (/usr/share/kibana/node_modules/bluebird/js/main/async.js:15:14)
at runCallback (timers.js:666:20)
at tryOnImmediate (timers.js:639:5)
at processImmediate [as _immediateCallback] (timers.js:611:5)

What could be the reason?


(suresh) #2

Please check ur command q= missing parametrs


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.