Open faxm0dem opened 2 days ago
If I add a dummy param like this:
(defn now*
"Sets the time of events to right now"
[_ _ & children]
(fn stream [event]
(let [current-time (quot (System/currentTimeMillis) 1000)
modevent (assoc event :time current-time)]
(a/call-rescue modevent children))))
And use it like this:
(streams
(stream {:name :now :default true}
(custom :now [0] (index [:host :service]))))
It works...
I tried adding a cusom action without any parameters:
When I try to use it with the following stream:
I get the following error message: