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 - is not date, it contains date

Working -
"query": {
"regexp": {
"": ".*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.