I'm building a form with a time picker, and the output should go to a timerange visualizer based on events grouped into transactions. I'm trying to include transactions on the chart which are evicted ( `keepevicted=true`)
I'm trying to achieve this with adding
| eval durationms = (if(closed_txn == 0, strptime($timerange.latest$, "%s") - strptime(_time, "%s"), duration) * 1000)
However `$timerange.latest$` may aquire really odd values, like `now`, which is not recognized by `strptime()`. So it is basically working with fixed time only.
Any suggestions?
↧