The issue is, on hitting the path that has been returned by the POST call, it returns JSON data. But I want the PDF to be downloaded and stored at a location.
JSON to PDF seems to be a lengthy process and there's no schema that is fixed for the pdf report json that we will get every time. And apparently it requires schema to be fixed for json to pdf conversion in spring boot.
So just to reiterate, downloading a report from Kibana is a two-steps process, minding that the first step triggers an async process that may need some time to deliver the report as detailed in the 503 (Service Unavailable) section.
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.