# Help with Query to Summarize Data

**URL:** https://discuss.elastic.co/t/help-with-query-to-summarize-data/114991
**Category:** Kibana
**Created:** [January 11, 2018, 2:49am UTC](https://discuss.elastic.co/t/help-with-query-to-summarize-data/114991 "2018-01-11T02:49:39Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![thelonestargeek](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@thelonestargeek](https://discuss.elastic.co/u/thelonestargeek)
#### Post date: [January 11, 2018, 2:49am UTC](https://discuss.elastic.co/t/help-with-query-to-summarize-data/114991/1 "2018-01-11T02:49:40Z")

</div>

I'm trying to summarize some data in kibana. If writing in Splunk it would be something like index=network\_data stats count by log\_type and output would like discrete values in the log\_type field. How can I do this in kibana?

---

<div class="post-metadata">

### Author: ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)
#### Post date: [January 12, 2018, 12:15am UTC](https://discuss.elastic.co/t/help-with-query-to-summarize-data/114991/2 "2018-01-12T00:15:20Z")

</div>

Hi Christina, have you tried our Data Table visualization in the Visualize app? Does this look like what you're trying to do?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e7afe2ee18397a7f7b95401beaa737a88a3dad8a.png)

Thanks,  
CJ

---

<div class="post-metadata">

### Author: ![thelonestargeek](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@thelonestargeek](https://discuss.elastic.co/u/thelonestargeek)
#### Post date: [January 12, 2018, 4:25am UTC](https://discuss.elastic.co/t/help-with-query-to-summarize-data/114991/3 "2018-01-12T04:25:45Z")

</div>

Yes, is there any way to natively query or do I need to built visualizations each time?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [January 12, 2018, 4:35am UTC](https://discuss.elastic.co/t/help-with-query-to-summarize-data/114991/4 "2018-01-12T04:35:24Z")

</div>

That is a native query, we do things a little different than Splunk 🙂

Otherwise you can look at something like Timelion, but the method above is the best one.

---

<div class="post-metadata">

### Author: ![thelonestargeek](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@thelonestargeek](https://discuss.elastic.co/u/thelonestargeek)
#### Post date: [February 7, 2018, 3:09am UTC](https://discuss.elastic.co/t/help-with-query-to-summarize-data/114991/5 "2018-02-07T03:09:00Z")

</div>

Yes thanks I'll work on building out visualizations

---

<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: [March 7, 2018, 3:09am UTC](https://discuss.elastic.co/t/help-with-query-to-summarize-data/114991/6 "2018-03-07T03:09:09Z")

</div>

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