Hello,
I have 2 input fields like : time_val: 1 (any number) (dropdown)time_span: Hour/Day/Month (value:[h,d@d,@w0,@m] respectively)
I am trying to append these two fields and apply them to a date column in a dashboard. what I am trying :
eval Time_Diff="-".$time_val$.$time_span$
eval last_seen=relative_time(now(), Time_Diff )
What I want to achieve is similar to the below query:
eval last_seen=relative_time(now(), "-7d@d" )
Is there any way to achieve this? any help will be appreciated.
Regards,
Souradeep
... View more