# Kibana 3: display the number of items in a Text panel?

**URL:** https://discuss.elastic.co/t/kibana-3-display-the-number-of-items-in-a-text-panel/17901
**Category:** Elasticsearch
**Created:** [June 4, 2014, 9:10am UTC](https://discuss.elastic.co/t/kibana-3-display-the-number-of-items-in-a-text-panel/17901 "2014-06-04T09:10:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Nitsan\_Seniak](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@Nitsan\_Seniak](https://discuss.elastic.co/u/Nitsan_Seniak)
#### Post date: [June 4, 2014, 9:10am UTC](https://discuss.elastic.co/t/kibana-3-display-the-number-of-items-in-a-text-panel/17901/1 "2014-06-04T09:10:28Z")

</div>

Hello,

In a Kibana 3 Text panel, is it possible to display the number of lines?

My use case is that I want to display a table with unique IDs extracted  
from log entries, and display the number of these unique IDs.

Thanks,

-- Nitsan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)
#### Post date: [June 5, 2014, 6:18am UTC](https://discuss.elastic.co/t/kibana-3-display-the-number-of-items-in-a-text-panel/17901/2 "2014-06-05T06:18:45Z")

</div>

number of lines where? you can always show a Count facet that will count  
the number of results of a query

--

Itamar Syn-Hershko  
[http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
Freelance Developer & Consultant  
Author of RavenDB in Action [http://manning.com/synhershko/](http://manning.com/synhershko/)

On Wed, Jun 4, 2014 at 12:10 PM, Nitsan Seniak [nitsan@ccgenie.net](mailto:nitsan@ccgenie.net) wrote:

> Hello,
> 
> In a Kibana 3 Text panel, is it possible to display the number of lines?
> 
> My use case is that I want to display a table with unique IDs extracted  
> from log entries, and display the number of these unique IDs.
> 
> Thanks,
> 
> -- Nitsan
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvFuYc7VF1cReYNi-pqfRzSaoRB-3tC4pg7g5HE0GHVUA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvFuYc7VF1cReYNi-pqfRzSaoRB-3tC4pg7g5HE0GHVUA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Nitsan\_Seniak](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@Nitsan\_Seniak](https://discuss.elastic.co/u/Nitsan_Seniak)
#### Post date: [June 5, 2014, 7:15am UTC](https://discuss.elastic.co/t/kibana-3-display-the-number-of-items-in-a-text-panel/17901/3 "2014-06-05T07:15:25Z")

</div>

Here I'm looking for the number of distinct string values for a certain  
field. Say for instance that the log contains the following records:

{ ... "user\_id": "joe" ...}  
{ ... "user\_id": "mike" ...}  
{ ... "user\_id": "joe" ...}  
{ ... "user\_id": "sarah" ...}  
{ ... "user\_id": "sarah" ...}

I'd like to be able to display the count 3 for user\_id, because user\_id has  
three distinct values ("joe", "mike" and "sarah").

Using a Text panel I am able to _list_ these values in a table, but not to  
display their count (i.e., the number of rows in the table).

Hope this is clearer.

--  
Nitsan Seniak  
Co-founder | ccGenie  
+33 6 07 01 32 94  
ccGenie turns a mountain of emails into an organized project  
[www.ccgenie.com](http://www.ccgenie.com)

Follow us on Facebook [http://www.facebook.com/ccgenie](http://www.facebook.com/ccgenie) and Twitter  
[http://www.twitter.com/ccgenie](http://www.twitter.com/ccgenie)

On Thu, Jun 5, 2014 at 8:18 AM, Itamar Syn-Hershko [itamar@code972.com](mailto:itamar@code972.com)  
wrote:

> number of lines where? you can always show a Count facet that will count  
> the number of results of a query
> 
> --
> 
> Itamar Syn-Hershko  
> [http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
> Freelance Developer & Consultant  
> Author of RavenDB in Action [http://manning.com/synhershko/](http://manning.com/synhershko/)
> 
> On Wed, Jun 4, 2014 at 12:10 PM, Nitsan Seniak [nitsan@ccgenie.net](mailto:nitsan@ccgenie.net) wrote:
> 
> > Hello,
> > 
> > In a Kibana 3 Text panel, is it possible to display the number of lines?
> > 
> > My use case is that I want to display a table with unique IDs extracted  
> > from log entries, and display the number of these unique IDs.
> > 
> > Thanks,
> > 
> > -- Nitsan
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).
> > 
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/y7Rv9IZOReo/unsubscribe](https://groups.google.com/d/topic/elasticsearch/y7Rv9IZOReo/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvFuYc7VF1cReYNi-pqfRzSaoRB-3tC4pg7g5HE0GHVUA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvFuYc7VF1cReYNi-pqfRzSaoRB-3tC4pg7g5HE0GHVUA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvFuYc7VF1cReYNi-pqfRzSaoRB-3tC4pg7g5HE0GHVUA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvFuYc7VF1cReYNi-pqfRzSaoRB-3tC4pg7g5HE0GHVUA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAHW3H5gt-%2B%3DagE2-6nWE%3D5F0a9\_ayeVtJR4QsG3nqVGfDtQ\_%2BA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHW3H5gt-%2B%3DagE2-6nWE%3D5F0a9_ayeVtJR4QsG3nqVGfDtQ_%2BA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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: [July 6, 2017, 1:24am UTC](https://discuss.elastic.co/t/kibana-3-display-the-number-of-items-in-a-text-panel/17901/4 "2017-07-06T01:24:33Z")

</div>


