Re: Saved scripted metric aggregation in Elasticsearch and Kibana 4

2015-03-20 Thread Krzysztof Zarzycki
Hi, I'm also very interested in answer of Anna's question. 
I'll be grateful if anyone can help! 


W dniu środa, 26 listopada 2014 17:33:07 UTC+1 użytkownik Anna napisał:


 Hi Hendrik,

 thanks for your interest.

 I would like to approach the following use case:
 In Kibana 4, I would like to create data table containing a column with a 
 metric. Instead of a predefined metric (e.g., min, max, or average), I 
 would like to use a custom metric (i.e, a scripted metric) for computing a 
 value over sets of documents (i.e., buckets).

 From my point of view, there are two options to do this:
 (1) In Kibana's Data Table Visualization Menu, an option for copying the 
 code of the scripted metric could be included. This option might raise 
 security issues. 
 (2) The custom metric could be saved in Elasticsearch and in Kibana's Data 
 Table Visualization Menu an option for selecting this metric is included.

 Currently, these options seem not to be supported. Maybe I have missed an 
 option.

 Anna


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/98ef56b5-6524-4f9e-b028-917f789cccb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Saved scripted metric aggregation in Elasticsearch and Kibana 4

2014-11-26 Thread ann4beyer
Hi all,

I was wondering if it is possible to save a scripted metric aggregation in 
Elasticsearch and to use it in Kibana 4 as a metric in a Data Table.

Thanks in advance!

Anna

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b802fec5-6953-4c1d-a6a7-4987869d4a7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Saved scripted metric aggregation in Elasticsearch and Kibana 4

2014-11-26 Thread Hendrik Jander
Hi Anna,

can you please elaborate a bit ?

Hendrik

On Wednesday, November 26, 2014 2:19:14 PM UTC+1, Anna wrote:

 Hi all,

 I was wondering if it is possible to save a scripted metric aggregation in 
 Elasticsearch and to use it in Kibana 4 as a metric in a Data Table.

 Thanks in advance!

 Anna


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/becce34b-220c-4666-8dba-f827b168ee24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Saved scripted metric aggregation in Elasticsearch and Kibana 4

2014-11-26 Thread Anna

Hi Hendrik,

thanks for your interest.

I would like to approach the following use case:
In Kibana 4, I would like to create data table containing a column with a 
metric. Instead of a predefined metric (e.g., min, max, or average), I 
would like to use a custom metric (i.e, a scripted metric) for computing a 
value over sets of documents (i.e., buckets).

From my point of view, there are two options to do this:
(1) In Kibana's Data Table Visualization Menu, an option for copying the 
code of the scripted metric could be included. This option might raise 
security issues. 
(2) The custom metric could be saved in Elasticsearch and in Kibana's Data 
Table Visualization Menu an option for selecting this metric is included.

Currently, these options seem not to be supported. Maybe I have missed an 
option.

Anna

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a82b2e02-4d5a-4a92-9f32-60be42b17f2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.