Painless maxLoopCounter

(Tung) #1

Hi guys,

I'm trying to build funnel using scripted_metric aggregation.
I got the error "painless script loop maximum number of statements limit".
I have to iterate through large number of events to count and calculate "time_spent" between two steps.
I read The maxLoopCounter is 1M.
Is there any chance that I can set maxLoopCounter ?

(Phan Hong An) #2

You can modify this number and re-compile the source code :smiley:

(system) #3

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