Dashboard time range

Hi All,

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.

Hi @pjanzen,

What version of Kibana/ES are you using?

Hi Chris,

I am using 6.2.4 for Kibana and ES.

Paul.

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