# How to pass urlparam value to KQL

**URL:** <https://discuss.elastic.co/t/how-to-pass-urlparam-value-to-kql/279172>\
**Category:** Kibana\
**Created:** [July 20, 2021, 1:45pm UTC](https://discuss.elastic.co/t/how-to-pass-urlparam-value-to-kql/279172 "2021-07-20T13:45:32Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tangkalo](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@tangkalo](https://discuss.elastic.co/u/tangkalo)\
**Post date:** [July 20, 2021, 3:54pm UTC](https://discuss.elastic.co/t/how-to-pass-urlparam-value-to-kql/279172/7 "2021-07-20T15:54:07Z")

</div>

Hi, Wylie. Do yo mean removing the whole line on line 3 or just the pipe |?

I am afraid I don't really understand how var\_set and var works according to the documentation below.

> **[Canvas function reference | Kibana Guide \[7.12\] | Elastic](https://www.elastic.co/guide/en/kibana/7.12/canvas-function-reference.html#var_set_fn)**

I also found examples of them here - [How to create a new line on a kibana canvas table - #6 by wylie](https://discuss.elastic.co/t/how-to-create-a-new-line-on-a-kibana-canvas-table/248179/6) .

---

_[View the full topic](https://discuss.elastic.co/t/how-to-pass-urlparam-value-to-kql/279172)._
