# Timelion null

**URL:** https://discuss.elastic.co/t/timelion-null/92182
**Category:** Kibana
**Tags:** timelion
**Created:** [July 7, 2017, 12:10am UTC](https://discuss.elastic.co/t/timelion-null/92182 "2017-07-07T00:10:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![beckyb8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/beckyb8/32/19831_2.png) [@beckyb8](https://discuss.elastic.co/u/beckyb8)
#### Post date: [July 7, 2017, 12:10am UTC](https://discuss.elastic.co/t/timelion-null/92182/1 "2017-07-07T00:10:01Z")

</div>

When I plug this in to Timelion, I get a nifty graph:

```auto
.es(index=vision-*, 'avg:cacheFetch.99thPercentile').derivative()

```

However, when I add `kibana=true`:

```auto
.es(index=vision-*, kibana=true, 'avg:cacheFetch.99thPercentile').derivative()

```

I get a nasty error:

```auto
Error
Timelion: Error: in cell #1: [parsing_exception] Unexpected token VALUE_NULL [size] in [avg]., with { line=1 col=312 }

```

Is this expected behavior?

---

<div class="post-metadata">

### Author: ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)
#### Post date: [July 7, 2017, 5:39pm UTC](https://discuss.elastic.co/t/timelion-null/92182/2 "2017-07-07T17:39:30Z")

</div>

hi @beckyb8,

can you add the metric identifier before the metric-parameter?

ie.:

```auto
 .es(index=vision-*, kibana=true, metric='avg:cacheFetch.99thPercentile').derivative()

```

---

<div class="post-metadata">

### Author: ![beckyb8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/beckyb8/32/19831_2.png) [@beckyb8](https://discuss.elastic.co/u/beckyb8)
#### Post date: [July 7, 2017, 6:36pm UTC](https://discuss.elastic.co/t/timelion-null/92182/3 "2017-07-07T18:36:46Z")

</div>

@thomasneirynck Thanks, for suggesting an ordering issue. I used the following, and it worked flawlessly.

```auto
.es(index=vision-*, 'avg:cacheFetch.99thPercentile', kibana=true).derivative()

```

As a follow-up, is there an order-based protocol I should be aware of?

---

<div class="post-metadata">

### Author: ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)
#### Post date: [July 7, 2017, 7:00pm UTC](https://discuss.elastic.co/t/timelion-null/92182/4 "2017-07-07T19:00:38Z")

</div>

hi @beckyb8,

There are some conveniences in the API for common use-cases (e.g. metric), but they aren't documented. So I wouldn't rely on it, and use named parameters instead.

---

<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: [August 4, 2017, 7:00pm UTC](https://discuss.elastic.co/t/timelion-null/92182/5 "2017-08-04T19:00:38Z")

</div>

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