curl -X GET -u myuser:mypass "https://localhost:5601/api/alerting/rules/_find?pretty=true"
But I get the error
{"statusCode":400,"error":"Bad Request","message":"[request query.pretty]: definition for this key is missing"}
If I remove the ?pretty=true from my request, then everythign works fine. What is the option that I can pass to get pretty formatted json when working with kibana rest api?
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.