# Vega-lite / search context integration possible issue

**URL:** <https://discuss.elastic.co/t/vega-lite-search-context-integration-possible-issue/163236>\
**Category:** Kibana\
**Tags:** vega\
**Created:** [January 7, 2019, 3:50pm UTC](https://discuss.elastic.co/t/vega-lite-search-context-integration-possible-issue/163236 "2019-01-07T15:50:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![theflyingcarpet](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@theflyingcarpet](https://discuss.elastic.co/u/theflyingcarpet)\
**Post date:** [January 7, 2019, 3:50pm UTC](https://discuss.elastic.co/t/vega-lite-search-context-integration-possible-issue/163236/1 "2019-01-07T15:50:38Z")

</div>

I may have discovered a problem - well at least I seem to be suffering it. My vega visualization uses the %context% and %timefield% entries and generally works ok. The viz specifically follows the timefield and context filters if applied using the UI 'filter' buttons. However, the viz does not follow the manual search box entered filters if I change to the new advanced query syntax. It does work if I stick to the default old query syntax.  
BTW, my timefield is set to a different param than is the default for the index pattern the dashboard is using, but that still seems to work ok with the UI entered time filtering.  
ES & kibana versions are 6.3.  
Is this a bug?

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [January 7, 2019, 8:49pm UTC](https://discuss.elastic.co/t/vega-lite-search-context-integration-possible-issue/163236/2 "2019-01-07T20:49:30Z")

</div>

cc @nyuriks - can you please help here ?

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![nyuriks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nyuriks/32/26171_2.png) [@nyuriks](https://discuss.elastic.co/u/nyuriks)\
**Post date:** [January 7, 2019, 10:02pm UTC](https://discuss.elastic.co/t/vega-lite-search-context-integration-possible-issue/163236/3 "2019-01-07T22:02:32Z")

</div>

Hmm, it might actually be a bug - I haven't tested the new query syntax... In theory, it should work transparently. @rashmi do you think we can get a repo of this issue?

---

<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:** [February 4, 2019, 10:04pm UTC](https://discuss.elastic.co/t/vega-lite-search-context-integration-possible-issue/163236/4 "2019-02-04T22:04:32Z")

</div>

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