# Quick example on Group By Filter for Time Series Visualization

**URL:** <https://discuss.elastic.co/t/quick-example-on-group-by-filter-for-time-series-visualization/88083>\
**Category:** Kibana\
**Created:** [June 2, 2017, 12:51pm UTC](https://discuss.elastic.co/t/quick-example-on-group-by-filter-for-time-series-visualization/88083 "2017-06-02T12:51:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jclose](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@jclose](https://discuss.elastic.co/u/jclose)\
**Post date:** [June 2, 2017, 12:51pm UTC](https://discuss.elastic.co/t/quick-example-on-group-by-filter-for-time-series-visualization/88083/1 "2017-06-02T12:51:48Z")

</div>

I'm trying to find a good example of how to use the Query String for the 'Group By Filter' in the Time Series Visual Builder.

Essentially, I'd like to Filter upon a basic Count aggregation, and utilize the Query String field, and do this a couple of times for different values.

I cannot find examples on syntax, or anything. If I wanted to Filter based upon a field having a value of '50', what would that look like in the Query String?

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [June 2, 2017, 1:01pm UTC](https://discuss.elastic.co/t/quick-example-on-group-by-filter-for-time-series-visualization/88083/2 "2017-06-02T13:01:30Z")

</div>

Hi,

TSVB (Time Series Visual Builder) uses Lucene query syntax.  
So this would be field\_name: 50

Here are our docs for Query syntax: [https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax)

Here is the first part of blog series which is going to explain TSVB: [https://www.elastic.co/blog/master-time-with-kibanas-new-time-series-visual-builder](https://www.elastic.co/blog/master-time-with-kibanas-new-time-series-visual-builder)

Cheers,  
Bhavya

---

<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 30, 2017, 1:01pm UTC](https://discuss.elastic.co/t/quick-example-on-group-by-filter-for-time-series-visualization/88083/3 "2017-06-30T13:01:36Z")

</div>

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