I have 2 index patterns that are named exactly the same. One of them must be deleted to reduce confusion. When I get the json of them (through dev tools), I can see slight differences between them. I want to back them up through dev tools or curl, before deleting them.
All of the examples I'm seeing for writing an index pattern through curl does not contain all the fields that I see in the json for the existing index patterns. What am I doing wrong here?