Kibana regexp current date script

In my visualize, i am using regexp by entering manual date but i would like to get current date using some scripts to make it automated. Any suggestions ?
filed - kafka.partition.topic.name is not date, it contains date abs.20190201.xyz

Working -
{
"query": {
"regexp": {
"kafka.partition.topic.name": ".*20190131"
}
}
}

Unless you're calling the query from a custom application/script, you cannot change it in Kibana to get the current date.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.