Timelion filter

I have created my timelion visualization using for month over month % of new users

.es(index=index,timefield=time,metric=cardinality:company)
.divide(.es(index=index,timefield=time,metric=cardinality:company,offset=-1M)
.cusum()).bars()

Is there any way to put filter directly into timelion expression, lets say sequence : 1,
which means the only the first orders, so that numbers are correct, otherwise it is not.
I know I can set the filter on the dashboard but i dont like that because it ruins my other stats.

Thanks

Hi @Tomaz_Bratanic,

you can specify a lucene query string as the q argument to .es() as in

.es(q=sequence:1,index=index,timefield=time,metric=cardinality:company)

That query string would only affect this time series and not interfere with the rest of your dashboard.

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