Hi,
Is there a way to get current date in Kibana (3.x) so as to use it in a query.
For eg: In the kibana dashboard, I would like to use a query something like,
"query":
"type : message : [$CURRENT_DATE] - Initialized database browser*"
Hi,
Is there a way to get current date in Kibana (3.x) so as to use it in a query.
For eg: In the kibana dashboard, I would like to use a query something like,
"query":
"type : message : [$CURRENT_DATE] - Initialized database browser*"
You can use a date range on a date field, but I don't think there is any way to do this by replacing a variable in a string. You'd probably have to use a scripted dashboard and calculate the right date that way.
© 2020. All Rights Reserved - Elasticsearch
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.