I'm complete newbie with Elasticsearch, so sorry for maybe simple questions:) My problem. I'm trying to retrieve index patterns via Kibana's REST API. I'm trying to use the following command:
curl -X GET "localhost:5601/api/saved_objects/_find?type=index-pattern" -H 'kbn-xsrf: true'
And the problem is that output is not formatted, it's hard to read such output. Is there any way to get formatted output? Thanks.