# Cannot get commands in timelion to work

**URL:** https://discuss.elastic.co/t/cannot-get-commands-in-timelion-to-work/86795
**Category:** Kibana
**Tags:** timelion
**Created:** [May 23, 2017, 10:31am UTC](https://discuss.elastic.co/t/cannot-get-commands-in-timelion-to-work/86795 "2017-05-23T10:31:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Darya\_Semenova](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@Darya\_Semenova](https://discuss.elastic.co/u/Darya_Semenova)
#### Post date: [May 23, 2017, 10:31am UTC](https://discuss.elastic.co/t/cannot-get-commands-in-timelion-to-work/86795/1 "2017-05-23T10:31:00Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![sureshboiina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sureshboiina/32/79183_2.png) [@sureshboiina](https://discuss.elastic.co/u/sureshboiina)
#### Post date: [May 26, 2017, 4:54am UTC](https://discuss.elastic.co/t/cannot-get-commands-in-timelion-to-work/86795/2 "2017-05-26T04:54:30Z")

</div>

Please check ur command q= missing parametrs

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 23, 2017, 4:55am UTC](https://discuss.elastic.co/t/cannot-get-commands-in-timelion-to-work/86795/3 "2017-06-23T04:55:01Z")

</div>

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