how can we use timefilter inside staticColumn value,but I am getting error - "[staticColumn] > [timefilter] > Can not cast 'datatable' to any of 'filter' "
The timefilter function can only be used to filter your dataset by a specific time range. It looks like you are trying to display the difference between your latest timestamp and now, is that correct?
No, I want to calculate count of some other column value for last 24hrs, which i am unable to get through in one "Elasticsearch SQL query" as a source,because of hard limit on row count
Include in your Lucene query or your SQL query something like : @buildTimestamp[now-1d TO now] or @timestamp[now-7d TO now], like for example:
SELECT COUNT(data.result) FROM "devops-jenkins**" WHERE QUERY('(app_code:9X00) AND (data.buildVariables.NODE_NAME:Agent_OS) @buildTimestamp[ now-7d TO now]') GROUP BY data.result ORDER BY data.result ASC LIMIT 2
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.