_cat JSON format returning text


(David Broadhurst) #1

Docs claim I can use

curl 'localhost:9200/_cat/indices?format=json&pretty'

to get _cat formatted as JSON but I'm still getting text.


(David Broadhurst) #2

Pretty confusing but I tried some of the other formats which also didn't work and then suddenly YAML started to work and then JSON. Anyone else seen this issue?


(Mark Walkom) #3

Nope. If you can replicate it, please create an issue on Github!


(system) #4

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