Apr 04 2018
07:50 AM
- last edited on
Apr 07 2022
04:56 PM
by
TechCommunityAP
Apr 04 2018
07:50 AM
- last edited on
Apr 07 2022
04:56 PM
by
TechCommunityAP
Is there a way to select the Time Range programmatically (not via the drop down menu "Select Time Range") for which a stored function shall be executed ?
Even if the stored function specifies a Time Range in the query, when invoking it, the specified Time Range is not "recognized".
Example:
--- stored function "MyCountFunction" ---
Apr 08 2018 06:52 AM - edited Apr 08 2018 06:58 AM
Hi Emil,
You're right. This seems to be a bug in the UI, caused by the fact the time range is not explicitly found in the query text (makes sense when calling functions).
As a workaround, I suggest you add any mention of "TimeGenerated" in your query, such as:
call_to_function() | ... where TimeGenerated != ""
Apr 11 2018 08:19 AM
Solutionhi Noa,
thanks - you are right, the API call works perfectly, the bug only affects the UI.
The UI bug should not be a problem, the workaround you proposed solves it.
Thanks !
bye //emil.
Apr 11 2018 08:19 AM
Solutionhi Noa,
thanks - you are right, the API call works perfectly, the bug only affects the UI.
The UI bug should not be a problem, the workaround you proposed solves it.
Thanks !
bye //emil.