Usage Stored Scripts in the Timelion query


Hi all,

I have a lot of docs and I would like to create visualization with Timelion. But basic tools doesn't give ability to calculate all conditions. Therefore I wrote a painless script which calculate necessary Dates List. In the past version (5.2) I used next query

.es( index='index', 
     timeFilter='( _exists_:failed_when_timestamps OR _exists_:blocked_when_timestamps )', 

Now this construction doesn't work.

I would like to take info about script and scriptType attributes. Internet search returned no results.

(Nick Peihl) #2

Can you please provide some sample documents from Elasticsearch that you use with this query?

(system) closed #3

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