I am generating a report from a dashboard but I have difficulties getting the from / to time right. I am calling the dashboard like this:
curl -k -XPOST -H "kbn-xsrf: reporting" 'http://kibana_url:5601/api/reporting/generate/dashboard/31af67a0-6af9-11e8-90f7-2d2084628dd6?_g=(time:(from:now-1d/d,to:now/d))'
But this results in a invalid this error:
Report — Invalid date to Invalid date
I want the report over yesterday, could someone point me in the right direction on how to accomplish this?
Thanks in advance.