When I execute curl host IP:9200/_nodes?filter_path=**.bootstrap, it returns with the following:
{"nodes":{"idI_aGgSRpuwcFXfQ2UrUA":{"settings":{"bootstrap":{"memory_lock":"true"}}}}}
How can I pretty-print it?
When I execute curl host IP:9200/_nodes?filter_path=**.bootstrap, it returns with the following:
{"nodes":{"idI_aGgSRpuwcFXfQ2UrUA":{"settings":{"bootstrap":{"memory_lock":"true"}}}}}
How can I pretty-print it?
curl host IP:9200/_nodes?filter_path=**.bootstrap&pretty
should do it.
It returns that bash: pretty: command not found...
curl host "IP:9200/_nodes?filter_path=**.bootstrap&pretty"
- needs quotes.
yes! Thank you!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.