Javascript script to compute calculated field

2014-08-28 Thread Smitha Gowda
Hello, I have JavaScript plugin installed. I can use inline javascript for script property, but cannot reference a javascript file name similar to article. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-scripting.html I can put a groovy script in there and referen

Re: How to do sequence matching

2014-08-22 Thread Smitha Gowda
> What is the sequence AB , what is event here and what is last and first > event. > > Thanks >Vineeth > > > On Fri, Aug 22, 2014 at 8:16 AM, Smitha Gowda > wrote: > >> Thanks that will work. >> >> One more question related to Kibana to

Re: How to do sequence matching

2014-08-21 Thread Smitha Gowda
Thanks that will work. One more question related to Kibana to visualize this data. For a query that matches sequence "AB" Once I have all the matching documents I want to plot a bar chart with x-axis: Session StartTime (Day granularity) y-axis: Mean of (LastEvent.EndTime(In this example B) - Fir

How to do sequence matching

2014-08-20 Thread Smitha Gowda
Hello Elastic Search Experts, I have recently started to look at Elastic Search to answer my analytics questions. I am fairly new to ES query, so please excuse me if this a obvious question I have session data with events like below JSON. The Number of events and order can vary in each docum