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


(Nitsan Seniak) #1

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/79d81d20-dc99-45b7-9480-9318e0837777%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Itamar Syn-Hershko) #2

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 | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Author of RavenDB in Action http://manning.com/synhershko/

On Wed, Jun 4, 2014 at 12:10 PM, Nitsan Seniak 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.
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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZvFuYc7VF1cReYNi-pqfRzSaoRB-3tC4pg7g5HE0GHVUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Nitsan Seniak) #3

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

Follow us on Facebook http://www.facebook.com/ccgenie and Twitter
http://www.twitter.com/ccgenie

On Thu, Jun 5, 2014 at 8:18 AM, Itamar Syn-Hershko 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 | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Author of RavenDB in Action http://manning.com/synhershko/

On Wed, Jun 4, 2014 at 12:10 PM, Nitsan Seniak 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.

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?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To unsubscribe from this group and all its topics, send an email to
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?utm_medium=email&utm_source=footer
.

For more options, visit 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.
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.
For more options, visit https://groups.google.com/d/optout.


(system) #4